diff --git a/README.md b/README.md index f0fb8cb422..f296978dcf 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,23 @@ In addition the following libraries are also included in the repo. These are to - [ui-react](packages/ui-react) A collection of base React components - [ui-react-rx](packages/ui-react-rx) Base components that use the RxJS Observable APIs -## Application +## development -For development purposes, after changing to a supported version of Node.js (>= 8.9.0) and installing relevant dependencies with `yarn install`, start a [Polkadot Node on your local machine that connects to the global PoC-1 Testnet](https://github.com/paritytech/polkadot) and specify a WebSockets RPC server TCP port of 8081 to accept connections from the apps entry point (i.e. `polkadot --chain=poc-1 --ws-port=8081`), the apps entry point can be launched with a WebSocket connection to Polkadot PoC-1 with `WS_URL=wss://poc-1.polkadot.io:9944 yarn run start` and accessing the application of [http://localhost:3000](http://localhost:3000) +Contributions are welcome! -## Demos +To start off, this repo (along with others in the [@polkadot](https://github.com/polkadot-js/) family) uses yarn workspaces to organise the code. As such, after cloning dependencies _should_ be installed via `yarn`, not via npm, the latter will result in broken dependencies. + +To get started - + +1. Clone the repo locally, via `git clone https://github.com/polkadot-js/apps ` +2. Ensure that you have a recent version of `node.js`, for development purposes [Node 10](https://nodejs.org/en/) is recommended. +3. Install the dependencies via `yarn` (If you don't have yarn available, install via [options for your environment](https://yarnpkg.com/en/docs/install)) +4. Ready! Now you can launch the UI (assuming you have a local Polkadot Node running), via `yarn run start` +5. Access the UI via [http://localhost:3000](http://localhost:3000) + +Alternatively, should you not have a local Node, you can connect to a remote node (POC-1 network, although not fully up-to-date with features) with the `WS_URL` parameter. For eample - the apps entry point can be launched with a WebSocket connection to Polkadot PoC-1 with `WS_URL=wss://poc-1.polkadot.io:9944 yarn run start` and accessing the application of [http://localhost:3000](http://localhost:3000) + +## demos Demos for the different libraries can be viewed with `yarn run demo:` and then browsing to [http://localhost:3000](http://localhost:3000). Available demo - diff --git a/package.json b/package.json index dcd88e36fb..9c60549e64 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test": "jest --coverage" }, "devDependencies": { - "@polkadot/dev-react": "^0.19.11", + "@polkadot/dev-react": "^0.19.23", "gh-pages": "^1.1.0" } } diff --git a/packages/app-explorer/package.json b/packages/app-explorer/package.json index 8b6351b9e8..b2564fea9a 100644 --- a/packages/app-explorer/package.json +++ b/packages/app-explorer/package.json @@ -12,9 +12,9 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.47", - "@polkadot/primitives-codec": "^0.17.7", - "@polkadot/primitives-json": "^0.17.7", + "@polkadot/primitives-codec": "^0.17.21", + "@polkadot/primitives-json": "^0.17.21", "@polkadot/ui-app": "^0.17.6", - "@polkadot/util-crypto": "^0.22.2" + "@polkadot/util-crypto": "^0.22.7" } } diff --git a/packages/app-extrinsics/package.json b/packages/app-extrinsics/package.json index 842cdc4061..b247eabb2b 100644 --- a/packages/app-extrinsics/package.json +++ b/packages/app-extrinsics/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.47", - "@polkadot/extrinsics-codec": "^0.17.7", + "@polkadot/extrinsics-codec": "^0.17.21", "@polkadot/ui-app": "^0.17.6", "@polkadot/ui-signer": "^0.17.6", "react-dropzone": "^4.2.9" diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index 79da230f9e..3c931628a9 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.47", - "@polkadot/extrinsics": "^0.17.7", - "@polkadot/storage": "^0.17.7", + "@polkadot/extrinsics": "^0.17.21", + "@polkadot/storage": "^0.17.21", "@polkadot/ui-keyring": "^0.17.6", "@polkadot/ui-react": "^0.17.6", "@polkadot/ui-react-rx": "^0.17.6", diff --git a/packages/ui-app/src/Params/initValue.js b/packages/ui-app/src/Params/initValue.js index c97b436e47..289f0cda94 100644 --- a/packages/ui-app/src/Params/initValue.js +++ b/packages/ui-app/src/Params/initValue.js @@ -17,9 +17,10 @@ export default function getInitValue (type: Param$Types): RawParam$Values { case 'BlockNumber': case 'Index': - case 'SessionKey': + case 'ParachainId': case 'PropIndex': case 'ReferendumIndex': + case 'SessionKey': case 'u32': case 'u64': case 'u128': @@ -41,6 +42,7 @@ export default function getInitValue (type: Param$Types): RawParam$Values { case 'AccountId': case 'Bytes': case 'Call': + case 'CandidateReceipt': case 'Code': case 'Digest': case 'Hash': diff --git a/packages/ui-identicon/package.json b/packages/ui-identicon/package.json index f017ad5864..d0da089a80 100644 --- a/packages/ui-identicon/package.json +++ b/packages/ui-identicon/package.json @@ -15,7 +15,7 @@ "color": "^3.0.0" }, "devDependencies": { - "@polkadot/util-crypto": "^0.22.2", + "@polkadot/util-crypto": "^0.22.7", "xmlserializer": "^0.6.1" } } diff --git a/packages/ui-identicon/src/colors.spec.js b/packages/ui-identicon/src/colors.spec.js index d1d9e09eef..18a2abba43 100644 --- a/packages/ui-identicon/src/colors.spec.js +++ b/packages/ui-identicon/src/colors.spec.js @@ -31,4 +31,18 @@ describe('colors', () => { colors() ).not.toEqual('hsla(166.70000000000005, 98.6%, 27.6%, 0.9)'); }); + + it('works in edge conditions (0xff)', () => { + const u8a = new Uint8Array(32); + + u8a.fill(255); + + expect( + colors = newColors(newSeeder(u8a)) + ).not.toThrow(); + + expect( + colors() + ).toEqual('hsla(234.39999999999998, 75.9%, 51.2%, 0.9)'); + }); }); diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 70340fc5c1..285f82d1c1 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -13,7 +13,7 @@ "dependencies": { "@babel/runtime": "^7.0.0-beta.47", "@polkadot/ui-react": "^0.17.6", - "@polkadot/util-keyring": "^0.22.2", + "@polkadot/util-keyring": "^0.22.7", "store": "^2.0.12" }, "peerDependencies": { diff --git a/packages/ui-react-rx/package.json b/packages/ui-react-rx/package.json index 5326614a69..1ae27b2201 100644 --- a/packages/ui-react-rx/package.json +++ b/packages/ui-react-rx/package.json @@ -32,9 +32,9 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.47", - "@polkadot/api-rx": "^0.13.4", - "@polkadot/extrinsics-codec": "^0.17.7", - "@polkadot/storage": "^0.17.7", + "@polkadot/api-rx": "^0.13.5", + "@polkadot/extrinsics-codec": "^0.17.21", + "@polkadot/storage": "^0.17.21", "semver": "^5.5.0" }, "devDependencies": { diff --git a/packages/ui-react-rx/src/Api.js b/packages/ui-react-rx/src/Api.js index 61fe2cb884..23cb65f201 100644 --- a/packages/ui-react-rx/src/Api.js +++ b/packages/ui-react-rx/src/Api.js @@ -5,7 +5,7 @@ import type { ProviderInterface } from '@polkadot/api-provider/types'; import type { RxApiInterface } from '@polkadot/api-rx/types'; -import type { EncodingVersions } from '@polkadot/extrinsics-codec/types'; +import type { EncodingVersions } from '@polkadot/params/types'; import type { ApiProps } from './types'; import React from 'react'; diff --git a/packages/ui-react-rx/src/types.js b/packages/ui-react-rx/src/types.js index b198ba75b8..aa040b274b 100644 --- a/packages/ui-react-rx/src/types.js +++ b/packages/ui-react-rx/src/types.js @@ -5,7 +5,7 @@ import type { ProviderInterface } from '@polkadot/api-provider/types'; import type { RxApiInterface } from '@polkadot/api-rx/types'; -import type { EncodingVersions } from '@polkadot/extrinsics-codec/types'; +import type { EncodingVersions } from '@polkadot/params/types'; import type { Storage$Key$Values } from '@polkadot/storage/types'; export type BareProps = { diff --git a/packages/ui-react/package.json b/packages/ui-react/package.json index 7d02dac07f..a33f7b6c26 100644 --- a/packages/ui-react/package.json +++ b/packages/ui-react/package.json @@ -15,7 +15,7 @@ "@polkadot/ui-identicon": "^0.17.6" }, "devDependencies": { - "@polkadot/util-keyring": "^0.22.2", + "@polkadot/util-keyring": "^0.22.7", "babel-loader": "^8.0.0-beta.2", "css-loader": "0.28.9", "empty": "^0.10.1", diff --git a/packages/ui-signer/package.json b/packages/ui-signer/package.json index 6cd8cd313a..db6cbcc516 100644 --- a/packages/ui-signer/package.json +++ b/packages/ui-signer/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.47", - "@polkadot/extrinsics": "^0.17.7", + "@polkadot/extrinsics": "^0.17.21", "@polkadot/ui-app": "^0.17.6", "@polkadot/ui-keyring": "^0.17.6" }, diff --git a/packages/ui-signer/src/sign.js b/packages/ui-signer/src/sign.js index 6daf0b33d6..b449e70720 100644 --- a/packages/ui-signer/src/sign.js +++ b/packages/ui-signer/src/sign.js @@ -4,7 +4,7 @@ // @flow import type BN from 'bn.js'; -import type { EncodingVersions } from '@polkadot/extrinsics-codec/types'; +import type { EncodingVersions } from '@polkadot/params/types'; import type { Signed } from './types'; import encodeCall from '@polkadot/extrinsics-codec/encode/call'; @@ -13,8 +13,6 @@ import u8aConcat from '@polkadot/util/u8a/concat'; import u8aToHex from '@polkadot/util/u8a/toHex'; export default function signMessage (publicKey: Uint8Array, nonce: BN | number, value: Uint8Array, apiSupport: EncodingVersions): Signed { - console.log('signMessage : support ::', apiSupport); - const message = encodeCall(publicKey, nonce, value, apiSupport); const signature = keyring.getPair(publicKey).sign(message); diff --git a/yarn.lock b/yarn.lock index 98b0ca4798..f9953dbe3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -719,56 +719,56 @@ version "1.0.2" resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.0.2.tgz#d056b68999769728a1cff8d643bc59eb6f0be436" -"@polkadot/api-format@^0.13.4": - version "0.13.4" - resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.13.4.tgz#92dec2c82d4f4d5ef5f8d3736956f54b47f0342c" +"@polkadot/api-format@^0.13.5": + version "0.13.5" + resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.13.5.tgz#47a444c8f26ebf8d4fbeac7c376444b43cd9baed" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/jsonrpc" "^0.17.7" - "@polkadot/primitives-json" "^0.17.7" - "@polkadot/util" "^0.22.2" - "@polkadot/util-keyring" "^0.22.2" + "@polkadot/jsonrpc" "^0.17.21" + "@polkadot/primitives-json" "^0.17.21" + "@polkadot/util" "^0.22.7" + "@polkadot/util-keyring" "^0.22.7" -"@polkadot/api-provider@^0.13.4": - version "0.13.4" - resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.13.4.tgz#a927ca3309dc612eda972ca6e00b16d650db104d" +"@polkadot/api-provider@^0.13.5": + version "0.13.5" + resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.13.5.tgz#349a0b68cac899c57a5d4c0adafeaf9ded426298" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/storage" "^0.17.7" - "@polkadot/util" "^0.22.2" - "@polkadot/util-crypto" "^0.22.2" - "@polkadot/util-keyring" "^0.22.2" + "@polkadot/storage" "^0.17.21" + "@polkadot/util" "^0.22.7" + "@polkadot/util-crypto" "^0.22.7" + "@polkadot/util-keyring" "^0.22.7" eventemitter3 "^2.0.3" isomorphic-fetch "^2.2.1" websocket "^1.0.25" -"@polkadot/api-rx@^0.13.4": - version "0.13.4" - resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.13.4.tgz#4fefaf618c3647f5bd7894f2bd9ac65eb797062e" +"@polkadot/api-rx@^0.13.5": + version "0.13.5" + resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.13.5.tgz#0d031bc8aee4f225614e1740e3426033e5e8dfbc" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/api" "^0.13.4" - "@polkadot/api-provider" "^0.13.4" + "@polkadot/api" "^0.13.5" + "@polkadot/api-provider" "^0.13.5" rxjs "^5.5.10" -"@polkadot/api@^0.13.4": - version "0.13.4" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.13.4.tgz#dcced4295dd2eddcbfb6c0e5e09e295595ae19ad" +"@polkadot/api@^0.13.5": + version "0.13.5" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.13.5.tgz#c819eb2754a29b62112476ee2fa836ef3f2701f2" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/api-format" "^0.13.4" - "@polkadot/api-provider" "^0.13.4" - "@polkadot/jsonrpc" "^0.17.7" - "@polkadot/params" "^0.17.7" - "@polkadot/util" "^0.22.2" + "@polkadot/api-format" "^0.13.5" + "@polkadot/api-provider" "^0.13.5" + "@polkadot/jsonrpc" "^0.17.21" + "@polkadot/params" "^0.17.21" + "@polkadot/util" "^0.22.7" -"@polkadot/dev-react@^0.19.11": - version "0.19.11" - resolved "https://registry.yarnpkg.com/@polkadot/dev-react/-/dev-react-0.19.11.tgz#a6cac10d482209cfb439d9c901e7a147aa2653d7" +"@polkadot/dev-react@^0.19.23": + version "0.19.23" + resolved "https://registry.yarnpkg.com/@polkadot/dev-react/-/dev-react-0.19.23.tgz#777cc52b3e70f1e4324331f9ab46753ba6159d51" dependencies: "@babel/core" "^7.0.0-beta.47" "@babel/preset-react" "^7.0.0-beta.47" - "@polkadot/dev" "^0.19.11" + "@polkadot/dev" "^0.19.23" browserslist "^3.2.7" eslint "^4.19.1" eslint-config-standard-jsx "^5.0.0" @@ -781,9 +781,9 @@ webpack-cli "^2.1.3" webpack-serve "^1.0.2" -"@polkadot/dev@^0.19.11": - version "0.19.11" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.19.11.tgz#fec82f52b92959e2ce166972ee8b2f84d42e7360" +"@polkadot/dev@^0.19.23": + version "0.19.23" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.19.23.tgz#cf00087f7d7fbaec47fe44afe3f1eaa6da14af13" dependencies: "@babel/cli" "^7.0.0-beta.47" "@babel/core" "^7.0.0-beta.47" @@ -809,7 +809,7 @@ eslint-plugin-node "^6.0.1" eslint-plugin-promise "^3.7.0" eslint-plugin-standard "^3.0.1" - flow-bin "^0.72.0" + flow-bin "^0.73.0" flow-copy-source "^1.3.0" jest "^22.4.3" lerna "^2.11.0" @@ -817,98 +817,100 @@ mkdirp "^0.5.1" rimraf "^2.6.2" -"@polkadot/extrinsics-codec@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics-codec/-/extrinsics-codec-0.17.7.tgz#4c058b8feb14437bfd6191c71fa0a34d9191dfb7" +"@polkadot/extrinsics-codec@^0.17.21": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics-codec/-/extrinsics-codec-0.17.21.tgz#1fec1186a7a067159dd5c829e6da536956c799fe" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/extrinsics" "^0.17.7" - "@polkadot/params" "^0.17.7" - "@polkadot/util" "^0.22.2" + "@polkadot/extrinsics" "^0.17.21" + "@polkadot/params" "^0.17.21" + "@polkadot/util" "^0.22.7" + "@polkadot/util-keyring" "^0.22.7" bn.js "^4.11.8" -"@polkadot/extrinsics@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.17.7.tgz#6a8823f63bab87e4a13e7bd9b4b52a3b79b24b3f" +"@polkadot/extrinsics@^0.17.21": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.17.21.tgz#fb2cea28ad045bfc1079bd00e1c05ef0f0c31e5a" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/params" "^0.17.7" - "@polkadot/primitives" "^0.17.7" - "@polkadot/util" "^0.22.2" + "@polkadot/params" "^0.17.21" + "@polkadot/primitives" "^0.17.21" + "@polkadot/util" "^0.22.7" -"@polkadot/jsonrpc@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.17.7.tgz#cc1e6fb4ee45d33a62f427a5886f0903c88b84b2" +"@polkadot/jsonrpc@^0.17.21": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.17.21.tgz#9594e2b9ab8537ed7a3a0b9d5a194816d8d8e627" dependencies: - "@polkadot/params" "^0.17.7" + "@polkadot/params" "^0.17.21" babel-runtime "^6.26.0" -"@polkadot/params@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.17.7.tgz#2404485a8eb2f5233e84178e5e1654261e4c05e6" +"@polkadot/params@^0.17.21": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.17.21.tgz#aee1a39859728ce90e0362963fe68e86dcb6b587" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/extrinsics" "^0.17.7" - "@polkadot/primitives" "^0.17.7" - "@polkadot/util" "^0.22.2" + "@polkadot/extrinsics" "^0.17.21" + "@polkadot/primitives" "^0.17.21" + "@polkadot/util" "^0.22.7" -"@polkadot/primitives-builder@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/primitives-builder/-/primitives-builder-0.17.7.tgz#497ad595484e6438a7d3687a586cd9c3e85af47a" +"@polkadot/primitives-builder@^0.17.21", "@polkadot/primitives-builder@^0.17.9": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/primitives-builder/-/primitives-builder-0.17.21.tgz#f15a32ec16aae133eaaf26a554224504aa5683ef" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/primitives" "^0.17.7" - "@polkadot/primitives-codec" "^0.17.7" - "@polkadot/util" "^0.22.2" - "@polkadot/util-crypto" "^0.22.2" - "@polkadot/util-triehash" "^0.22.2" + "@polkadot/extrinsics-codec" "^0.17.21" + "@polkadot/primitives" "^0.17.21" + "@polkadot/primitives-codec" "^0.17.21" + "@polkadot/util" "^0.22.7" + "@polkadot/util-crypto" "^0.22.7" + "@polkadot/util-triehash" "^0.22.7" -"@polkadot/primitives-codec@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/primitives-codec/-/primitives-codec-0.17.7.tgz#4171705575450313bf2d65b0cd213a9f9390c211" +"@polkadot/primitives-codec@^0.17.21": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/primitives-codec/-/primitives-codec-0.17.21.tgz#0e1bc0a8c83d80eb9d486a1b0877bb304d372b3a" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/primitives" "^0.17.7" - "@polkadot/primitives-builder" "^0.17.7" - "@polkadot/primitives-rlp" "^0.17.7" - "@polkadot/util" "^0.22.2" - "@polkadot/util-keyring" "^0.22.2" + "@polkadot/primitives" "^0.17.21" + "@polkadot/primitives-builder" "^0.17.21" + "@polkadot/primitives-rlp" "^0.17.9" + "@polkadot/util" "^0.22.7" + "@polkadot/util-keyring" "^0.22.7" -"@polkadot/primitives-json@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/primitives-json/-/primitives-json-0.17.7.tgz#f9dd55f31d673c74160830e5dc3caf9d9ca5260a" +"@polkadot/primitives-json@^0.17.21": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/primitives-json/-/primitives-json-0.17.21.tgz#97939c81f292807b4129d9e6d1ce390f8ab39a5d" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/primitives" "^0.17.7" - "@polkadot/primitives-builder" "^0.17.7" - "@polkadot/util" "^0.22.2" + "@polkadot/primitives" "^0.17.21" + "@polkadot/primitives-builder" "^0.17.21" + "@polkadot/util" "^0.22.7" -"@polkadot/primitives-rlp@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/primitives-rlp/-/primitives-rlp-0.17.7.tgz#c52a1a7b45a19ef9fbd94de2a87783bedf007db0" +"@polkadot/primitives-rlp@^0.17.9": + version "0.17.9" + resolved "https://registry.yarnpkg.com/@polkadot/primitives-rlp/-/primitives-rlp-0.17.9.tgz#54ab801de520bf5d2833332fa7f02dd60f0db968" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/primitives" "^0.17.7" - "@polkadot/primitives-builder" "^0.17.7" + "@polkadot/primitives" "^0.17.9" + "@polkadot/primitives-builder" "^0.17.9" "@polkadot/util" "^0.22.2" "@polkadot/util-crypto" "^0.22.2" -"@polkadot/primitives@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.17.7.tgz#0c7303912bc88a965d914dd74a896decb184ab55" +"@polkadot/primitives@^0.17.21", "@polkadot/primitives@^0.17.9": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.17.21.tgz#fd9e27121e1f88c503a40661081353b5a1b2aec3" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/util" "^0.22.2" + "@polkadot/util" "^0.22.7" -"@polkadot/storage@^0.17.7": - version "0.17.7" - resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.17.7.tgz#7900b1473cbfae00952ce83ddcec9d30aa95cd1f" +"@polkadot/storage@^0.17.21": + version "0.17.21" + resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.17.21.tgz#f4a9c9520b2da1a6fd131b95a8f210c9f4302cee" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/params" "^0.17.7" - "@polkadot/primitives" "^0.17.7" - "@polkadot/util" "^0.22.2" - "@polkadot/util-keyring" "^0.22.2" + "@polkadot/params" "^0.17.21" + "@polkadot/primitives" "^0.17.21" + "@polkadot/util" "^0.22.7" + "@polkadot/util-keyring" "^0.22.7" "@polkadot/util-crypto@^0.22.2": version "0.22.2" @@ -921,30 +923,41 @@ tweetnacl "^1.0.0" xxhashjs "^0.2.2" -"@polkadot/util-keyring@^0.22.2": - version "0.22.2" - resolved "https://registry.yarnpkg.com/@polkadot/util-keyring/-/util-keyring-0.22.2.tgz#38513315d46e7124621e5bbc61f5d82ce8694e0e" +"@polkadot/util-crypto@^0.22.7": + version "0.22.7" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.22.7.tgz#66ce599638a32338f2447a3b17b0a33acc2fdb42" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/util" "^0.22.2" - "@polkadot/util-crypto" "^0.22.2" + "@polkadot/util" "^0.22.7" + blakejs "^1.1.0" + js-sha3 "^0.7.0" + tweetnacl "^1.0.0" + xxhashjs "^0.2.2" + +"@polkadot/util-keyring@^0.22.7": + version "0.22.7" + resolved "https://registry.yarnpkg.com/@polkadot/util-keyring/-/util-keyring-0.22.7.tgz#111b3e0e6a25a14b5d9039c746c737509b512771" + dependencies: + "@babel/runtime" "^7.0.0-beta.47" + "@polkadot/util" "^0.22.7" + "@polkadot/util-crypto" "^0.22.7" bs58 "^4.0.1" -"@polkadot/util-rlp@^0.22.2": - version "0.22.2" - resolved "https://registry.yarnpkg.com/@polkadot/util-rlp/-/util-rlp-0.22.2.tgz#51a9d6728791a7e7de5c6451ba5b1cbbf4418a71" +"@polkadot/util-rlp@^0.22.7": + version "0.22.7" + resolved "https://registry.yarnpkg.com/@polkadot/util-rlp/-/util-rlp-0.22.7.tgz#7e958e95746bba5984d56858c1ada866286c2373" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/util" "^0.22.2" + "@polkadot/util" "^0.22.7" -"@polkadot/util-triehash@^0.22.2": - version "0.22.2" - resolved "https://registry.yarnpkg.com/@polkadot/util-triehash/-/util-triehash-0.22.2.tgz#f98994bd9f5b0132baa9de8eff625fd834af4bd3" +"@polkadot/util-triehash@^0.22.7": + version "0.22.7" + resolved "https://registry.yarnpkg.com/@polkadot/util-triehash/-/util-triehash-0.22.7.tgz#c6562c5325c415188d1cf49fa9d4899f1bbf7b9a" dependencies: "@babel/runtime" "^7.0.0-beta.47" - "@polkadot/util" "^0.22.2" - "@polkadot/util-crypto" "^0.22.2" - "@polkadot/util-rlp" "^0.22.2" + "@polkadot/util" "^0.22.7" + "@polkadot/util-crypto" "^0.22.7" + "@polkadot/util-rlp" "^0.22.7" "@polkadot/util@^0.22.2": version "0.22.2" @@ -955,6 +968,16 @@ deasync "^0.1.12" ip-regex "^2.1.0" +"@polkadot/util@^0.22.7": + version "0.22.7" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.22.7.tgz#980451a0c0e84e99ee0e4d99ae6dd5fada960493" + dependencies: + "@babel/runtime" "^7.0.0-beta.47" + bn.js "^4.11.8" + chalk "^2.4.1" + deasync "^0.1.12" + ip-regex "^2.1.0" + "@shellscape/koa-send@^4.1.0": version "4.1.3" resolved "https://registry.yarnpkg.com/@shellscape/koa-send/-/koa-send-4.1.3.tgz#1a7c8df21f63487e060b7bfd8ed82e1d3c4ae0b0" @@ -4475,9 +4498,9 @@ flatten@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" -flow-bin@^0.72.0: - version "0.72.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.72.0.tgz#12051180fb2db7ccb728fefe67c77e955e92a44d" +flow-bin@^0.73.0: + version "0.73.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.73.0.tgz#da1b90a02b0ef9c439f068c2fc14968db83be425" flow-copy-source@^1.3.0: version "1.3.0"