From 533c8a72d839a6d3eab0594fcfe85d607f4366f7 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 23 Nov 2019 23:03:48 +0100 Subject: [PATCH] Bump API, fixup storage types (#1933) --- package.json | 6 +- packages/app-accounts/package.json | 2 +- packages/app-contracts/package.json | 2 +- packages/app-storage/src/Query.tsx | 13 +- packages/apps/package.json | 2 +- packages/react-api/package.json | 2 +- packages/react-components/package.json | 6 +- .../src/InputStorage/options/key.tsx | 4 +- .../react-params/src/Param/findComponent.ts | 2 +- packages/react-params/src/initValue.ts | 3 +- packages/react-signer/package.json | 2 +- yarn.lock | 142 +++++++++--------- 12 files changed, 92 insertions(+), 94 deletions(-) diff --git a/package.json b/package.json index add23380bb..ddfda2344b 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "packages/*" ], "resolutions": { - "@polkadot/api": "^0.97.0-beta.27", - "@polkadot/api-contract": "^0.97.0-beta.27", + "@polkadot/api": "^0.97.0-beta.28", + "@polkadot/api-contract": "^0.97.0-beta.28", "@polkadot/keyring": "^1.7.0-beta.7", - "@polkadot/types": "^0.97.0-beta.27", + "@polkadot/types": "^0.97.0-beta.28", "@polkadot/util": "^1.7.0-beta.7", "@polkadot/util-crypto": "^1.7.0-beta.7", "babel-core": "^7.0.0-bridge.0", diff --git a/packages/app-accounts/package.json b/packages/app-accounts/package.json index 29440352d6..4164ba76da 100644 --- a/packages/app-accounts/package.json +++ b/packages/app-accounts/package.json @@ -12,7 +12,7 @@ "dependencies": { "@babel/runtime": "^7.7.2", "@polkadot/react-components": "^0.37.0-beta.116", - "@polkadot/react-qr": "^0.47.0-beta.9", + "@polkadot/react-qr": "^0.47.0-beta.10", "@types/file-saver": "^2.0.0", "@types/yargs": "^13.0.2", "babel-plugin-module-resolver": "^3.1.1", diff --git a/packages/app-contracts/package.json b/packages/app-contracts/package.json index 09d0135d13..d4ce50f3c7 100644 --- a/packages/app-contracts/package.json +++ b/packages/app-contracts/package.json @@ -11,7 +11,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.7.2", - "@polkadot/api-contract": "^0.97.0-beta.27", + "@polkadot/api-contract": "^0.97.0-beta.28", "@polkadot/react-components": "^0.37.0-beta.116" } } diff --git a/packages/app-storage/src/Query.tsx b/packages/app-storage/src/Query.tsx index 3a3ab53078..b77da9ec76 100644 --- a/packages/app-storage/src/Query.tsx +++ b/packages/app-storage/src/Query.tsx @@ -9,6 +9,7 @@ import { QueryTypes, StorageEntryPromise, StorageModuleQuery } from './types'; import React, { useEffect, useState } from 'react'; import styled from 'styled-components'; +import { unwrapStorageType } from '@polkadot/types/primitive/StorageKey'; import { Button, Labelled } from '@polkadot/react-components'; import { withCallDiv } from '@polkadot/react-api'; import valueToText from '@polkadot/react-params/valueToText'; @@ -51,14 +52,12 @@ function keyToName (isConst: boolean, _key: Uint8Array | StorageEntryPromise | C return `${key.creator.section}.${key.creator.method}`; } -function typeToString (key: StorageEntryPromise): string { - const type = key.creator.meta.type.isDoubleMap - ? key.creator.meta.type.asDoubleMap.value.toString() - : key.creator.meta.type.toString(); +function typeToString ({ creator: { meta: { modifier, type } } }: StorageEntryPromise): string { + const _type = unwrapStorageType(type); - return key.creator.meta.modifier.isOptional - ? `Option<${type}>` - : type; + return modifier.isOptional + ? `Option<${_type}>` + : _type; } function createComponent (type: string, Component: React.ComponentType, defaultProps: DefaultProps, renderHelper: ComponentRenderer): { Component: React.ComponentType; render: (createComponent: RenderFn) => React.ComponentType; refresh: (swallowErrors: boolean, contentShorten: boolean) => React.ComponentType } { diff --git a/packages/apps/package.json b/packages/apps/package.json index c790187a35..f1ed302b60 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -16,7 +16,7 @@ "@babel/runtime": "^7.7.2", "@polkadot/react-components": "^0.37.0-beta.116", "@polkadot/react-signer": "^0.37.0-beta.116", - "@polkadot/ui-assets": "^0.47.0-beta.9", + "@polkadot/ui-assets": "^0.47.0-beta.10", "query-string": "^6.8.3" } } diff --git a/packages/react-api/package.json b/packages/react-api/package.json index b25cd0606f..9adadea98d 100644 --- a/packages/react-api/package.json +++ b/packages/react-api/package.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme", "dependencies": { "@babel/runtime": "^7.7.2", - "@polkadot/api": "^0.97.0-beta.27", + "@polkadot/api": "^0.97.0-beta.28", "@polkadot/extension-dapp": "^0.14.0-beta.5", "edgeware-node-types": "^1.0.10", "rxjs-compat": "^6.5.3" diff --git a/packages/react-components/package.json b/packages/react-components/package.json index 1b47003e42..07cbe43c64 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -13,10 +13,10 @@ "@babel/runtime": "^7.7.2", "@polkadot/keyring": "^1.7.0-beta.7", "@polkadot/react-api": "^0.37.0-beta.116", - "@polkadot/react-identicon": "^0.47.0-beta.9", + "@polkadot/react-identicon": "^0.47.0-beta.10", "@polkadot/react-query": "^0.37.0-beta.116", - "@polkadot/ui-keyring": "^0.47.0-beta.9", - "@polkadot/ui-settings": "^0.47.0-beta.9", + "@polkadot/ui-keyring": "^0.47.0-beta.10", + "@polkadot/ui-settings": "^0.47.0-beta.10", "@types/chart.js": "^2.8.10", "@types/i18next": "^13.0.0", "@types/react-copy-to-clipboard": "^4.3.0", diff --git a/packages/react-components/src/InputStorage/options/key.tsx b/packages/react-components/src/InputStorage/options/key.tsx index 07ad690ca8..8cc9043465 100644 --- a/packages/react-components/src/InputStorage/options/key.tsx +++ b/packages/react-components/src/InputStorage/options/key.tsx @@ -2,11 +2,11 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. -import { StorageEntry } from '@polkadot/types/primitive/StorageKey'; import { DropdownOptions, DropdownOption } from '../../util/types'; import React from 'react'; import ApiPromise from '@polkadot/api/promise'; +import { StorageEntry, unwrapStorageType } from '@polkadot/types/primitive/StorageKey'; export default function createOptions (api: ApiPromise, sectionName: string): DropdownOptions { const section = api.query[sectionName]; @@ -29,7 +29,7 @@ export default function createOptions (api: ApiPromise, sectionName: string): Dr input = type.asDoubleMap.key1.toString() + ', ' + type.asDoubleMap.key2.toString(); } - let output = type.toString(); + let output = unwrapStorageType(type); if (type.isDoubleMap) { output = type.asDoubleMap.value.toString(); diff --git a/packages/react-params/src/Param/findComponent.ts b/packages/react-params/src/Param/findComponent.ts index 581c246870..f49f8194c2 100644 --- a/packages/react-params/src/Param/findComponent.ts +++ b/packages/react-params/src/Param/findComponent.ts @@ -47,7 +47,7 @@ const components: ComponentMap = ([ { c: Code, t: ['Code'] }, { c: Data, t: ['Data', 'Keys'] }, { c: Enum, t: ['Enum'] }, - { c: Hash256, t: ['CodeHash', 'Hash', 'H256', 'SeedOf'] }, + { c: Hash256, t: ['BlockHash', 'CodeHash', 'Hash', 'H256', 'SeedOf'] }, { c: Hash512, t: ['H512', 'Signature'] }, { c: KeyValue, t: ['KeyValue'] }, { c: KeyValueArray, t: ['Vec'] }, diff --git a/packages/react-params/src/initValue.ts b/packages/react-params/src/initValue.ts index 2e23a120f2..699fed9035 100644 --- a/packages/react-params/src/initValue.ts +++ b/packages/react-params/src/initValue.ts @@ -79,10 +79,9 @@ export default function getInitValue (def: TypeDef): RawParamValue | RawParamVal case 'Bytes': return new Bytes(registry); + case 'BlockHash': case 'CodeHash': case 'Hash': - return createType(registry, 'Hash'); - case 'H256': return createType(registry, 'H256'); diff --git a/packages/react-signer/package.json b/packages/react-signer/package.json index fe1bcf722c..2c4907636b 100644 --- a/packages/react-signer/package.json +++ b/packages/react-signer/package.json @@ -12,6 +12,6 @@ "dependencies": { "@babel/runtime": "^7.7.2", "@polkadot/react-components": "^0.37.0-beta.116", - "@polkadot/react-qr": "^0.47.0-beta.9" + "@polkadot/react-qr": "^0.47.0-beta.10" } } diff --git a/yarn.lock b/yarn.lock index 73d0f254bd..5ae23d7a52 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2029,35 +2029,35 @@ dependencies: "@types/node" ">= 8" -"@polkadot/api-contract@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-0.97.0-beta.27.tgz#26f9c6902af19efa8e4a9daf9b15021d7d112760" - integrity sha512-IbGEvLauX9xHMhuxJjVG6DWIiACCK6w3eoc+Zu9i3BXPNyrgjYLzn/kOh1yOOa+OxvW7ZzJ2nHBq+Kdkep+5pw== +"@polkadot/api-contract@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-0.97.0-beta.28.tgz#113aef1cc993c57815ac7cff88c002fc6281641d" + integrity sha512-B62jw2/1tZoVMa8OXj6ULPJ6dmEfF3UnGeS2L9ifaZ5wrVdCU9TTH6wVbTEe0ANzCcLY9op+r9Jm1/MQ5N8OSw== dependencies: "@babel/runtime" "^7.7.2" - "@polkadot/types" "^0.97.0-beta.27" + "@polkadot/types" "^0.97.0-beta.28" -"@polkadot/api-derive@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.97.0-beta.27.tgz#be73252edb28954d15f346cfa7e8cda9a938d51f" - integrity sha512-z7wtFLmAOPhOX6HJpDrEhV5hoPrhMliM4Xv0COzk89xyNt73XmMyGhLd3QfOPcet5Nzgq6iC5jYOjhxyYaOn1Q== +"@polkadot/api-derive@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.97.0-beta.28.tgz#a6086071a0220789f4ae5b5ab73c7efe218546a1" + integrity sha512-Rh+lUmCArzmQmtGzKvwVCP8t7xckLDgBNhZOB6AFJfb3oPTHAziXyuE0WQJeQIfgVgHzRDdZXF70X3NnV0Faww== dependencies: "@babel/runtime" "^7.7.2" - "@polkadot/api" "^0.97.0-beta.27" - "@polkadot/types" "^0.97.0-beta.27" + "@polkadot/api" "^0.97.0-beta.28" + "@polkadot/types" "^0.97.0-beta.28" -"@polkadot/api@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.97.0-beta.27.tgz#ec625c8bcee5371950e4c1cb54ff66227948d92c" - integrity sha512-Rx2HoUuYGtFeN7CFeZZlfk66acLzK8+gwJg9sR7z3e/xj6Ece1/L8cZwcnaZrAATm2vwQX7xaFSMFAbX0yMR3A== +"@polkadot/api@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.97.0-beta.28.tgz#b8c473eee6ff90b00e459a5937f4cf3c2cf86cd3" + integrity sha512-6RFxXuRelrToKxf5ljbuZHP7NNOSJSUIJH3jPuJBqy+Bqrn2aOnYH1iZXZ2+mkcfwwRX2aLyJm9k4XI53LkPxg== dependencies: "@babel/runtime" "^7.7.2" - "@polkadot/api-derive" "^0.97.0-beta.27" + "@polkadot/api-derive" "^0.97.0-beta.28" "@polkadot/keyring" "^1.7.0-beta.7" - "@polkadot/metadata" "^0.97.0-beta.27" - "@polkadot/rpc-core" "^0.97.0-beta.27" - "@polkadot/rpc-provider" "^0.97.0-beta.27" - "@polkadot/types" "^0.97.0-beta.27" + "@polkadot/metadata" "^0.97.0-beta.28" + "@polkadot/rpc-core" "^0.97.0-beta.28" + "@polkadot/rpc-provider" "^0.97.0-beta.28" + "@polkadot/types" "^0.97.0-beta.28" "@polkadot/util-crypto" "^1.7.0-beta.7" "@polkadot/dev-react@^0.32.0-beta.14": @@ -2160,10 +2160,10 @@ dependencies: "@babel/runtime" "^7.7.2" -"@polkadot/jsonrpc@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.97.0-beta.27.tgz#1b456c3ab9bcea3eeb8dbb7bf0c56a355083c672" - integrity sha512-ufBpC7yzV9a8jNsz2SYNYAYPxbcMotn6gJUpu5yEQFgrYWK6VpCLpk6ydHIkmFjYJf45mWuvwc1Dd6XCcWBnMQ== +"@polkadot/jsonrpc@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.97.0-beta.28.tgz#9335ac1c5ba92cb3e400c647465db8add6ce2028" + integrity sha512-oiV8AcFeI6hiafVM/Lp/eogfRbo9p++d+bPmRCk+dTchlc+/NhhrPy7w4/w4wfUoPIAQHHRuO2O/8lss/zciUA== dependencies: "@babel/runtime" "^7.7.2" @@ -2176,24 +2176,24 @@ "@polkadot/util" "^1.7.0-beta.7" "@polkadot/util-crypto" "^1.7.0-beta.7" -"@polkadot/metadata@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-0.97.0-beta.27.tgz#8c22ab31e859b12b55738bb93c52370695318a47" - integrity sha512-Ba+HNnUDo1Tb9fdPb4PrdJ3uN3xTOsREu77JMZG0uDSlsl+Tv6+V0PvCbSptfVuVaDXPIuAJeyoKZntJh2WF8A== +"@polkadot/metadata@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/metadata/-/metadata-0.97.0-beta.28.tgz#f6250d124a48b8922863b5c187a27ed7e979556d" + integrity sha512-ejZjZP2VzYTgaMarUMExG1euXskmRn+t6yvLgJlObUVG3R2MFpH0Z3ZmITWYWg8lyLXp+A4ia7zJvvjfcW+hbg== dependencies: "@babel/runtime" "^7.7.2" - "@polkadot/types" "^0.97.0-beta.27" + "@polkadot/types" "^0.97.0-beta.28" "@polkadot/util" "^1.7.0-beta.7" "@polkadot/util-crypto" "^1.7.0-beta.7" -"@polkadot/react-identicon@^0.47.0-beta.9": - version "0.47.0-beta.9" - resolved "https://registry.yarnpkg.com/@polkadot/react-identicon/-/react-identicon-0.47.0-beta.9.tgz#c7340f2de5e48220ce3a05b6bba87b318cb8c72c" - integrity sha512-PKM6NYV4zcoc4RakfoBgvHu4tJTh+ea8bC90imSm5cNnCrr2v53ZeRhAYffWQfCPfwpHyozkCAI7gfbroaXTsg== +"@polkadot/react-identicon@^0.47.0-beta.10": + version "0.47.0-beta.10" + resolved "https://registry.yarnpkg.com/@polkadot/react-identicon/-/react-identicon-0.47.0-beta.10.tgz#2933a931e0db7bbfefd4ec0f09d86240021020b5" + integrity sha512-Ml2/o+HWasvPHQ+POOmn27XddK1BYKnGzPEsse+MpTGbemOjFlVDQHYW//yBXivhzctk8CslOaeDpaMs34tPjg== dependencies: "@babel/runtime" "^7.7.2" - "@polkadot/ui-settings" "^0.47.0-beta.9" - "@polkadot/ui-shared" "^0.47.0-beta.9" + "@polkadot/ui-settings" "^0.47.0-beta.10" + "@polkadot/ui-shared" "^0.47.0-beta.10" "@types/color" "^3.0.0" "@types/react-copy-to-clipboard" "^4.3.0" color "^3.1.2" @@ -2201,35 +2201,35 @@ react-copy-to-clipboard "^5.0.2" styled-components "^4.4.1" -"@polkadot/react-qr@^0.47.0-beta.9": - version "0.47.0-beta.9" - resolved "https://registry.yarnpkg.com/@polkadot/react-qr/-/react-qr-0.47.0-beta.9.tgz#4d310fad92fbc122bf963a4c431fc15af28dfb7e" - integrity sha512-koO5b8sknzqiMGijHaUJ0L7bwiHPv92QSraH43U+KcT+/WVD64JeBYwjiOGRJwLAYNynFLuPBRbHvgthxbTeOA== +"@polkadot/react-qr@^0.47.0-beta.10": + version "0.47.0-beta.10" + resolved "https://registry.yarnpkg.com/@polkadot/react-qr/-/react-qr-0.47.0-beta.10.tgz#bb3d37ad542712268edf580a51ec960222c45ff1" + integrity sha512-B3ZOav8p38lobqRNJDVFvyFp3EqF4873bsK8qcGzNfdJ4hp0wY8qTT+ThjiniIIPynNXdUcxPLNfADHVWThXQw== dependencies: "@babel/runtime" "^7.7.2" "@types/react-qr-reader" "^2.1.1" qrcode-generator "^1.4.4" react-qr-reader "^2.2.1" -"@polkadot/rpc-core@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.97.0-beta.27.tgz#3028d51c4b23fc97daf6ceae307cde50952956c3" - integrity sha512-F6RgMRXOpXfaDM/DqNYiHkB98ZVMzBg7lsTJ/7xt4EW1Ihv3p1yIEPUj0HC1dGcaUQ4l0PqPa5ZJdD54iBihYA== +"@polkadot/rpc-core@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.97.0-beta.28.tgz#2f000db698a7e8f574ec1cbbcf4207fddfe10d75" + integrity sha512-67npaY5KtN4HlDw8O//wB4g7p3llXiyHw0tYQN9498n5q0ywgN1KnHl3DB1t+lddWoWdY8QJ+02+ue0IXsk9Zg== dependencies: "@babel/runtime" "^7.7.2" - "@polkadot/jsonrpc" "^0.97.0-beta.27" - "@polkadot/rpc-provider" "^0.97.0-beta.27" - "@polkadot/types" "^0.97.0-beta.27" + "@polkadot/jsonrpc" "^0.97.0-beta.28" + "@polkadot/rpc-provider" "^0.97.0-beta.28" + "@polkadot/types" "^0.97.0-beta.28" "@polkadot/util" "^1.7.0-beta.7" rxjs "^6.5.3" -"@polkadot/rpc-provider@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.97.0-beta.27.tgz#0e0be036958a696a495af82f0f361de6df6866a1" - integrity sha512-VAbfmVRd1yqmzPIBDu+/rI5XSEBxG776Sc9lJVhvYWzSRge9QjJLSlH8FaV3b3yrvkUm7ylyiquCe/0Io2jf/Q== +"@polkadot/rpc-provider@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.97.0-beta.28.tgz#e12499a4bcaf8f0b512b97ddf0d2661422d29a0c" + integrity sha512-OAeaQu2HdY4NGqDockkO2i7Of/KZk+Z/IVWKGdUnfKAy7xSMzt6ldwvclSuOA2V8WRIwV98FNR+0SqZS0ivY4w== dependencies: "@babel/runtime" "^7.7.2" - "@polkadot/metadata" "^0.97.0-beta.27" + "@polkadot/metadata" "^0.97.0-beta.28" "@polkadot/util" "^1.7.0-beta.7" "@polkadot/util-crypto" "^1.7.0-beta.7" eventemitter3 "^4.0.0" @@ -2243,10 +2243,10 @@ dependencies: "@types/chrome" "^0.0.91" -"@polkadot/types@^0.97.0-beta.27": - version "0.97.0-beta.27" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.97.0-beta.27.tgz#0ee167f74bcd70d13c1d81524201222536ea0e23" - integrity sha512-Asv673S66XjfWmP8WiDATDPv+qwe23+A0yletGLj0i5LfkPPsB2f52kPBXQASeGjhI3HQ9xiTLqzbAmkyB1rAQ== +"@polkadot/types@^0.97.0-beta.28": + version "0.97.0-beta.28" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.97.0-beta.28.tgz#b932e745eb066b74287284cbc95a29fb088334bf" + integrity sha512-HaxY2daVCggmnPbjl6spuSzJomW30/kGQu0pQDoFVcXzcD07h4zazT0ZqxXkvY1pPllCIKWTG8Q4K+sGOFPsow== dependencies: "@babel/runtime" "^7.7.2" "@polkadot/util" "^1.7.0-beta.7" @@ -2254,17 +2254,17 @@ "@types/memoizee" "^0.4.3" memoizee "^0.4.14" -"@polkadot/ui-assets@^0.47.0-beta.9": - version "0.47.0-beta.9" - resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.47.0-beta.9.tgz#7abc99afc336010fc5a69349d183215810c3925e" - integrity sha512-hwyXX7qXIwmNlN0KJMJUZorks9IR4oOEbG/uvzWpyU4bgkbirB5hS24w7E8hq9rz0bONrHT1osXbYO/Z27+aKw== +"@polkadot/ui-assets@^0.47.0-beta.10": + version "0.47.0-beta.10" + resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.47.0-beta.10.tgz#c1a8d5edc9c6439207ad23b4d30171440a80b2b1" + integrity sha512-TuAVkG4O6X/++HroN4Vm6TxpRdJ3UX6Oc74DdXkgzfEu3RVNgs/9MCKlB4oMEAezkAUyNBDPk2XKcrWMhZp56g== dependencies: "@babel/runtime" "^7.7.2" -"@polkadot/ui-keyring@^0.47.0-beta.9": - version "0.47.0-beta.9" - resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.47.0-beta.9.tgz#3dbe1ca745b7667a7865b94ebef80e2409d4fea8" - integrity sha512-JGBGgfPjvRGDo1lMojKEapN2wZG23a7o6f7taN8xdJhYpZ3wWvQsrz35U6sUn1Ez5jfQ38IzvdDozixfpUZrhA== +"@polkadot/ui-keyring@^0.47.0-beta.10": + version "0.47.0-beta.10" + resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.47.0-beta.10.tgz#61208a90a2d14a4e62225abe082e05c0a7647bcc" + integrity sha512-/GwvDHMUONBEekkc+bQ/ha+p3E/fNNNcwFV/khsI7qAgxi5vzYXuvAYe3Lf5SH2/l7TLFc/elQSkpcvH1BIjmQ== dependencies: "@babel/runtime" "^7.7.2" "@ledgerhq/hw-transport-u2f" "^4.73.7" @@ -2280,19 +2280,19 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.73.7" -"@polkadot/ui-settings@0.47.0-beta.9", "@polkadot/ui-settings@^0.47.0-beta.9": - version "0.47.0-beta.9" - resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.47.0-beta.9.tgz#59fd7f0a831ef932f5e877a27065a00da0e69ac7" - integrity sha512-57RK1oS3A23oHnHmMQLIo10pBKCOYINFsiv9fECuER+L4elFF/2/KuLD7uZJy0nOoN2Nk8OO/MiPVKxRD8yw+w== +"@polkadot/ui-settings@^0.47.0-beta.10": + version "0.47.0-beta.10" + resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.47.0-beta.10.tgz#a838bfceb380a28b84b4566d779a6cb86abe666f" + integrity sha512-2WSoeUaeSDpW1+t1vRtmP0dmEMlQlB/+RxEzJQpmkxsGY7I/EhDjh1BqI36bwYzaXRAjZz9IXNGrCLlO4OdJqA== dependencies: "@babel/runtime" "^7.7.2" "@types/store" "^2.0.2" store "^2.0.12" -"@polkadot/ui-shared@^0.47.0-beta.9": - version "0.47.0-beta.9" - resolved "https://registry.yarnpkg.com/@polkadot/ui-shared/-/ui-shared-0.47.0-beta.9.tgz#8c6e21993ba219da782c58b7cd95384a6bdd2971" - integrity sha512-0TbcDgXEZrRUc4XMd570sj3Xg1PstldJGIzh2nOxYPoQbqW78tKi54B+SlpkjUbBbIY6VtU/Wim4NbQC87gUKQ== +"@polkadot/ui-shared@^0.47.0-beta.10": + version "0.47.0-beta.10" + resolved "https://registry.yarnpkg.com/@polkadot/ui-shared/-/ui-shared-0.47.0-beta.10.tgz#f77a843f4345645526406cf5968e1778490a6c57" + integrity sha512-q8xtMNtFThx+YtLvWhU//VMWcPZMb+a2hIrPVnMUwWUwvSyQ4tYZC4tHgqfhK3prXnKMUejQ2Kr/5o+s/M9mPw== dependencies: "@babel/runtime" "^7.7.2" "@types/color" "^3.0.0"