diff --git a/packages/app-accounts/src/Restore.tsx b/packages/app-accounts/src/Restore.tsx index b0c8d9a4d7..243d0ed846 100644 --- a/packages/app-accounts/src/Restore.tsx +++ b/packages/app-accounts/src/Restore.tsx @@ -8,7 +8,6 @@ import { I18nProps } from '@polkadot/ui-app/types'; import React from 'react'; import { AddressSummary, Button, InputFile, Password } from '@polkadot/ui-app/index'; import { InputAddress } from '@polkadot/ui-app/InputAddress'; -import { decodeAddress } from '@polkadot/keyring'; import { isHex, isObject, u8aToString } from '@polkadot/util'; import keyring from '@polkadot/ui-keyring'; @@ -111,7 +110,7 @@ class Restore extends React.PureComponent { private onChangeFile = (file: Uint8Array): void => { try { const json = JSON.parse(u8aToString(file)); - const isFileValid = decodeAddress(json.address).length === 32 && + const isFileValid = keyring.decodeAddress(json.address).length === 32 && isHex(json.encoded) && isObject(json.meta) && json.encoding.content === 'pkcs8'; diff --git a/packages/app-addresses/src/Creator.tsx b/packages/app-addresses/src/Creator.tsx index d509e24414..8c888f582f 100644 --- a/packages/app-addresses/src/Creator.tsx +++ b/packages/app-addresses/src/Creator.tsx @@ -20,6 +20,7 @@ type Props = I18nProps & { type State = { address: string, + isAddressExisting: boolean, isAddressValid: boolean, isNameValid: boolean, isValid: boolean, @@ -113,6 +114,7 @@ class Creator extends React.PureComponent { emptyState (): State { return { address: '', + isAddressExisting: false, isAddressValid: false, isNameValid: true, isValid: false, @@ -120,12 +122,13 @@ class Creator extends React.PureComponent { }; } - nextState (newState: State): void { + nextState (newState: State, allowEdit: boolean = false): void { this.setState( (prevState: State, props: Props): State => { - const { address = prevState.address, name = prevState.name } = newState; + let { address = prevState.address, name = prevState.name } = newState; let isAddressValid = true; + let isAddressExisting = false; let newAddress = address; try { @@ -133,6 +136,19 @@ class Creator extends React.PureComponent { keyring.decodeAddress(address) ); isAddressValid = keyring.isAvailable(newAddress); + + if (!isAddressValid) { + const old = keyring.getAddress(newAddress); + + if (old.isValid) { + if (!allowEdit) { + name = old.getMeta().name || name; + } + + isAddressExisting = true; + isAddressValid = true; + } + } } catch (error) { isAddressValid = false; } @@ -141,6 +157,7 @@ class Creator extends React.PureComponent { return { address: newAddress, + isAddressExisting, isAddressValid, isNameValid, isValid: isAddressValid && isNameValid, @@ -155,12 +172,12 @@ class Creator extends React.PureComponent { } onChangeName = (name: string): void => { - this.nextState({ name } as State); + this.nextState({ name } as State, true); } onCommit = (): void => { const { onCreateAddress, onStatusChange, t } = this.props; - const { address, name } = this.state; + const { address, isAddressExisting, name } = this.state; const status = { action: 'create' @@ -171,9 +188,13 @@ class Creator extends React.PureComponent { status.account = address; status.status = address ? 'success' : 'error'; - status.message = t('status.created', { - defaultValue: 'address created' - }); + status.message = isAddressExisting + ? t('status.edited', { + defaultValue: 'address edited' + }) + : t('status.created', { + defaultValue: 'address created' + }); InputAddress.setLastValue('address', address); } catch (err) { diff --git a/packages/app-addresses/src/Editor.tsx b/packages/app-addresses/src/Editor.tsx index c604e018ea..f4c8089fea 100644 --- a/packages/app-addresses/src/Editor.tsx +++ b/packages/app-addresses/src/Editor.tsx @@ -9,7 +9,6 @@ import React from 'react'; import { AddressSummary, Button, Input, InputAddress } from '@polkadot/ui-app/index'; import { ActionStatus } from '@polkadot/ui-app/Status/types'; import keyring from '@polkadot/ui-keyring'; -import { decodeAddress } from '@polkadot/keyring'; import Forgetting from './Forgetting'; import translate from './translate'; @@ -173,7 +172,7 @@ class Editor extends React.PureComponent { } onChangeAddress = (accountId: string): void => { - const current = accountId && decodeAddress(accountId) + const current = accountId && keyring.decodeAddress(accountId) ? (keyring.getAddress(accountId) || null) : null; diff --git a/packages/app-extrinsics/src/Params/Account.tsx b/packages/app-extrinsics/src/Params/Account.tsx index 406f4aed55..d23fae1527 100644 --- a/packages/app-extrinsics/src/Params/Account.tsx +++ b/packages/app-extrinsics/src/Params/Account.tsx @@ -5,7 +5,7 @@ import { Props } from '@polkadot/ui-params/types'; import React from 'react'; -import { decodeAddress } from '@polkadot/keyring'; +import keyring from '@polkadot/ui-keyring'; import BaseAccount from '../Account'; @@ -35,7 +35,7 @@ export default class Account extends React.PureComponent { let isValid = false; try { - decodeAddress(value); + keyring.decodeAddress(value); isValid = true; } catch (err) { diff --git a/packages/app-staking/src/StakeList/Account.tsx b/packages/app-staking/src/StakeList/Account.tsx index 214b843a5e..b582332a18 100644 --- a/packages/app-staking/src/StakeList/Account.tsx +++ b/packages/app-staking/src/StakeList/Account.tsx @@ -46,7 +46,7 @@ class Account extends React.PureComponent { } static getDerivedStateFromProps ({ query_staking_nominating }: Props) { - const isNominating = !!query_staking_nominating && query_staking_nominating.length === 32; + const isNominating = !!query_staking_nominating && !query_staking_nominating.isEmpty; return { isNominating diff --git a/packages/app-staking/src/StakeList/Nominating.tsx b/packages/app-staking/src/StakeList/Nominating.tsx index 2c4f779aab..8ac815c541 100644 --- a/packages/app-staking/src/StakeList/Nominating.tsx +++ b/packages/app-staking/src/StakeList/Nominating.tsx @@ -5,8 +5,8 @@ import { I18nProps } from '@polkadot/ui-app/types'; import React from 'react'; -import { decodeAddress } from '@polkadot/keyring'; import { Button, Input, Modal } from '@polkadot/ui-app/index'; +import keyring from '@polkadot/ui-keyring'; import translate from '../translate'; @@ -144,7 +144,7 @@ class Nominating extends React.PureComponent { let isAddressFormatValid = false; try { - decodeAddress(nominee); + keyring.decodeAddress(nominee); isAddressFormatValid = true; } catch (err) { diff --git a/packages/app-toolbox/src/Verify.tsx b/packages/app-toolbox/src/Verify.tsx index 7d25cda717..165c3df11e 100644 --- a/packages/app-toolbox/src/Verify.tsx +++ b/packages/app-toolbox/src/Verify.tsx @@ -5,7 +5,6 @@ import { I18nProps as Props } from '@polkadot/ui-app/types'; import React from 'react'; -import { decodeAddress } from '@polkadot/keyring'; import { Icon, Input, InputAddress, Static } from '@polkadot/ui-app/index'; import keyring from '@polkadot/ui-keyring'; import { hexToU8a, isHex, stringToU8a } from '@polkadot/util'; @@ -184,7 +183,7 @@ class Verify extends React.PureComponent { let currentPublicKey; try { - currentPublicKey = decodeAddress(accountId); + currentPublicKey = keyring.decodeAddress(accountId); } catch (err) { console.error(err); } diff --git a/packages/app-transfer/src/Transfer.tsx b/packages/app-transfer/src/Transfer.tsx index 58fbb77d91..161d02b56c 100644 --- a/packages/app-transfer/src/Transfer.tsx +++ b/packages/app-transfer/src/Transfer.tsx @@ -8,12 +8,12 @@ import { ApiProps } from '@polkadot/ui-api/types'; import BN from 'bn.js'; import React from 'react'; -import { decodeAddress } from '@polkadot/keyring'; import { Extrinsic } from '@polkadot/types'; import { BitLengthOption } from '@polkadot/ui-app/constants'; import { AddressSummary, InputAddress, InputNumber } from '@polkadot/ui-app/index'; import { withApi, withMulti } from '@polkadot/ui-api/index'; import { QueueConsumer } from '@polkadot/ui-app/Status/Context'; +import keyring from '@polkadot/ui-keyring'; import FeeDisplay from '@polkadot/ui-signer/Fees'; import Submit from './Submit'; @@ -116,7 +116,7 @@ class Transfer extends React.PureComponent { } try { - decodeAddress(accountId); + keyring.decodeAddress(accountId); } catch (err) { return null; } diff --git a/packages/apps/package.json b/packages/apps/package.json index 69cb98b222..3fe01104bd 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -26,7 +26,7 @@ "@polkadot/app-transfer": "^0.22.16", "@polkadot/app-vanitygen": "^0.22.16", "@polkadot/ui-app": "^0.22.16", - "@polkadot/ui-assets": "^0.25.3", + "@polkadot/ui-assets": "^0.25.4", "@polkadot/ui-signer": "^0.22.16" } } diff --git a/packages/ui-api/package.json b/packages/ui-api/package.json index cc9982ff72..abe93a278b 100644 --- a/packages/ui-api/package.json +++ b/packages/ui-api/package.json @@ -31,8 +31,8 @@ "homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/api": "^0.39.8", - "@polkadot/types": "^0.39.8", + "@polkadot/api": "^0.39.9", + "@polkadot/types": "^0.39.9", "rxjs-compat": "^6.3.2" } } diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index a081157d02..353a57854f 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -11,15 +11,15 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/extrinsics": "^0.39.8", + "@polkadot/extrinsics": "^0.39.9", "@polkadot/keyring": "^0.33.33", - "@polkadot/storage": "^0.39.8", - "@polkadot/types": "^0.39.8", + "@polkadot/storage": "^0.39.9", + "@polkadot/types": "^0.39.9", "@polkadot/ui-api": "^0.22.16", - "@polkadot/ui-identicon": "^0.25.3", - "@polkadot/ui-keyring": "^0.25.3", + "@polkadot/ui-identicon": "^0.25.4", + "@polkadot/ui-keyring": "^0.25.4", "@polkadot/ui-reactive": "^0.22.16", - "@polkadot/ui-settings": "^0.25.3", + "@polkadot/ui-settings": "^0.25.4", "@polkadot/util": "^0.33.33", "@polkadot/util-crypto": "^0.33.33", "@types/chart.js": "^2.7.42", diff --git a/packages/ui-params/src/Param/Account.tsx b/packages/ui-params/src/Param/Account.tsx index c78aec4515..f307574fdd 100644 --- a/packages/ui-params/src/Param/Account.tsx +++ b/packages/ui-params/src/Param/Account.tsx @@ -5,8 +5,8 @@ import { Props } from '../types'; import React from 'react'; -import { decodeAddress } from '@polkadot/keyring'; import { InputAddress } from '@polkadot/ui-app/index'; +import keyring from '@polkadot/ui-keyring'; import Bare from './Bare'; @@ -42,7 +42,7 @@ export default class Account extends React.PureComponent { if (value) { try { - decodeAddress(value); + keyring.decodeAddress(value); isValid = true; } catch (err) { diff --git a/packages/ui-params/src/valueToText.tsx b/packages/ui-params/src/valueToText.tsx index ef54e483c5..6f0fc93289 100644 --- a/packages/ui-params/src/valueToText.tsx +++ b/packages/ui-params/src/valueToText.tsx @@ -8,9 +8,9 @@ import React from 'react'; import classes from '@polkadot/ui-app/util/classes'; import { isNull, isUndefined, u8aToHex } from '@polkadot/util'; -// import { decodeAddress } from '@polkadot/keyring'; // import IdentityIcon from '@polkadot/ui-react/IdentityIcon'; // import numberFormat from '@polkadot/ui-reactive/util/numberFormat'; +// import keyring from '@polkadot/ui-keyring'; // import u8aToHex from '@polkadot/util/u8a/toHex'; // import isBn from '@polkadot/util/is/bn'; // import isU8a from '@polkadot/util/is/u8a'; diff --git a/packages/ui-reactive/package.json b/packages/ui-reactive/package.json index e50d3848f3..0f96c6cadb 100644 --- a/packages/ui-reactive/package.json +++ b/packages/ui-reactive/package.json @@ -31,8 +31,8 @@ "homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/api": "^0.39.8", - "@polkadot/types": "^0.39.8", + "@polkadot/api": "^0.39.9", + "@polkadot/types": "^0.39.9", "rxjs-compat": "^6.3.2" } } diff --git a/packages/ui-signer/src/Modal.tsx b/packages/ui-signer/src/Modal.tsx index 9b9820ebdc..7b96bdd837 100644 --- a/packages/ui-signer/src/Modal.tsx +++ b/packages/ui-signer/src/Modal.tsx @@ -11,7 +11,6 @@ import { QueueTx, QueueTx$MessageSetStatus, QueueTx$Result, QueueTx$Status } fro import React from 'react'; import SubmittableExtrinsic from '@polkadot/api/promise/SubmittableExtrinsic'; -import { decodeAddress } from '@polkadot/keyring'; import { Button, Modal } from '@polkadot/ui-app/index'; import keyring from '@polkadot/ui-keyring'; import { withApi, withMulti } from '@polkadot/ui-api/index'; @@ -179,7 +178,7 @@ class Signer extends React.PureComponent { let publicKey; try { - publicKey = decodeAddress(accountId); + publicKey = keyring.decodeAddress(accountId); } catch (err) { console.error(err); return null; diff --git a/yarn.lock b/yarn.lock index e08afca17e..4d8871058c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1369,31 +1369,31 @@ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== -"@polkadot/api-derive@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.39.8.tgz#7fd8a274977c5c7f5ed09de07b67d9ccd6ef2e66" - integrity sha512-/cAt2N2Evu1isJAll7fpf8XAyGAN8sC0Eeq4mDncb57sbplmrWV+FqJ0m9QRt558/CdCJXshNWKBLEbFY12Uqw== +"@polkadot/api-derive@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.39.9.tgz#d94de6755179d91fb69a13e362b0c0d005691320" + integrity sha512-zlbrSra29OcZqgz/b2Ni1qP7CnDbd9nHFxm5rQ2cn8aHDdYGcujLGvD9xKlwLMb38TEvSpLLZfR8xub6L4V4cA== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/api" "^0.39.8" - "@polkadot/types" "^0.39.8" + "@polkadot/api" "^0.39.9" + "@polkadot/types" "^0.39.9" "@types/memoizee" "^0.4.2" "@types/rx" "^4.1.1" memoizee "^0.4.14" rxjs "^6.3.3" -"@polkadot/api@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.39.8.tgz#12a62da4cef2ede1db59e478a036c7160c85cb1e" - integrity sha512-iiQ97QOhhAPs346UbU1W6eAdXMOdp1R86CZ2a/eBy9Dh9CGclClhuWmp4sny0g7MbCesPu/VgAfrI1VJBNK20Q== +"@polkadot/api@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.39.9.tgz#89699e3843d60f9d305f057fae4040c00e4de167" + integrity sha512-5/7S/6NV1A4t2n1Ofpu8fmXRAZz7HNUlmZpHMgH4dt0Byzd73v+p2a4nGKORsOkEAJmrXuyD9hr7YODvAkBL5w== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/api-derive" "^0.39.8" - "@polkadot/extrinsics" "^0.39.8" - "@polkadot/rpc-provider" "^0.39.8" - "@polkadot/rpc-rx" "^0.39.8" - "@polkadot/storage" "^0.39.8" - "@polkadot/types" "^0.39.8" + "@polkadot/api-derive" "^0.39.9" + "@polkadot/extrinsics" "^0.39.9" + "@polkadot/rpc-provider" "^0.39.9" + "@polkadot/rpc-rx" "^0.39.9" + "@polkadot/storage" "^0.39.9" + "@polkadot/types" "^0.39.9" "@types/rx" "^4.1.1" rxjs "^6.3.3" @@ -1472,19 +1472,19 @@ typedoc-plugin-no-inherit "^1.1.1" typescript "^3.2.2" -"@polkadot/extrinsics@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.39.8.tgz#d7bd638c4ed7cbb1b82c6b5ba90d28fd790ae399" - integrity sha512-bLrOE1MXN5h9/ezXUvtUAqTxsXuF534DyCmHS058MntGNXDwcyZO2J/l8w9Vd8abfzHbbpvAtiVkYpuiGTnPDQ== +"@polkadot/extrinsics@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.39.9.tgz#4b2a8aacd5e64b732021195291200e67383f0752" + integrity sha512-5De+az1SMis2g3dgjBjWsDn3XAmvTUXmOWlbSj3MH35CCkhYrO0wQT0xM4brTIzCAOzdniL/WzGyblDwakidhw== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/types" "^0.39.8" + "@polkadot/types" "^0.39.9" "@polkadot/util" "^0.33.33" -"@polkadot/jsonrpc@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.39.8.tgz#dbe4b04a4a7cd4d670f59985d3d7e0c52d1df946" - integrity sha512-2goSlDJ6kuHXp2XBb5RxZar6SU2Eqt5O9LEwXX7+AaXx9JJSNbqcRS1kmchys+gd3Fy72iHBB5YfylUtvudFgw== +"@polkadot/jsonrpc@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.39.9.tgz#c89308317d879549a4150451f327d50dd3065e02" + integrity sha512-CmsYfWSqN+srAx/n80fbWPnoy7Jt1FArmjTC69jAdrliBUj7NeZcH2aJljIQmlMvxxJLltEufhZHRGlHIDn9wA== dependencies: "@babel/runtime" "^7.2.0" @@ -1499,25 +1499,25 @@ "@types/bs58" "^4.0.0" bs58 "^4.0.1" -"@polkadot/rpc-core@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.39.8.tgz#d9d92959da7f087b8ac976d2c8e74220c85fbe63" - integrity sha512-26x3bdiB3miqpZ6LFH6xgZBgpFGG9vBmMtsYkxYEXhy+ilQv1vSQOWIoslDchfwWdAYvSNWXc+JhBQ5fBsleZA== +"@polkadot/rpc-core@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.39.9.tgz#47cc51d9e8fe964d9ec2bbc9a3bc6c7877d09cdf" + integrity sha512-l6OgsIuxMP5tkDzdq+A/JUa8506lU6MPK/s1SbiZ7TSo/siFT1VvlREvP7Ilqg/FM45rJj33hM0LRGTsX8fzqg== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/jsonrpc" "^0.39.8" - "@polkadot/rpc-provider" "^0.39.8" - "@polkadot/types" "^0.39.8" + "@polkadot/jsonrpc" "^0.39.9" + "@polkadot/rpc-provider" "^0.39.9" + "@polkadot/types" "^0.39.9" "@polkadot/util" "^0.33.33" -"@polkadot/rpc-provider@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.39.8.tgz#a67e0bda3467d7cf86564665949e46e32f258b3f" - integrity sha512-AngHJyqbySwHeVvRcJjkgM2X/krhkJYLswuyM5uIpE7DUnu+0jyIJVoMnYjV+S/ATRtbr4wt4F2LMVjsTI546Q== +"@polkadot/rpc-provider@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.39.9.tgz#fc412526227e6c4fbbe23727f11b0ce088bd634f" + integrity sha512-0RZ7zMBDksiRW1aQVK6+J/u/JeoV+gXpeka7oxLCe0vcLUW4vsf81P80ZaYO/dFGXF+O0OtMVNUkXH26+BMn/w== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.33" - "@polkadot/storage" "^0.39.8" + "@polkadot/storage" "^0.39.9" "@polkadot/util" "^0.33.33" "@polkadot/util-crypto" "^0.33.33" "@types/nock" "^9.3.0" @@ -1525,25 +1525,25 @@ isomorphic-fetch "^2.2.1" websocket "^1.0.28" -"@polkadot/rpc-rx@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.39.8.tgz#b1fdb7eeaf10df0c833f7a813e866ff0fec7f9e1" - integrity sha512-NjMiILnPl1vFX9i74ny/xRk9ZOwtJKwivrV+o2rfAcwbIVN+JsccBQRdTbMokSImSYP2ydPobGZIG+rFiG34jA== +"@polkadot/rpc-rx@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.39.9.tgz#71745d486b03364612cc324721aef77c7eb74835" + integrity sha512-Zpk/vzcwQmhEOsa5LSl/wy4p4hMEjSi59cpSZ5gcBEuI7JDyo/qWrsQdAqKqATw3ocf16ZoCMHsu/01uUcszaQ== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/rpc-core" "^0.39.8" - "@polkadot/rpc-provider" "^0.39.8" + "@polkadot/rpc-core" "^0.39.9" + "@polkadot/rpc-provider" "^0.39.9" "@types/rx" "^4.1.1" rxjs "^6.3.3" -"@polkadot/storage@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.39.8.tgz#ac2d20ec750cc94876ab88572e209e998fd3edfe" - integrity sha512-xfStLTgbQC2PB7zSAxyPb9R3rLZYm5iZkEKcDDAviJwJlK4l3pRjSNmrl24Yf5bKsOlDsb7tBt1A/Z05sh//mA== +"@polkadot/storage@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.39.9.tgz#cf6ca4766654cc289f493441ab648a7c00d39333" + integrity sha512-oAK+bEyaNDn3G6so6aEJ6+jTHOAjXqK3rdJbh8uFQOWJgYfkA6udFf3pJr4hWA+4oDxptTrsPvAum0z36ha88g== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.33" - "@polkadot/types" "^0.39.8" + "@polkadot/types" "^0.39.9" "@polkadot/util" "^0.33.33" "@polkadot/util-crypto" "^0.33.33" @@ -1552,49 +1552,49 @@ resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.49.tgz#9f4cf54540ca10bec64910bb3f5e094db609b63d" integrity sha512-0qtOAmT5DJcDjgnfx95ByljJYjMqgOA72SWsBfZq9myzzCrAvoVXMn7lzfKvpPgaZooTJ+vpp/YqXgx3507LKQ== -"@polkadot/types@^0.39.8": - version "0.39.8" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.39.8.tgz#780c12c831ab003058f5a4c3cef8eccaf9d6349e" - integrity sha512-dfL4mqOjVSePHvp0xoqskZs+jHmAEBItNNPuOlM6WqKUw4xuETdSDnirVLLrfxBbV/rk7J+GB2VS61AuLyUWZA== +"@polkadot/types@^0.39.9": + version "0.39.9" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.39.9.tgz#1f19407f7f6b09fe56cc8e2ba784b9bc32176d59" + integrity sha512-gngwbR0B48Q0IPAqqpVmrFGQrdNHy376iZKHgDzdHd8461c0kQt7qUa+VTEyGkDWBF794134jax/I0OIaMTNpg== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.33" "@polkadot/util" "^0.33.33" core-js "^2.6.1" -"@polkadot/ui-assets@^0.25.3": - version "0.25.3" - resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.25.3.tgz#02a3f33629a4ba326d4f3b80d87ceb2af30ca578" - integrity sha512-HOeBJQYR8QAy/JqZO5c1Amby3CtNr0KwdsGZAHsyu72CQCcBNbVmGkh5qR+NYLcYHcxsLgCUQ1oh+eDXSWkzpQ== +"@polkadot/ui-assets@^0.25.4": + version "0.25.4" + resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.25.4.tgz#9ba643e6d6f488fadc085927d6cc6e7a7103cbd2" + integrity sha512-QPRTYOksZDjL1E7B+Jhkb/sgS/l/NA+RxNgCYxMideo+8UDWoJAKkujdvYjMeJRZaFJSOVjQM9q45O6gITpGVA== dependencies: "@babel/runtime" "^7.2.0" -"@polkadot/ui-identicon@^0.25.3": - version "0.25.3" - resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.25.3.tgz#f5c87735627c376cd50417c8dea06f7844773511" - integrity sha512-5g9BOOj88WtvwgOKhuOlO4yVJFZ+w60VcNOU7ov27i2iDXEFMNHjj3/L188FzwwMLyhWfoFK7b26RLIZHFp9DA== +"@polkadot/ui-identicon@^0.25.4": + version "0.25.4" + resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.25.4.tgz#d43e482246c4caeee10f20b20d4f47fc2af041fc" + integrity sha512-vT+bFTJAtW0KUlzvyHqeKrGc9YyV2ocuq8YmBTy3vzztCDNn9Ghgf2KDJKCBH8K4hCLc2z6CvjnJKqPLtB5Wqg== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/ui-settings" "^0.25.3" + "@polkadot/ui-settings" "^0.25.4" "@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.3": - version "0.25.3" - resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.25.3.tgz#8fbc4f876c9cd5a8593f292b4323bde4f23e3c82" - integrity sha512-bGtgSEWX4X88TUKXuLpurXjUwTUCSV+bELihZRKQOIJ8hUlaTyDODBKdbZ5X7Y9ICwDhaWEp0Q8gWhoe8tQMKw== +"@polkadot/ui-keyring@^0.25.4": + version "0.25.4" + resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.25.4.tgz#16bd1660fed0577ebf4b409c1d37bda9aa239a93" + integrity sha512-2VCF18xo7fabQXQao+dCStkP+zQaMiZfX8CMyX+NBLWhe+fCRtYhGCA5DZnH73G9/9AlkZIn/7Pfl1Gvk3T7Sg== dependencies: "@babel/runtime" "^7.2.0" "@types/store" "^2.0.1" rxjs "^6.3.3" store "^2.0.12" -"@polkadot/ui-settings@^0.25.3": - version "0.25.3" - resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.25.3.tgz#9e7d69eabc3999b452dde3ad51c551126fcead33" - integrity sha512-AwZUapK9B0057Ft9P21ydqoUPct/u02iIGqwu067aDSQLeVG8W20daF2k5v27XmbiXswx8kgUsE8wyvx7G1jSQ== +"@polkadot/ui-settings@^0.25.4": + version "0.25.4" + resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.25.4.tgz#34468089a7f5971bf56aedf1bc8a8d20878abbf6" + integrity sha512-X20y3b5MOdxRAE+VFfmXBC1KfzD6nS1em1ETAL6w4PdgGw1ZxnkJ3U05pt3UuLFfydRD2kEGq/w1ef1ZdVfjWA== dependencies: "@babel/runtime" "^7.2.0" "@types/store" "^2.0.1"