diff --git a/package.json b/package.json index c91ca6f44e..06b27c575f 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@babel/core": "^7.2.2", - "@polkadot/dev-react": "^0.23.14", + "@polkadot/dev-react": "^0.23.15", "@polkadot/ts": "^0.1.52", "autoprefixer": "^9.4.5", "empty": "^0.10.1", diff --git a/packages/apps/package.json b/packages/apps/package.json index 823bcfc2b1..41dd15c784 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -14,7 +14,7 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/ui-app": "^0.23.27", - "@polkadot/ui-assets": "^0.25.11", + "@polkadot/ui-assets": "^0.26.2", "@polkadot/ui-signer": "^0.23.27" } } diff --git a/packages/ui-api/package.json b/packages/ui-api/package.json index 41d0d6b098..5c5ea212a1 100644 --- a/packages/ui-api/package.json +++ b/packages/ui-api/package.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/api": "^0.42.18", + "@polkadot/api": "^0.43.4", "rxjs-compat": "^6.3.2" } } diff --git a/packages/ui-api/src/Api.tsx b/packages/ui-api/src/Api.tsx index 77beb17e5e..945828666f 100644 --- a/packages/ui-api/src/Api.tsx +++ b/packages/ui-api/src/Api.tsx @@ -95,7 +95,7 @@ export default class ApiWrapper extends React.PureComponent { tokenSymbol: undefined }; const tokenSymbol = properties.get('tokenSymbol') || found.tokenSymbol; - const isDevelopment = isTestChain(chain || ''); + const isDevelopment = isTestChain(chain); console.log('api: found chain', chain, [...properties.entries()]); @@ -104,10 +104,11 @@ export default class ApiWrapper extends React.PureComponent { formatBalance.setDefaultUnits(tokenSymbol); InputNumber.setUnit(tokenSymbol); - // setup keyring (loadAll) only after prefix has been set - keyring.setAddressPrefix(properties.get('networkId') || found.networkId as any || 42); - keyring.setDevMode(isDevelopment); - keyring.loadAll(); + keyring.loadAll({ + addressPrefix: properties.get('networkId') || found.networkId as any, + isDevelopment, + type: 'ed25519' + }); this.setState({ chain, isDevelopment }); } diff --git a/packages/ui-api/src/util/isTestChain.spec.js b/packages/ui-api/src/util/isTestChain.spec.js deleted file mode 100644 index 991b4eaa2c..0000000000 --- a/packages/ui-api/src/util/isTestChain.spec.js +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2017-2019 @polkadot/ui-api authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - -import isTestChain from './isTestChain'; - -describe('check chain spec to configure keyring test mode and dev accounts availability', () => { - it('enables test environment when chain specification matches text of dev or loc(al)', () => { - const validTestModeChainSpecsWithDev = ['Development disorder', 'my development', 'a devotion to']; - const validTestModeChainSpecsWithLoc = ['Local beer', 'one local beer', 'one good locust']; - - for (let s of validTestModeChainSpecsWithDev.concat(validTestModeChainSpecsWithLoc)) { - expect(isTestChain(s)).toEqual(true); - } - }); - - it('disables keyring test mode when chain specification is not a test mode or undefined or number type', () => { - const invalidTestModeChainSpecs = ['PoC-1 Testnet', 'Staging Testnet', 'future PoC-2 Testnet', 'a pocadot?', undefined, 0]; - - for (let s of invalidTestModeChainSpecs) { - expect(isTestChain(s)).toEqual(false); - } - }); -}); diff --git a/packages/ui-api/src/util/isTestChain.spec.ts b/packages/ui-api/src/util/isTestChain.spec.ts new file mode 100644 index 0000000000..421c5a36a3 --- /dev/null +++ b/packages/ui-api/src/util/isTestChain.spec.ts @@ -0,0 +1,24 @@ +// Copyright 2017-2019 @polkadot/ui-api authors & contributors +// This software may be modified and distributed under the terms +// of the Apache-2.0 license. See the LICENSE file for details. + +import isTestChain from './isTestChain'; + +describe('isTestChain', () => { + it('enables test environment when chain specification matches text of dev or loc(al)', () => { + const validTestModeChainSpecsWithDev = ['Development']; + const validTestModeChainSpecsWithLoc = ['Local Testnet']; + + validTestModeChainSpecsWithDev.concat(validTestModeChainSpecsWithLoc).forEach((s) => + expect(isTestChain(s)).toEqual(true) + ); + }); + + it('disables keyring test mode when chain specification is not a test mode or undefined or number type', () => { + const invalidTestModeChainSpecs = ['dev', 'local', 'development', 'PoC-1 Testnet', 'Staging Testnet', 'future PoC-2 Testnet', 'a pocadot?', undefined]; + + invalidTestModeChainSpecs.forEach((s) => + expect(isTestChain(s)).toEqual(false) + ); + }); +}); diff --git a/packages/ui-api/src/util/isTestChain.ts b/packages/ui-api/src/util/isTestChain.ts index 33bc7d35ef..5b2f2fc032 100644 --- a/packages/ui-api/src/util/isTestChain.ts +++ b/packages/ui-api/src/util/isTestChain.ts @@ -2,16 +2,12 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. -import { isUndefined } from '@polkadot/util'; +const re = new RegExp('^(Development|Local Testnet)$'); -const re = new RegExp('(dev|loc)', 'i'); - -export default function isTestChain (chain?: string): boolean { - if (isUndefined(chain)) { +export default function isTestChain (chain?: string | null): boolean { + if (!chain) { return false; } - const match = re.test(chain.toString().toLowerCase()); - - return match ? true : false; + return !!re.test(chain.toString()); } diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index f84268dde4..e0788d2523 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -11,14 +11,15 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/keyring": "^0.33.36", + "@polkadot/keyring": "^0.34.10", + "@polkadot/types": "^0.43.4", "@polkadot/ui-api": "^0.23.27", - "@polkadot/ui-identicon": "^0.25.11", - "@polkadot/ui-keyring": "^0.25.11", + "@polkadot/ui-identicon": "^0.26.2", + "@polkadot/ui-keyring": "^0.26.2", "@polkadot/ui-reactive": "^0.23.27", - "@polkadot/ui-settings": "^0.25.11", - "@polkadot/util": "^0.33.36", - "@polkadot/util-crypto": "^0.33.36", + "@polkadot/ui-settings": "^0.26.2", + "@polkadot/util": "^0.34.10", + "@polkadot/util-crypto": "^0.34.10", "@types/chart.js": "^2.7.42", "@types/i18next": "^12.1.0", "@types/i18next-browser-languagedetector": "^2.0.1", diff --git a/packages/ui-reactive/package.json b/packages/ui-reactive/package.json index f082fe3521..de2026798d 100644 --- a/packages/ui-reactive/package.json +++ b/packages/ui-reactive/package.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/api": "^0.42.18", + "@polkadot/api": "^0.43.4", "rxjs-compat": "^6.3.2" } } diff --git a/yarn.lock b/yarn.lock index 17ab2f5118..3a3e01e328 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1462,43 +1462,49 @@ universal-user-agent "^2.0.0" url-template "^2.0.8" -"@polkadot/api-derive@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.42.18.tgz#4d98ed6061827f0df44e665dafa9ac63bbfec8bc" - integrity sha512-42oLDMm8lZzp/8OkTB/+0g2gq2ybdvwDNtyYbHlHu2GyhHIfMez9TRDMrmULbcpYWXx5Z+fTniTyO7/I9VsoLA== +"@parity/schnorrkel-js@^0.1.2": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@parity/schnorrkel-js/-/schnorrkel-js-0.1.2.tgz#08c9663299cbe43d292599a1312a761b2426900f" + integrity sha512-eQSCY6kb16Lhnlgdz1FbADo1PEI3Xgp0ApGpNydf0yBEQ6AMVo1YN/4zMA3lFjqnurv9NsAy11OJApailUNneQ== + +"@polkadot/api-derive@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.43.4.tgz#d683cbef303bb85536d4e77d72db22053b0bbd28" + integrity sha512-TEX3jFjKrGXuO9+8XoM3krsinNUcPYg+Q0w6Lsv5Q9WitvoqX1NoKen3AMkJQkWeUDU+67JAtaSyKW8NjaRFyQ== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/api" "^0.42.18" - "@polkadot/types" "^0.42.18" + "@polkadot/api" "^0.43.4" + "@polkadot/types" "^0.43.4" "@types/memoizee" "^0.4.2" "@types/rx" "^4.1.1" memoizee "^0.4.14" rxjs "^6.3.3" -"@polkadot/api@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.42.18.tgz#3252cec459df1f78368388102930008c35dbe944" - integrity sha512-8gD7ggeyaxW9F0dNN5umj7TKeA8gxujhFUVagbR+OKZUbjO545+0L3ZNIx84L2L2fO/02qaB3eK8EqM92BNqOg== +"@polkadot/api@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.43.4.tgz#4c437cdee1f7991011370d641eb56e28c7480c6c" + integrity sha512-t7gvncIfGeV1revKVUWmkM6pHrZ7h13Xu+4WfEfmIp8x/Lym8kwkIdirgkO5+h8mT+1ZxK01tx/Blr7G/rdK9Q== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/api-derive" "^0.42.18" - "@polkadot/extrinsics" "^0.42.18" - "@polkadot/rpc-provider" "^0.42.18" - "@polkadot/rpc-rx" "^0.42.18" - "@polkadot/storage" "^0.42.18" - "@polkadot/types" "^0.42.18" + "@polkadot/api-derive" "^0.43.4" + "@polkadot/extrinsics" "^0.43.4" + "@polkadot/rpc-provider" "^0.43.4" + "@polkadot/rpc-rx" "^0.43.4" + "@polkadot/storage" "^0.43.4" + "@polkadot/types" "^0.43.4" + "@polkadot/util-crypto" "^0.34.10" "@types/rx" "^4.1.1" rxjs "^6.3.3" -"@polkadot/dev-react@^0.23.14": - version "0.23.14" - resolved "https://registry.yarnpkg.com/@polkadot/dev-react/-/dev-react-0.23.14.tgz#f33f69dcdb4cb4dd132f558618879fc99d38844b" - integrity sha512-2Ms6iOnR2oWA7QnLuH+tAt8HCMRtOexhXaOHakEBKV4OHP9qCQHufEGvy+fKRYYox1LCO/kV5i17ro0BD1hh0g== +"@polkadot/dev-react@^0.23.15": + version "0.23.15" + resolved "https://registry.yarnpkg.com/@polkadot/dev-react/-/dev-react-0.23.15.tgz#0e99299ad54360629c3d8a1220063d1a1603b9bf" + integrity sha512-o+ziUDjlXIs4Yvtldgxbs77VB3ci4vusbD61Qt0et9e3hTVOFuw0XSqtCN5xdC1DD/7fX/BGd2FsRjrdYChNtQ== dependencies: "@babel/core" "^7.2.2" "@babel/plugin-syntax-dynamic-import" "^7.2.0" "@babel/preset-react" "^7.0.0" - "@polkadot/dev" "^0.23.14" + "@polkadot/dev" "^0.23.15" "@types/react" "^16.7.18" "@types/react-dom" "^16.0.11" "@types/styled-components" "^4.1.5" @@ -1526,10 +1532,10 @@ webpack-serve "^2.0.3" worker-loader "^2.0.0" -"@polkadot/dev@^0.23.14": - version "0.23.14" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.23.14.tgz#e649dfaaab4fb1c8e8f2c1695a8b5367dd3ce2ce" - integrity sha512-vmgS7THEvEp1v7iKw/QxanedAozSIRzUJWVHLUkIRyDSRfH3/iOFxEwNso0CNMULO1OHfIfhgDP+3lHj/IMB1A== +"@polkadot/dev@^0.23.15": + version "0.23.15" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.23.15.tgz#f1428a706e5ff2138eaf38900070579dee84b57d" + integrity sha512-SVkB3s1KsFQm9Pka8zKx4S06LX5S70r7xCV2lTmbj/5Wj/diamuZgbAHU313cH89q59qU9Bns2gJhynvGXkXfg== dependencies: "@babel/cli" "^7.2.3" "@babel/core" "^7.2.2" @@ -1566,154 +1572,156 @@ typedoc-plugin-no-inherit "^1.1.2" typescript "^3.2.2" -"@polkadot/extrinsics@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.42.18.tgz#a25b98984a6e59f13a7796320bda3e9fa8279cf6" - integrity sha512-VKiKjxriYpWAe6nUAvxvfU+7/uF2YLmrtUgtpuBSYkWNdUBUJwvkitbwfmcAD1qi060otfFzhyU5wKtaGx9pog== +"@polkadot/extrinsics@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.43.4.tgz#12b67d97d9fc22f80d2864b32e2aebf885e0c6e9" + integrity sha512-UbCjiTtfASfOJ/6CCa82A4L4wJKUPc3NHVZEU2BSEGM/1JfOqH8e5kGtP3ogw/oTlIatio2rqWf2mQGwIByEDw== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/types" "^0.42.18" - "@polkadot/util" "^0.33.36" + "@polkadot/types" "^0.43.4" + "@polkadot/util" "^0.34.10" -"@polkadot/jsonrpc@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.42.18.tgz#d116a06e58035dd63b210747cb061974ff9b2bd5" - integrity sha512-7VruCrrelxgh9vPkWZfB5PbvnNJLpyeXyE7OWg1T/cTYiCFvX70TO6NIIz5fyqJnEJEZeksSJuO3xYC2cFvhZQ== +"@polkadot/jsonrpc@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.43.4.tgz#54c7aadd26f43fc2a37e6b9638a3be969ca53656" + integrity sha512-gchFGc9aVK0Gwkfuq8yMz+Saja/g8ZDkiQT+04SBJXmBTLThWb8GTv5b1wsYjTAjjJfDadFswCOUvsm9ZMeSKw== dependencies: "@babel/runtime" "^7.2.0" -"@polkadot/keyring@^0.33.36": - version "0.33.36" - resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.33.36.tgz#def02631369b1a2288ae95d32cadd63299f877f7" - integrity sha512-UUyb0ua+b10FAt+dH5Vuua0mu+FH9WY+as+IoVNXyDY8PpHY+kg8MDXXrCGBueCF5CaiiAJP7gD5vp7U10nrEg== +"@polkadot/keyring@^0.34.10": + version "0.34.10" + resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-0.34.10.tgz#e7f4dfca7b5eedd0062e2f17e2d0f5b6ca650a19" + integrity sha512-Ctq/qLJKLocMIFRInA1f7KgyLS4RWRf3UxzVPZgSkLB0rId2gWKF/BIqFSpbWAUfwN7FxMRZ0HxcUlTRQMj48A== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/util" "^0.33.36" - "@polkadot/util-crypto" "^0.33.36" + "@polkadot/util" "^0.34.10" + "@polkadot/util-crypto" "^0.34.10" "@types/bs58" "^4.0.0" bs58 "^4.0.1" -"@polkadot/rpc-core@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.42.18.tgz#082a5ce6e2552c5d51fdfa855c704b08fc476120" - integrity sha512-e5UkdPDkeoEUxD+ZDn5NNRqgqPz3ml2h20u2U7q3pY3fwvrd7wSxJO6GjIETLGrafpZXn69JUD4YqzZag9JHKw== +"@polkadot/rpc-core@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.43.4.tgz#f4bc48f95384945d053540f2aaf0f935b120226a" + integrity sha512-WT0dh7AESECHpIcZriXzxuzfEcSrETmeiet6otoxL0/qmzXubohpQFz6wNVVWpCewSzjnk3AxZ3eoxdukLV0iw== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/jsonrpc" "^0.42.18" - "@polkadot/rpc-provider" "^0.42.18" - "@polkadot/types" "^0.42.18" - "@polkadot/util" "^0.33.36" + "@polkadot/jsonrpc" "^0.43.4" + "@polkadot/rpc-provider" "^0.43.4" + "@polkadot/types" "^0.43.4" + "@polkadot/util" "^0.34.10" -"@polkadot/rpc-provider@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.42.18.tgz#8a88b91313efdc149b88ec3c9c7456cca88c7f0b" - integrity sha512-l+XwXA4+xgQTzRRGy4Mvnu1OYAg0WTU5+OtxYKSSBWXtX2WdLlkOroe5INR0Pk8xF/BIFnd4JryiGAFIrgWhLA== +"@polkadot/rpc-provider@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.43.4.tgz#b0f03173990157b6f3e03264abeb4e241dc311a5" + integrity sha512-/wdmUnzpSAKDRL/Z7DZJIMnGZLQICxPL4uxuyIR0QizJhMquY1f2OSKLfZn4n2BP+P/0VFs48nsn/3y6kTExKg== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/keyring" "^0.33.36" - "@polkadot/storage" "^0.42.18" - "@polkadot/util" "^0.33.36" - "@polkadot/util-crypto" "^0.33.36" + "@polkadot/keyring" "^0.34.10" + "@polkadot/storage" "^0.43.4" + "@polkadot/util" "^0.34.10" + "@polkadot/util-crypto" "^0.34.10" "@types/nock" "^9.3.0" eventemitter3 "^3.1.0" isomorphic-fetch "^2.2.1" websocket "^1.0.28" -"@polkadot/rpc-rx@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.42.18.tgz#90679d3c2355316cd0480632e8a279c599dbec3c" - integrity sha512-/Psyvbbx1u/nHDUcH+zZjNmuHO7FjMy9jyaeJN5Pnawviu0MsIJCjgWWc7nQhsg64/hjhQ7qWaoF9KPdMhFLTg== +"@polkadot/rpc-rx@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.43.4.tgz#5fe63934660f36951db95deb59f475d6bcf5e491" + integrity sha512-05k5TTPxA0N3l9jv866QN/nQBqY7/0AcHbWZd9EwW+AwlP7oTupoDQ7pX0S7eD5NKfIeN0z8yiP5S4tA2dV4hg== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/rpc-core" "^0.42.18" - "@polkadot/rpc-provider" "^0.42.18" + "@polkadot/rpc-core" "^0.43.4" + "@polkadot/rpc-provider" "^0.43.4" "@types/memoizee" "^0.4.2" "@types/rx" "^4.1.1" memoizee "^0.4.14" rxjs "^6.3.3" -"@polkadot/storage@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.42.18.tgz#eff6b54707957c58d1733f313a73f5a95194d69f" - integrity sha512-2zTiBQqVxAUboQRdvHKftjqk5d2UDVfMsng98B3C/LR9rqIMRBbKHT4HMFRBWWa/9STGQ9AWh+KBLfAPJt6PXA== +"@polkadot/storage@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.43.4.tgz#934cf873dce57daaa1f1e0f437d3ba29088c3da7" + integrity sha512-dEN6/4ejD1aAK2dTYm8A6Op6ZzK528Pcq3QSlDpl4eFEn0PM799hBpM6/Cr/G+mtQKkrI1Tmtw7lOo7/fodNiA== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/keyring" "^0.33.36" - "@polkadot/types" "^0.42.18" - "@polkadot/util" "^0.33.36" - "@polkadot/util-crypto" "^0.33.36" + "@polkadot/keyring" "^0.34.10" + "@polkadot/types" "^0.43.4" + "@polkadot/util" "^0.34.10" + "@polkadot/util-crypto" "^0.34.10" "@polkadot/ts@^0.1.52": version "0.1.52" resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.52.tgz#6fb09e494d244dad4b3a9ca581bfe13beec66565" integrity sha512-sij1O0x4CY51A394RYD4/aQwDPwIxIeTOpYI4AZgdF/vq5nvF14b4XFq9vAcSnblaIosf0sYKoz1f3dkN3QqLw== -"@polkadot/types@^0.42.18": - version "0.42.18" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.42.18.tgz#c12577eb5f0a0063a9af66cbca424aa2733f3e30" - integrity sha512-1i0G28KNK//oX9RLY1gwRFcimwF6ewYBnE4NnJgfY4UzSgGvSrdsviZx2Bp7hcE524rgTmX54xvKD+hK5iutHw== +"@polkadot/types@^0.43.4": + version "0.43.4" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.43.4.tgz#4960d7d7cabba02d4158f888724ac0b60a71fa84" + integrity sha512-n7HUsOTbMrgBNpkIT7FTQrfC9qzxG0biwP8KfybxhC3ltzqig7howQUSN661GuKk0vgfFgY7yzSRzLooCm/9Uw== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/keyring" "^0.33.36" - "@polkadot/util" "^0.33.36" + "@polkadot/keyring" "^0.34.10" + "@polkadot/util" "^0.34.10" core-js "^2.6.2" -"@polkadot/ui-assets@^0.25.11": - version "0.25.11" - resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.25.11.tgz#08663f2790b15fbe25c5203792f0f271b7a76e70" - integrity sha512-zLdKM9gwB021Cvkl9Omvd46iWJwYAAX45TluG1PzZH4Z+Ppj6pDAwJV+Bv9r5/63f5E7mFjnMSyvHBq3QJIYog== +"@polkadot/ui-assets@^0.26.2": + version "0.26.2" + resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.26.2.tgz#13aafd2edf170b0aafe5c77d1be2b1a2f17e62f5" + integrity sha512-SQ6LMz71dcwT5oWEwZzjOTu3TWM8I0hwH0Nq0LqibbRzMTVJGq6o+jJ2JMVMgLApeDO6+H4156j9D8UYM5tQRg== dependencies: "@babel/runtime" "^7.2.0" -"@polkadot/ui-identicon@^0.25.11": - version "0.25.11" - resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.25.11.tgz#f5dd99fc1649e879054208d1bda6869226176cfe" - integrity sha512-h5TRO+sfwRuZeqjIMJw49veKogrWB5gnE5Y1ytNuSipYQ79DIfxHTSYzSm9jtnQsMacTM+aVX24x2NYiOquRhw== +"@polkadot/ui-identicon@^0.26.2": + version "0.26.2" + resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.26.2.tgz#a6658a02134914085f60959c729c25b1ab5a0b91" + integrity sha512-p+DNLs5K13VyQ3LlTSwTKALhP2VDDTYSWSLWtEPb40PDxju9gm+RA5xx0dsdkX6awaLHT2Jyba9gdBb7PG2FmA== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/ui-settings" "^0.25.11" + "@polkadot/ui-settings" "^0.26.2" "@types/color" "^3.0.0" "@types/react-copy-to-clipboard" "^4.2.6" color "^3.0.0" react-copy-to-clipboard "^5.0.1" -"@polkadot/ui-keyring@^0.25.11": - version "0.25.11" - resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.25.11.tgz#466d5bd956a76f52f322b2262474de992b540b20" - integrity sha512-q1Mlp5zF6j8VWXA84bicCKspX+Ria1BN0WO4PSHgjfzO5ehoCHtzNzU266hQPyv+QRdZZ+TtBq11gjQg/yyeZQ== +"@polkadot/ui-keyring@^0.26.2": + version "0.26.2" + resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.26.2.tgz#97536bfe1ef7cb72b0421d3c37891279f94ed528" + integrity sha512-M6kMlfCkAbpQIm9roOZciSl9JK1NUpwBXzcv+g1KNsPkpg5hwDxO5Kjrqov++WtRapDMGGeJ+AlFAvWFSRiiwA== dependencies: "@babel/runtime" "^7.2.0" "@types/store" "^2.0.1" rxjs "^6.3.3" store "^2.0.12" -"@polkadot/ui-settings@^0.25.11": - version "0.25.11" - resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.25.11.tgz#5f9a15bb43ff954f61834a535ad920eaee314c72" - integrity sha512-5rDkw0awPNQWerIiWQCF8TLBzhTjWzZXjig2vJp/1YoN9pD3kQnQ9zu7D3lBFet4LIqzl2XKfXGm0EGyxdQAhA== +"@polkadot/ui-settings@^0.26.2": + version "0.26.2" + resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.26.2.tgz#4db4ba6a1eb48ec2fca4e4c318b8ff4cd5355c4d" + integrity sha512-1UW4mDyrSFC1fAGk4f0z7cHf/iX1cR1HP0vqGCJTKatGIzR47oYtGQG3wpFmqiB9kPS5KX5z7Wou0CW2zuV1dw== dependencies: "@babel/runtime" "^7.2.0" "@types/store" "^2.0.1" store "^2.0.12" -"@polkadot/util-crypto@^0.33.36": - version "0.33.36" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.33.36.tgz#3b1fc84be7126fd92ee4de960baafb901e50b1a4" - integrity sha512-kjzdOrBL8NKfZZdWIhQFim3yDWo6sHjWOuxJQt8k22pHa/ATF8zVZ6Xqi4r+wsfBa9S+G6AE5yyVOirVPQYeCQ== +"@polkadot/util-crypto@^0.34.10": + version "0.34.10" + resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-0.34.10.tgz#84587b9c0f627f096c6bd6a12ad3f3d8b6dc230a" + integrity sha512-DShVvijGa/prI2JEBuytczBCV1HKpx2rhC1CZwbsbWjBUtK5GumIC6aMGQGdEPltGZ9qz6gS2YiBWrl31fLG/Q== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/util" "^0.33.36" + "@parity/schnorrkel-js" "^0.1.2" + "@polkadot/util" "^0.34.10" "@types/bip39" "^2.4.1" + "@types/webassembly-js-api" "^0.0.2" bip39 "^2.5.0" blakejs "^1.1.0" js-sha3 "^0.8.0" tweetnacl "^1.0.0" xxhashjs "^0.2.2" -"@polkadot/util@^0.33.36": - version "0.33.36" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.33.36.tgz#975590dd059f78209c9d398f72651ac393dd8245" - integrity sha512-N5b46NYTNJODILXNGRxvW/8yeKiHjQv4k3YmJhYnslMsEbaXPvkePFUA2N8Ji1LQrAD8sQbaoG8aYoNaqHSJMA== +"@polkadot/util@^0.34.10": + version "0.34.10" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-0.34.10.tgz#b1d4d683c92974a32f861e67349d7109ece451c2" + integrity sha512-nNegFolqS7OiiXoxe7LK1bq8x/gDcPYCHFTyoMub5ZgEEn0uemy3g7YRoXF9QA9BYc3E7pRTXYpLqAqzSvBn+Q== dependencies: "@babel/runtime" "^7.2.0" "@types/bn.js" "^4.11.3" @@ -2094,6 +2102,11 @@ "@types/react" "*" csstype "^2.2.0" +"@types/webassembly-js-api@^0.0.2": + version "0.0.2" + resolved "https://registry.yarnpkg.com/@types/webassembly-js-api/-/webassembly-js-api-0.0.2.tgz#43a04bd75fa20332133c6c3986156bfeb4a3ced7" + integrity sha512-htlxJRag6RUiMYUkS8Fjup+TMHO0VarpiF9MrqYaGJ0wXtIraQFz40rfA8VIeCiWy8sgpv3RLmigpgicG8fqGA== + "@types/xxhashjs@^0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@types/xxhashjs/-/xxhashjs-0.1.1.tgz#980709096c7138713b7777f49dccd4b8f93908e5"