diff --git a/packages/api-format/src/echo.js b/packages/api-format/src/echo.js index ae4f31b093..588a43592c 100644 --- a/packages/api-format/src/echo.js +++ b/packages/api-format/src/echo.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow module.exports = function echo (value: mixed): mixed { diff --git a/packages/api-format/src/echo.spec.js b/packages/api-format/src/echo.spec.js index 1fafe3cac3..13b193e12e 100644 --- a/packages/api-format/src/echo.spec.js +++ b/packages/api-format/src/echo.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const echo = require('./echo'); diff --git a/packages/api-format/src/index.js b/packages/api-format/src/index.js index 64f8419fa3..6481ce80e2 100644 --- a/packages/api-format/src/index.js +++ b/packages/api-format/src/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow const formatInputs = require('./input'); diff --git a/packages/api-format/src/input.js b/packages/api-format/src/input.js index f07bb8c23d..5414ed7b6f 100644 --- a/packages/api-format/src/input.js +++ b/packages/api-format/src/input.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceInputType } from '@polkadot/api-jsonrpc/types'; diff --git a/packages/api-format/src/input.spec.js b/packages/api-format/src/input.spec.js index 733914beb9..bb014b1809 100644 --- a/packages/api-format/src/input.spec.js +++ b/packages/api-format/src/input.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const { formatInputs } = require('./index'); diff --git a/packages/api-format/src/output.js b/packages/api-format/src/output.js index 9c62588d73..7085471a91 100644 --- a/packages/api-format/src/output.js +++ b/packages/api-format/src/output.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceOutputType } from '@polkadot/api-jsonrpc/types'; diff --git a/packages/api-format/src/output.spec.js b/packages/api-format/src/output.spec.js index f3ae05ca3e..4b088fc391 100644 --- a/packages/api-format/src/output.spec.js +++ b/packages/api-format/src/output.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const BN = require('bn.js'); diff --git a/packages/api-format/src/types.js b/packages/api-format/src/types.js index 99dd36cc6a..7a352ffa9d 100644 --- a/packages/api-format/src/types.js +++ b/packages/api-format/src/types.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow // flowlint-next-line unclear-type:off diff --git a/packages/api-format/src/util.js b/packages/api-format/src/util.js index 7d43359843..2776d34cca 100644 --- a/packages/api-format/src/util.js +++ b/packages/api-format/src/util.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { FormatInputType, FormatOutputType } from '@polkadot/api-jsonrpc/types'; diff --git a/packages/api-format/src/util.spec.js b/packages/api-format/src/util.spec.js index 913199437f..c6b24edd3b 100644 --- a/packages/api-format/src/util.spec.js +++ b/packages/api-format/src/util.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const { format, formatArray } = require('./util'); const echo = require('./echo'); diff --git a/packages/api-jsonrpc/src/chain/getHeader.js b/packages/api-jsonrpc/src/chain/getHeader.js index f143db9b10..8959eac715 100644 --- a/packages/api-jsonrpc/src/chain/getHeader.js +++ b/packages/api-jsonrpc/src/chain/getHeader.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceMethodDefinition } from '../types'; diff --git a/packages/api-jsonrpc/src/chain/index.js b/packages/api-jsonrpc/src/chain/index.js index 56b583c755..536612c911 100644 --- a/packages/api-jsonrpc/src/chain/index.js +++ b/packages/api-jsonrpc/src/chain/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceDefinition } from '../types'; diff --git a/packages/api-jsonrpc/src/index.js b/packages/api-jsonrpc/src/index.js index 16ffed5deb..66676bda6b 100644 --- a/packages/api-jsonrpc/src/index.js +++ b/packages/api-jsonrpc/src/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceDefinition } from './types'; diff --git a/packages/api-jsonrpc/src/index.spec.js b/packages/api-jsonrpc/src/index.spec.js index bffe5f0ba3..da53892328 100644 --- a/packages/api-jsonrpc/src/index.spec.js +++ b/packages/api-jsonrpc/src/index.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const interfaces = require('./index'); diff --git a/packages/api-jsonrpc/src/state/call.js b/packages/api-jsonrpc/src/state/call.js index d37493f5fe..d001033a75 100644 --- a/packages/api-jsonrpc/src/state/call.js +++ b/packages/api-jsonrpc/src/state/call.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceMethodDefinition } from '../types'; diff --git a/packages/api-jsonrpc/src/state/getStorage.js b/packages/api-jsonrpc/src/state/getStorage.js index abe9b6aa5d..cf1d51a7e7 100644 --- a/packages/api-jsonrpc/src/state/getStorage.js +++ b/packages/api-jsonrpc/src/state/getStorage.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceMethodDefinition } from '../types'; diff --git a/packages/api-jsonrpc/src/state/index.js b/packages/api-jsonrpc/src/state/index.js index 7e9bfefa9c..c1ac896a7e 100644 --- a/packages/api-jsonrpc/src/state/index.js +++ b/packages/api-jsonrpc/src/state/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { InterfaceDefinition } from '../types'; diff --git a/packages/api-jsonrpc/src/types.js b/packages/api-jsonrpc/src/types.js index 7053e9bc27..8fcd269da6 100644 --- a/packages/api-jsonrpc/src/types.js +++ b/packages/api-jsonrpc/src/types.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow export type FormatInputType = 'Address' | 'CallData' | 'H256' | 'HeaderHash' | 'String'; diff --git a/packages/api-provider/src/http/index.js b/packages/api-provider/src/http/index.js index 9afaac71a3..5ccb322c00 100644 --- a/packages/api-provider/src/http/index.js +++ b/packages/api-provider/src/http/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { ProviderInterface } from '../types'; diff --git a/packages/api-provider/src/http/index.spec.js b/packages/api-provider/src/http/index.spec.js index 53f392b73d..449d606507 100644 --- a/packages/api-provider/src/http/index.spec.js +++ b/packages/api-provider/src/http/index.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const { mockHttp, TEST_HTTP_URL } = require('../../test/mockHttp'); diff --git a/packages/api-provider/src/http/polyfill.js b/packages/api-provider/src/http/polyfill.js index 7aad39cd58..93fb505b38 100644 --- a/packages/api-provider/src/http/polyfill.js +++ b/packages/api-provider/src/http/polyfill.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow if (typeof fetch === 'undefined') { diff --git a/packages/api-provider/src/http/polyfill.spec.js b/packages/api-provider/src/http/polyfill.spec.js index 658cb412cb..8769d35b4c 100644 --- a/packages/api-provider/src/http/polyfill.spec.js +++ b/packages/api-provider/src/http/polyfill.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. describe('http/polyfill', () => { let origFetch; diff --git a/packages/api-provider/src/index.js b/packages/api-provider/src/index.js index 1becb6d0ed..da9abc9f86 100644 --- a/packages/api-provider/src/index.js +++ b/packages/api-provider/src/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow const Http = require('./http'); diff --git a/packages/api-provider/src/jsonRpcCoder.js b/packages/api-provider/src/jsonRpcCoder.js index 6bea3390ad..00227a698e 100644 --- a/packages/api-provider/src/jsonRpcCoder.js +++ b/packages/api-provider/src/jsonRpcCoder.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { JsonRpcRequest, JsonRpcResponse } from './types'; diff --git a/packages/api-provider/src/jsonRpcCoder.spec.js b/packages/api-provider/src/jsonRpcCoder.spec.js index cc243892b9..6366c79ac1 100644 --- a/packages/api-provider/src/jsonRpcCoder.spec.js +++ b/packages/api-provider/src/jsonRpcCoder.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const JsonRpcCoder = require('./jsonRpcCoder'); diff --git a/packages/api-provider/src/types.js b/packages/api-provider/src/types.js index 03c19fdf62..13b7f85037 100644 --- a/packages/api-provider/src/types.js +++ b/packages/api-provider/src/types.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow export type JsonRpcObject = { diff --git a/packages/api-provider/src/ws/index.js b/packages/api-provider/src/ws/index.js index 737fd715f4..086b36c045 100644 --- a/packages/api-provider/src/ws/index.js +++ b/packages/api-provider/src/ws/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { JsonRpcResponse, ProviderInterface } from '../types'; diff --git a/packages/api-provider/src/ws/index.spec.js b/packages/api-provider/src/ws/index.spec.js index c5d685bec9..46eddca2d6 100644 --- a/packages/api-provider/src/ws/index.spec.js +++ b/packages/api-provider/src/ws/index.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const { mockWs, TEST_WS_URL } = require('../../test/mockWs'); diff --git a/packages/api-provider/src/ws/polyfill.js b/packages/api-provider/src/ws/polyfill.js index 9441a6815f..aa52660640 100644 --- a/packages/api-provider/src/ws/polyfill.js +++ b/packages/api-provider/src/ws/polyfill.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow if (typeof WebSocket === 'undefined') { diff --git a/packages/api-provider/src/ws/polyfill.spec.js b/packages/api-provider/src/ws/polyfill.spec.js index 6cdbfad590..5cda8be042 100644 --- a/packages/api-provider/src/ws/polyfill.spec.js +++ b/packages/api-provider/src/ws/polyfill.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. describe('ws/polyfill', () => { let origWs; diff --git a/packages/api-provider/test/mockHttp.js b/packages/api-provider/test/mockHttp.js index 6fff14a4f6..31aea34984 100644 --- a/packages/api-provider/test/mockHttp.js +++ b/packages/api-provider/test/mockHttp.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const nock = require('nock'); diff --git a/packages/api-provider/test/mockWs.js b/packages/api-provider/test/mockWs.js index cbd8748beb..f60e3bb74b 100644 --- a/packages/api-provider/test/mockWs.js +++ b/packages/api-provider/test/mockWs.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const { Server } = require('mock-socket'); diff --git a/packages/api/src/api.js b/packages/api/src/api.js index 93420e4d27..cbf0de46b4 100644 --- a/packages/api/src/api.js +++ b/packages/api/src/api.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow import type { ProviderInterface } from '@polkadot/api-provider/types'; diff --git a/packages/api/src/api.spec.js b/packages/api/src/api.spec.js index d5aed7211a..fb27ccbc6f 100644 --- a/packages/api/src/api.spec.js +++ b/packages/api/src/api.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const isFunction = require('@polkadot/util/is/function'); diff --git a/packages/api/src/index.js b/packages/api/src/index.js index 22e2d76962..7e99e8bab0 100644 --- a/packages/api/src/index.js +++ b/packages/api/src/index.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow const Api = require('./api'); diff --git a/packages/api/src/index.spec.js b/packages/api/src/index.spec.js index 55223ad24b..8055e1c769 100644 --- a/packages/api/src/index.spec.js +++ b/packages/api/src/index.spec.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. const Api = require('./index'); diff --git a/packages/api/src/types.js b/packages/api/src/types.js index fe05d5f06a..cd18f8c826 100644 --- a/packages/api/src/types.js +++ b/packages/api/src/types.js @@ -1,4 +1,6 @@ -// ISC, Copyright 2017-2018 Jaco Greeff +// Copyright 2017-2018 Jaco Greeff +// This software may be modified and distributed under the terms +// of the ISC license. See the LICENSE file for details. // @flow export type ApiInterface$Section = {