Expand license header (#48)

This commit is contained in:
Jaco Greeff
2018-01-15 21:48:22 +01:00
committed by GitHub
parent f49ff7ba3f
commit 671314f91d
37 changed files with 111 additions and 37 deletions
+3 -1
View File
@@ -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';
+3 -1
View File
@@ -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');
+3 -1
View File
@@ -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') {
@@ -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;
+3 -1
View File
@@ -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');
+3 -1
View File
@@ -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';
@@ -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');
+3 -1
View File
@@ -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 = {
+3 -1
View File
@@ -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';
+3 -1
View File
@@ -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');
+3 -1
View File
@@ -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') {
@@ -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;
+3 -1
View File
@@ -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');
+3 -1
View File
@@ -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');