diff --git a/packages/api-format/src/echo.js b/packages/api-format/src/echo.js index ae4f31b09336..588a43592c43 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 1fafe3cac3db..13b193e12e12 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 64f8419fa3b5..6481ce80e2b5 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 f07bb8c23d18..5414ed7b6f52 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 733914beb9f7..bb014b1809d9 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 9c62588d7358..7085471a91db 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 f3ae05ca3eff..4b088fc39182 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 99dd36cc6acc..7a352ffa9d14 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 7d4335984382..2776d34cca90 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 913199437f3b..c6b24edd3b1a 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 f143db9b10be..8959eac71538 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 56b583c7552b..536612c91172 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 16ffed5deb9a..66676bda6b77 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 bffe5f0ba3d2..da53892328f3 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 d37493f5febd..d001033a7539 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 abe9b6aa5d9a..cf1d51a7e7ce 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 7e9bfefa9ca6..c1ac896a7eba 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 7053e9bc278b..8fcd269da6fb 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 9afaac71a301..5ccb322c001d 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 53f392b73ddb..449d606507ec 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 7aad39cd58f5..93fb505b386b 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 658cb412cb6a..8769d35b4c15 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 1becb6d0ed71..da9abc9f86de 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 6bea3390ad03..00227a698e42 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 cc243892b9d9..6366c79ac191 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 03c19fdf62b8..13b7f850379c 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 737fd715f497..086b36c045f9 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 c5d685bec90e..46eddca2d683 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 9441a6815f9d..aa5266064032 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 6cdbfad590c8..5cda8be04211 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 6fff14a4f60c..31aea349845d 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 cbd8748bebef..f60e3bb74b43 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 93420e4d2775..cbf0de46b44c 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 d5aed7211a96..fb27ccbc6fa6 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 22e2d7696230..7e99e8bab079 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 55223ad24baf..8055e1c769bd 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 fe05d5f06a0f..cd18f8c82612 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 = {