Skip to content

Commit

Permalink
Update dependencies, fix test imports, require node 10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Aug 24, 2018
1 parent c670186 commit 53a912f
Show file tree
Hide file tree
Showing 15 changed files with 108 additions and 160 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "10.6"
- "10.7"
cache:
yarn: true
directories:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"version": "0.13.8",
"private": true,
"engines": {
"node": "^10.6.0",
"node": "^10.7.0",
"yarn": "^1.3.2"
},
"workspaces": [
Expand Down
14 changes: 7 additions & 7 deletions packages/client-chains/package.json
Expand Up @@ -32,16 +32,16 @@
"@polkadot/client-db-chain": "^0.15.0",
"@polkadot/client-runtime": "^0.15.0",
"@polkadot/client-wasm": "^0.15.0",
"@polkadot/storage": "^0.28.20",
"@polkadot/util": "^0.28.6",
"@polkadot/util-crypto": "^0.28.6",
"@polkadot/util-keyring": "^0.28.6"
"@polkadot/storage": "^0.28.22",
"@polkadot/util": "^0.28.7",
"@polkadot/util-crypto": "^0.28.7",
"@polkadot/util-keyring": "^0.28.7"
},
"devDependencies": {
"@polkadot/client": "^0.15.0",
"@polkadot/client-db": "^0.15.0",
"@polkadot/extrinsics": "^0.28.20",
"@polkadot/primitives": "^0.28.20",
"@polkadot/storage": "^0.28.20"
"@polkadot/extrinsics": "^0.28.22",
"@polkadot/primitives": "^0.28.22",
"@polkadot/storage": "^0.28.22"
}
}
10 changes: 5 additions & 5 deletions packages/client-db-chain/package.json
Expand Up @@ -30,12 +30,12 @@
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/client-db": "^0.15.0",
"@polkadot/storage": "^0.28.20",
"@polkadot/trie-hash": "^0.28.6",
"@polkadot/util": "^0.28.6",
"@polkadot/util-crypto": "^0.28.6"
"@polkadot/storage": "^0.28.22",
"@polkadot/trie-hash": "^0.28.7",
"@polkadot/util": "^0.28.7",
"@polkadot/util-crypto": "^0.28.7"
},
"devDependencies": {
"@polkadot/storage": "^0.28.20"
"@polkadot/storage": "^0.28.22"
}
}
6 changes: 3 additions & 3 deletions packages/client-db/package.json
Expand Up @@ -30,9 +30,9 @@
"homepage": "https://github.com/polkadot-js/client/tree/master/packages/client-db#readme",
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/db-diskdown": "^0.28.6",
"@polkadot/trie-db": "^0.28.6",
"@polkadot/util": "^0.28.6",
"@polkadot/db-diskdown": "^0.28.7",
"@polkadot/trie-db": "^0.28.7",
"@polkadot/util": "^0.28.7",
"@types/mkdirp": "^0.5.2",
"mkdirp": "^0.5.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/client-p2p-messages/package.json
Expand Up @@ -30,8 +30,8 @@
"homepage": "https://github.com/polkadot-js/client/tree/master/packages/client-p2p-messages#readme",
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/jsonrpc": "^0.28.20",
"@polkadot/primitives": "^0.28.20",
"@polkadot/util": "^0.28.6"
"@polkadot/jsonrpc": "^0.28.22",
"@polkadot/primitives": "^0.28.22",
"@polkadot/util": "^0.28.7"
}
}
4 changes: 2 additions & 2 deletions packages/client-p2p/package.json
Expand Up @@ -31,8 +31,8 @@
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/client-p2p-messages": "^0.15.0",
"@polkadot/primitives": "^0.28.20",
"@polkadot/util": "^0.28.6",
"@polkadot/primitives": "^0.28.22",
"@polkadot/util": "^0.28.7",
"eventemitter3": "^3.1.0",
"libp2p": "^0.23.1",
"libp2p-bootstrap": "^0.9.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/client-p2p/src/create/modules.spec.js
Expand Up @@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.

import Railing from 'libp2p-railing';
import Bootstrap from 'libp2p-bootstrap';
import PeerInfo from 'peer-info';

import isInstanceOf from '@polkadot/util/is/instanceOf';
Expand All @@ -24,7 +24,7 @@ describe.skip('createModules', () => {
createConfig(
peerInfo, ['/ip4/127.0.0.1/tcp/6677']
).discovery[1],
Railing
Bootstrap
)
).toEqual(true);
});
Expand Down
6 changes: 3 additions & 3 deletions packages/client-rpc-handlers/package.json
Expand Up @@ -26,8 +26,8 @@
"homepage": "https://github.com/polkadot-js/client/tree/master/packages/client-rpc-handlers#readme",
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/jsonrpc": "^0.28.20",
"@polkadot/primitives": "^0.28.20",
"@polkadot/util": "^0.28.6"
"@polkadot/jsonrpc": "^0.28.22",
"@polkadot/primitives": "^0.28.22",
"@polkadot/util": "^0.28.7"
}
}
4 changes: 2 additions & 2 deletions packages/client-rpc/package.json
Expand Up @@ -29,13 +29,13 @@
},
"homepage": "https://github.com/polkadot-js/client/tree/master/packages/client-rpc#readme",
"devDependencies": {
"@polkadot/api-provider": "^0.28.20",
"@polkadot/api-provider": "^0.28.22",
"@polkadot/client": "^0.15.0"
},
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/client-rpc-handlers": "^0.15.0",
"@polkadot/util": "^0.28.6",
"@polkadot/util": "^0.28.7",
"@types/co-body": "^0.0.3",
"@types/koa": "^2.0.46",
"@types/koa-route": "^3.2.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/client-runtime/package.json
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/client-db": "^0.15.0",
"@polkadot/util": "^0.28.6",
"@polkadot/util-crypto": "^0.28.6"
"@polkadot/util": "^0.28.7",
"@polkadot/util-crypto": "^0.28.7"
}
}
2 changes: 1 addition & 1 deletion packages/client-telemetry/package.json
Expand Up @@ -30,7 +30,7 @@
"homepage": "https://github.com/polkadot-js/client/tree/master/packages/client-telemetry#readme",
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/util": "^0.28.6",
"@polkadot/util": "^0.28.7",
"websocket": "^1.0.26"
}
}
4 changes: 2 additions & 2 deletions packages/client-wasm/package.json
Expand Up @@ -31,8 +31,8 @@
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/client-runtime": "^0.15.0",
"@polkadot/primitives": "^0.28.20",
"@polkadot/util": "^0.28.6",
"@polkadot/primitives": "^0.28.22",
"@polkadot/util": "^0.28.7",
"@types/webassembly-js-api": "^0.0.1"
}
}
6 changes: 3 additions & 3 deletions packages/client/package.json
Expand Up @@ -39,9 +39,9 @@
"@polkadot/client-rpc": "^0.15.0",
"@polkadot/client-telemetry": "^0.15.0",
"@polkadot/client-wasm": "^0.15.0",
"@polkadot/jsonrpc": "^0.28.20",
"@polkadot/primitives": "^0.28.20",
"@polkadot/util": "^0.28.6",
"@polkadot/jsonrpc": "^0.28.22",
"@polkadot/primitives": "^0.28.22",
"@polkadot/util": "^0.28.7",
"@types/package-json": "^4.0.1",
"@types/semver-compare": "^1.0.0",
"@types/yargs": "^11.1.1",
Expand Down

0 comments on commit 53a912f

Please sign in to comment.