Skip to content
Merged

2018 #47

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License (ISC)

Copyright 2017 Jaco Greeff <jacogr@gmail.com>
Copyright 2017-2018 Jaco Greeff <jacogr@gmail.com>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License (ISC)

Copyright 2017 Jaco Greeff <jacogr@gmail.com>
Copyright 2017-2018 Jaco Greeff <jacogr@gmail.com>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/echo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

module.exports = function echo (value: mixed): mixed {
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/echo.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const echo = require('./echo');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

const formatInputs = require('./input');
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/input.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceInputType } from '@polkadot/api-jsonrpc/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/input.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const { formatInputs } = require('./index');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/output.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceOutputType } from '@polkadot/api-jsonrpc/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/output.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const BN = require('bn.js');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

// flowlint-next-line unclear-type:off
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/util.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { FormatInputType, FormatOutputType } from '@polkadot/api-jsonrpc/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-format/src/util.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const { format, formatArray } = require('./util');
const echo = require('./echo');
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License (ISC)

Copyright 2017 Jaco Greeff <jacogr@gmail.com>
Copyright 2017-2018 Jaco Greeff <jacogr@gmail.com>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/chain/getHeader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceMethodDefinition } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/chain/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceDefinition } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceDefinition } from './types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const interfaces = require('./index');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/state/call.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceMethodDefinition } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/state/getStorage.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceMethodDefinition } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/state/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { InterfaceDefinition } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-jsonrpc/src/types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

export type FormatInputType = 'Address' | 'CallData' | 'H256' | 'HeaderHash' | 'String';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License (ISC)

Copyright 2017 Jaco Greeff <jacogr@gmail.com>
Copyright 2017-2018 Jaco Greeff <jacogr@gmail.com>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/http/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { ProviderInterface } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/http/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const { mockHttp, TEST_HTTP_URL } = require('../../test/mockHttp');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/http/polyfill.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

if (typeof fetch === 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/http/polyfill.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

describe('http/polyfill', () => {
let origFetch;
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

const Http = require('./http');
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/jsonRpcCoder.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { JsonRpcRequest, JsonRpcResponse } from './types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/jsonRpcCoder.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const JsonRpcCoder = require('./jsonRpcCoder');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

export type JsonRpcObject = {
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/ws/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { JsonRpcResponse, ProviderInterface } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/ws/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const { mockWs, TEST_WS_URL } = require('../../test/mockWs');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/ws/polyfill.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

if (typeof WebSocket === 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/src/ws/polyfill.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

describe('ws/polyfill', () => {
let origWs;
Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/test/mockHttp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const nock = require('nock');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-provider/test/mockWs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const { Server } = require('mock-socket');

Expand Down
2 changes: 1 addition & 1 deletion packages/api/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License (ISC)

Copyright 2017 Jaco Greeff <jacogr@gmail.com>
Copyright 2017-2018 Jaco Greeff <jacogr@gmail.com>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/api.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

import type { ProviderInterface } from '@polkadot/api-provider/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/api.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const isFunction = require('@polkadot/util/is/function');

Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

const Api = require('./api');
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff

const Api = require('./index');

Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ISC, Copyright 2017 Jaco Greeff
// ISC, Copyright 2017-2018 Jaco Greeff
// @flow

export type ApiInterface$Section = {
Expand Down