From 2dccb5959f19d49762002b0743e1a26666fdcc7f Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sun, 22 Jul 2018 14:05:38 +0200 Subject: [PATCH] Update deps, fix formatting, parachain priv methods (#156) * Update deps for empty params * Bump deps * Render ParachainId --- packages/app-example/package.json | 4 +- packages/app-explorer/package.json | 4 +- packages/app-extrinsics/package.json | 2 +- packages/ui-app/package.json | 4 +- .../ui-app/src/Params/Param/findComponent.ts | 1 + packages/ui-identicon/package.json | 2 +- packages/ui-keyring/package.json | 2 +- packages/ui-react-rx/package.json | 6 +- packages/ui-react/package.json | 2 +- packages/ui-signer/package.json | 2 +- yarn.lock | 156 +++++++++--------- 11 files changed, 93 insertions(+), 92 deletions(-) diff --git a/packages/app-example/package.json b/packages/app-example/package.json index 22978682e7..851913752c 100644 --- a/packages/app-example/package.json +++ b/packages/app-example/package.json @@ -11,9 +11,9 @@ "license": "ISC", "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/storage": "^0.26.21", + "@polkadot/storage": "^0.26.24", "@polkadot/ui-react": "^0.18.25", "@polkadot/ui-react-rx": "^0.18.25", - "@polkadot/util-keyring": "^0.26.21" + "@polkadot/util-keyring": "^0.26.24" } } diff --git a/packages/app-explorer/package.json b/packages/app-explorer/package.json index 59bfb4f1ff..fbd57c0525 100644 --- a/packages/app-explorer/package.json +++ b/packages/app-explorer/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/primitives": "^0.26.21", + "@polkadot/primitives": "^0.26.24", "@polkadot/ui-app": "^0.18.25", - "@polkadot/util-crypto": "^0.26.21" + "@polkadot/util-crypto": "^0.26.24" } } diff --git a/packages/app-extrinsics/package.json b/packages/app-extrinsics/package.json index b1db0b2c5e..ae89e75bc5 100644 --- a/packages/app-extrinsics/package.json +++ b/packages/app-extrinsics/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/extrinsics": "^0.26.21", + "@polkadot/extrinsics": "^0.26.24", "@polkadot/ui-app": "^0.18.25", "@polkadot/ui-signer": "^0.18.25", "react-dropzone": "^4.2.9" diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index f3ea837968..97ddc8c862 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -16,8 +16,8 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/extrinsics": "^0.26.21", - "@polkadot/storage": "^0.26.21", + "@polkadot/extrinsics": "^0.26.24", + "@polkadot/storage": "^0.26.24", "@polkadot/ui-keyring": "^0.18.25", "@polkadot/ui-react": "^0.18.25", "@polkadot/ui-react-rx": "^0.18.25", diff --git a/packages/ui-app/src/Params/Param/findComponent.ts b/packages/ui-app/src/Params/Param/findComponent.ts index 90916f49bb..4ee815d428 100644 --- a/packages/ui-app/src/Params/Param/findComponent.ts +++ b/packages/ui-app/src/Params/Param/findComponent.ts @@ -32,6 +32,7 @@ const components: ComponentMap = { 'KeyValueStorage': KeyValue, 'KeyValueStorage[]': KeyValueStorageArray, 'MisbehaviorReport': Unknown, + 'ParachainId': Amount, 'PropIndex': Amount, 'Proposal': Unknown, 'ReferendumIndex': Amount, diff --git a/packages/ui-identicon/package.json b/packages/ui-identicon/package.json index 8349edc1e4..11b708f75e 100644 --- a/packages/ui-identicon/package.json +++ b/packages/ui-identicon/package.json @@ -22,7 +22,7 @@ "color": "^3.0.0" }, "devDependencies": { - "@polkadot/util-crypto": "^0.26.21", + "@polkadot/util-crypto": "^0.26.24", "xmlserializer": "^0.6.1" } } diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 8601502d41..d999ec7b4d 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -17,7 +17,7 @@ "dependencies": { "@babel/runtime": "^7.0.0-beta.51", "@polkadot/ui-react": "^0.18.25", - "@polkadot/util-keyring": "^0.26.21", + "@polkadot/util-keyring": "^0.26.24", "store": "^2.0.12" }, "peerDependencies": { diff --git a/packages/ui-react-rx/package.json b/packages/ui-react-rx/package.json index 256533e75d..b3ad620219 100644 --- a/packages/ui-react-rx/package.json +++ b/packages/ui-react-rx/package.json @@ -36,9 +36,9 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/api-rx": "^0.14.19", - "@polkadot/extrinsics": "^0.26.21", - "@polkadot/storage": "^0.26.21" + "@polkadot/api-rx": "^0.14.21", + "@polkadot/extrinsics": "^0.26.24", + "@polkadot/storage": "^0.26.24" }, "devDependencies": { "babel-loader": "^8.0.0-beta.2", diff --git a/packages/ui-react/package.json b/packages/ui-react/package.json index 9efc171725..ba05af3d8a 100644 --- a/packages/ui-react/package.json +++ b/packages/ui-react/package.json @@ -19,7 +19,7 @@ "@polkadot/ui-identicon": "^0.18.25" }, "devDependencies": { - "@polkadot/util-keyring": "^0.26.21", + "@polkadot/util-keyring": "^0.26.24", "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 0d7c5f2b3c..be3ef11af6 100644 --- a/packages/ui-signer/package.json +++ b/packages/ui-signer/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@babel/runtime": "^7.0.0-beta.51", - "@polkadot/extrinsics": "^0.26.21", + "@polkadot/extrinsics": "^0.26.24", "@polkadot/ui-app": "^0.18.25", "@polkadot/ui-keyring": "^0.18.25" }, diff --git a/yarn.lock b/yarn.lock index c13878e865..169846981a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -765,50 +765,50 @@ version "1.1.0" resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.0.tgz#50c1e2260ac0ed9439a181de3725a0168d59c48a" -"@polkadot/api-format@^0.14.19": - version "0.14.19" - resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.14.19.tgz#3b3a3ce61a20f7b36ebf4adb07c513cf2521aac0" +"@polkadot/api-format@^0.14.21": + version "0.14.21" + resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.14.21.tgz#33a5eae75a0e03f8145ea54b9f1b373e037dfbe9" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/jsonrpc" "^0.26.21" - "@polkadot/primitives" "^0.26.21" - "@polkadot/util" "^0.26.21" - "@polkadot/util-keyring" "^0.26.21" + "@polkadot/jsonrpc" "^0.26.24" + "@polkadot/primitives" "^0.26.24" + "@polkadot/util" "^0.26.24" + "@polkadot/util-keyring" "^0.26.24" -"@polkadot/api-provider@^0.14.19": - version "0.14.19" - resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.14.19.tgz#93b8c77a14e352fa60cc0b342f087160dbb3ff70" +"@polkadot/api-provider@^0.14.21": + version "0.14.21" + resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.14.21.tgz#635fc488f9785f3bf12cf0d7ab6bd97810b1f0ba" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/storage" "^0.26.21" - "@polkadot/util" "^0.26.21" - "@polkadot/util-crypto" "^0.26.21" - "@polkadot/util-keyring" "^0.26.21" + "@polkadot/storage" "^0.26.24" + "@polkadot/util" "^0.26.24" + "@polkadot/util-crypto" "^0.26.24" + "@polkadot/util-keyring" "^0.26.24" "@types/nock" "^9.1.3" eventemitter3 "^2.0.3" isomorphic-fetch "^2.2.1" websocket "^1.0.25" -"@polkadot/api-rx@^0.14.19": - version "0.14.19" - resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.14.19.tgz#c02f8f7fcbfabefb28602e00a066dbfeb1bbe8ca" +"@polkadot/api-rx@^0.14.21": + version "0.14.21" + resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.14.21.tgz#baea20485c139de3e70df9493ab99401867fb53e" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/api" "^0.14.19" - "@polkadot/api-provider" "^0.14.19" + "@polkadot/api" "^0.14.21" + "@polkadot/api-provider" "^0.14.21" "@types/rx" "^4.1.1" rxjs "^5.5.10" -"@polkadot/api@^0.14.19": - version "0.14.19" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.14.19.tgz#582182a611d313c1a7c5d0a8cf9dafd9191a0982" +"@polkadot/api@^0.14.21": + version "0.14.21" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.14.21.tgz#981c5c86d775acda3b635212761032dc1b9871ed" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/api-format" "^0.14.19" - "@polkadot/api-provider" "^0.14.19" - "@polkadot/jsonrpc" "^0.26.21" - "@polkadot/params" "^0.26.21" - "@polkadot/util" "^0.26.21" + "@polkadot/api-format" "^0.14.21" + "@polkadot/api-provider" "^0.14.21" + "@polkadot/jsonrpc" "^0.26.24" + "@polkadot/params" "^0.26.24" + "@polkadot/util" "^0.26.24" "@polkadot/dev-react@^0.20.12": version "0.20.12" @@ -877,94 +877,94 @@ typedoc "^0.11.1" typescript "^2.9.2" -"@polkadot/extrinsics@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.26.21.tgz#490f5498c5a2a111294cb3ed2b3824c002c8e64b" +"@polkadot/extrinsics@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.26.24.tgz#20760dada03d3a89ec0ae336af3367a5267d0603" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/params" "^0.26.21" - "@polkadot/primitives" "^0.26.21" - "@polkadot/util" "^0.26.21" + "@polkadot/params" "^0.26.24" + "@polkadot/primitives" "^0.26.24" + "@polkadot/util" "^0.26.24" -"@polkadot/jsonrpc@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.26.21.tgz#91476cdf9164b86bc6c2df7e5bccf3be9f72b25e" +"@polkadot/jsonrpc@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.26.24.tgz#0d6a2bd8b3c6a2975a808af212b759f5ee939c05" dependencies: - "@polkadot/params" "^0.26.21" + "@polkadot/params" "^0.26.24" babel-runtime "^6.26.0" -"@polkadot/params@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.26.21.tgz#0f6f0b669af792c29c9925d66c1f02eb4bec65a0" +"@polkadot/params@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.26.24.tgz#e0c391daf36f4888dbbef8050fbfad85575c3157" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/extrinsics" "^0.26.21" - "@polkadot/primitives" "^0.26.21" - "@polkadot/util" "^0.26.21" + "@polkadot/extrinsics" "^0.26.24" + "@polkadot/primitives" "^0.26.24" + "@polkadot/util" "^0.26.24" -"@polkadot/primitives@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.26.21.tgz#9d777dd745d6bbae47a04d76a051920daef327a9" +"@polkadot/primitives@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.26.24.tgz#0732d14e284c8025378003846b44425786c0d2e3" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/trie-hash" "^0.26.21" - "@polkadot/util" "^0.26.21" + "@polkadot/trie-hash" "^0.26.24" + "@polkadot/util" "^0.26.24" -"@polkadot/storage@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.26.21.tgz#fae508143522609c176c82439db12b2167f62d8c" +"@polkadot/storage@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.26.24.tgz#24f3c32b3d98d3007b282e121bc2237526a785b4" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/params" "^0.26.21" - "@polkadot/primitives" "^0.26.21" - "@polkadot/util" "^0.26.21" - "@polkadot/util-crypto" "^0.26.21" - "@polkadot/util-keyring" "^0.26.21" + "@polkadot/params" "^0.26.24" + "@polkadot/primitives" "^0.26.24" + "@polkadot/util" "^0.26.24" + "@polkadot/util-crypto" "^0.26.24" + "@polkadot/util-keyring" "^0.26.24" -"@polkadot/trie-hash@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/trie-hash/-/trie-hash-0.26.21.tgz#8e428e53639cd6bbea930f9482011e4720c3078e" +"@polkadot/trie-hash@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/trie-hash/-/trie-hash-0.26.24.tgz#6de3b0cb8978302c1899fe9c62971abfcbead861" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.21" - "@polkadot/util-crypto" "^0.26.21" - "@polkadot/util-rlp" "^0.26.21" + "@polkadot/util" "^0.26.24" + "@polkadot/util-crypto" "^0.26.24" + "@polkadot/util-rlp" "^0.26.24" "@polkadot/ts@^0.1.9": version "0.1.9" resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.9.tgz#86010c5a4d63c0fb6b3e85d29db40dcf43c5d7c1" -"@polkadot/util-crypto@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.26.21.tgz#fe20a3156879080d40fb3e7384cee14714061849" +"@polkadot/util-crypto@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.26.24.tgz#1a797578cfa3f02693ca8d73b8d47f836b89e652" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.21" + "@polkadot/util" "^0.26.24" blakejs "^1.1.0" js-sha3 "^0.7.0" tweetnacl "^1.0.0" xxhashjs "^0.2.2" -"@polkadot/util-keyring@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/util-keyring/-/util-keyring-0.26.21.tgz#a3bdfcd6123ea196976eb89686457982583ea644" +"@polkadot/util-keyring@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/util-keyring/-/util-keyring-0.26.24.tgz#4ef0fc25730c36bb362bb20113faba6eed1c21b2" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.21" - "@polkadot/util-crypto" "^0.26.21" + "@polkadot/util" "^0.26.24" + "@polkadot/util-crypto" "^0.26.24" "@types/bs58" "^3.0.30" bs58 "^4.0.1" -"@polkadot/util-rlp@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/util-rlp/-/util-rlp-0.26.21.tgz#3ff4bb850764bc3666ac789734a006ab74f1d840" +"@polkadot/util-rlp@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/util-rlp/-/util-rlp-0.26.24.tgz#b9de7496b06c3ae40141cd54f461e0708194dc5a" dependencies: "@babel/runtime" "^7.0.0-beta.51" - "@polkadot/util" "^0.26.21" + "@polkadot/util" "^0.26.24" -"@polkadot/util@^0.26.21": - version "0.26.21" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.26.21.tgz#e3808fe541af631bc3f5500c194a4df8b5cc4920" +"@polkadot/util@^0.26.24": + version "0.26.24" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.26.24.tgz#fdf535be2b302dc9fbf63eb6d0ee76989643f5a6" dependencies: "@babel/runtime" "^7.0.0-beta.51" "@types/bn.js" "^4.11.1"