diff --git a/packages/app-accounts/src/Backup.tsx b/packages/app-accounts/src/Backup.tsx index c474d5a1ed..f1ff8e7157 100644 --- a/packages/app-accounts/src/Backup.tsx +++ b/packages/app-accounts/src/Backup.tsx @@ -78,26 +78,25 @@ class Backup extends React.PureComponent { const { pair, t } = this.props; const { isPassValid, password } = this.state; - return [ - - {t('Backup account')} - , - - -
- -
-
- ]; + return ( + <> + + {t('Backup account')} + + + +
+ +
+
+ + ); } private doBackup = (): void => { diff --git a/packages/app-accounts/src/ChangePass.tsx b/packages/app-accounts/src/ChangePass.tsx index bdec22c99f..ecd60553ed 100644 --- a/packages/app-accounts/src/ChangePass.tsx +++ b/packages/app-accounts/src/ChangePass.tsx @@ -81,31 +81,33 @@ class ChangePass extends React.PureComponent { const { account, t } = this.props; const { isNewValid, isOldValid, newPass, oldPass } = this.state; - return [ - - {t('Change account password')} - , - - -
- - -
-
- ]; + return ( + <> + + {t('Change account password')} + + + +
+ + +
+
+ + ); } private doChange = (): void => { diff --git a/packages/app-accounts/src/Creator.tsx b/packages/app-accounts/src/Creator.tsx index 9f92d7382a..e94925d0b9 100644 --- a/packages/app-accounts/src/Creator.tsx +++ b/packages/app-accounts/src/Creator.tsx @@ -227,21 +227,23 @@ class Creator extends React.PureComponent { const { t } = this.props; const { address } = this.state; - return [ - - {t('sImportant notice!')} - , - - {t('We will provide you with a generated backup file after your account is created. As long as you have access to your account you can always redownload this file later.')} - - {t('Please make sure to save this file in a secure location as it is the only way to restore your account.')} - - - - ]; + return ( + <> + + {t('Important notice!')} + + + {t('We will provide you with a generated backup file after your account is created. As long as you have access to your account you can always redownload this file later.')} + + {t('Please make sure to save this file in a secure location as it is the only way to restore your account.')} + + + + + ); } private generateSeed (seedType: SeedType, passthrough?: string | null): State { diff --git a/packages/app-accounts/src/Forgetting.tsx b/packages/app-accounts/src/Forgetting.tsx index 491fa997ed..146553c6ac 100644 --- a/packages/app-accounts/src/Forgetting.tsx +++ b/packages/app-accounts/src/Forgetting.tsx @@ -55,14 +55,16 @@ class Forgetting extends React.PureComponent { renderContent () { const { address, t } = this.props; - return [ - - {t('Confirm account removal')} - , - - - - ]; + return ( + <> + + {t('Confirm account removal')} + + + + + + ); } } diff --git a/packages/app-addresses/src/Forgetting.tsx b/packages/app-addresses/src/Forgetting.tsx index eb0c7803b8..1c5c63a2ec 100644 --- a/packages/app-addresses/src/Forgetting.tsx +++ b/packages/app-addresses/src/Forgetting.tsx @@ -71,17 +71,19 @@ class Forgetting extends React.PureComponent { ? currentAddress.address() : undefined; - return [ - - {t('Confirm address removal')} - , - - - - ]; + return ( + <> + + {t('Confirm address removal')} + + + + + + ); } } diff --git a/packages/app-explorer/src/BlockByHash/BlockByHash.tsx b/packages/app-explorer/src/BlockByHash/BlockByHash.tsx index f5276c8fff..92cd061fe6 100644 --- a/packages/app-explorer/src/BlockByHash/BlockByHash.tsx +++ b/packages/app-explorer/src/BlockByHash/BlockByHash.tsx @@ -31,26 +31,16 @@ class BlockByHash extends React.PureComponent { return null; } - return [ -
- -
, - , - , - - ]; + return ( + <> +
+ +
+ + + + + ); } } diff --git a/packages/app-explorer/src/BlockHeader/Extrinsics.tsx b/packages/app-explorer/src/BlockHeader/Extrinsics.tsx deleted file mode 100644 index ee7afbe011..0000000000 --- a/packages/app-explorer/src/BlockHeader/Extrinsics.tsx +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2017-2019 @polkadot/app-explorer 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 { I18nProps } from '@polkadot/ui-app/types'; - -import React from 'react'; -import { withCall, withMulti } from '@polkadot/ui-api/index'; - -import translate from '../translate'; - -type Props = I18nProps & { - hash: Uint8Array, - chain_getBlock: any -}; - -class Extrinsics extends React.PureComponent { - render () { - const { chain_getBlock, t } = this.props; - - if (!chain_getBlock || !chain_getBlock.extrinsics) { - return null; - } - - return ( - - extrinsics - - {t('{{count}} in block', { - replace: { - count: chain_getBlock.extrinsics.length - } - })} - - - ); - } - -} - -export default withMulti( - Extrinsics, - translate, - withCall('rpc.chain.getBlock', { paramName: 'hash' }) -); diff --git a/packages/app-explorer/src/BlockHeader/index.tsx b/packages/app-explorer/src/BlockHeader/index.tsx index 12a89aa81c..e43312be5b 100644 --- a/packages/app-explorer/src/BlockHeader/index.tsx +++ b/packages/app-explorer/src/BlockHeader/index.tsx @@ -12,18 +12,15 @@ import { HeaderExtended } from '@polkadot/types/Header'; import { AddressMini } from '@polkadot/ui-app/index'; import numberFormat from '@polkadot/ui-reactive/util/numberFormat'; -import Extrinsics from './Extrinsics'; - type Props = BareProps & { isSummary?: boolean, value?: HeaderExtended, - withExtrinsics?: boolean, withLink?: boolean }; export default class BlockHeader extends React.PureComponent { render () { - const { isSummary, value, withExtrinsics = false, withLink = false } = this.props; + const { isSummary, value, withLink = false } = this.props; if (!value) { return null; @@ -69,10 +66,6 @@ export default class BlockHeader extends React.PureComponent {
stateRoot
{stateRoot.toHex()}
- {withExtrinsics - ? - : undefined - } diff --git a/packages/app-explorer/src/Main.tsx b/packages/app-explorer/src/Main.tsx index c693bfada0..5f3c4b0e0e 100644 --- a/packages/app-explorer/src/Main.tsx +++ b/packages/app-explorer/src/Main.tsx @@ -18,23 +18,22 @@ class Main extends React.PureComponent { render () { const { t } = this.props; - return [ - , - , -
-
-

{t('recent blocks')}

- + return ( + <> + + +
+
+

{t('recent blocks')}

+ +
+
+

{t('recent events')}

+ +
-
-

{t('recent events')}

- -
-
- ]; + + ); } } diff --git a/packages/app-explorer/src/SummarySession.tsx b/packages/app-explorer/src/SummarySession.tsx index d47d55585f..0cf11c2891 100644 --- a/packages/app-explorer/src/SummarySession.tsx +++ b/packages/app-explorer/src/SummarySession.tsx @@ -16,7 +16,7 @@ type Props = I18nProps & { session_eraLength?: BN, session_eraProgress?: BN, session_sessionProgress?: BN, - // FIXME Replaced in poc-3 + // FIXME Replaced in poc-3, we should calculate the session reward // sessionBrokenValue?: BN, // sessionBrokenPercentLate?: BN, session_sessionLength?: BlockNumber, @@ -27,12 +27,12 @@ type Props = I18nProps & { class SummarySession extends React.PureComponent { render () { - return [ - this.renderSession(), - this.renderEra() - // FIXME Replace with "reward" - // this.renderBroken() - ]; + return ( + <> + {this.renderSession()} + {this.renderEra()} + + ); } // private renderBroken () { @@ -44,7 +44,6 @@ class SummarySession extends React.PureComponent { // return ( // { return ( { return ( { private renderCurrent () { const { current, t } = this.props; - return [ -

- {t('validators', { - replace: { - count: current.length - } - })} -

, - this.renderColumn(current, t('validator')) - ]; + return ( + <> +

+ {t('validators', { + replace: { + count: current.length + } + })} +

+ {this.renderColumn(current, t('validator'))} + + ); } private renderNext () { const { next, t } = this.props; - return [ -

{t('next up')}

, - this.renderColumn(next, t('intention')) - ]; + return ( + <> +

{t('next up')}

+ {this.renderColumn(next, t('intention'))} + + ); } private getDisplayName (address: string, defaultName: string) { @@ -76,7 +80,7 @@ class CurrentList extends React.PureComponent { if (addresses.length === 0) { return ( -
{t('no addresses found')}
+
{t('no addresses found')}
); } @@ -89,7 +93,7 @@ class CurrentList extends React.PureComponent { } return ( -
+
{addresses.map((address) => { const nominators = (balances[address] || {}).nominators || []; diff --git a/packages/app-staking/src/StakeList/Nominating.tsx b/packages/app-staking/src/StakeList/Nominating.tsx index 9d9f7e781d..280775677b 100644 --- a/packages/app-staking/src/StakeList/Nominating.tsx +++ b/packages/app-staking/src/StakeList/Nominating.tsx @@ -85,21 +85,23 @@ class Nominating extends React.PureComponent { const { t } = this.props; const { isNomineeValid, nominee } = this.state; - return [ - - {t('Nominate Validator')} - , - - - {this.renderErrors()} - - ]; + return ( + <> + + {t('Nominate Validator')} + + + + {this.renderErrors()} + + + ); } private renderErrors () { diff --git a/packages/app-staking/src/StakeList/Preferences.tsx b/packages/app-staking/src/StakeList/Preferences.tsx index 3c4586743b..9615c9daff 100644 --- a/packages/app-staking/src/StakeList/Preferences.tsx +++ b/packages/app-staking/src/StakeList/Preferences.tsx @@ -90,36 +90,38 @@ class Preferences extends React.PureComponent { const { t } = this.props; const { unstakeThreshold, validatorPayment } = this.state; - return [ - - {t('Validator Preferences')} - , - - - - - ]; + return ( + <> + + {t('Validator Preferences')} + + + + + + + ); } private onChangePayment = (validatorPayment?: BN) => { diff --git a/packages/app-storage/src/Query.tsx b/packages/app-storage/src/Query.tsx index 2b0846b727..0aa252a2d4 100644 --- a/packages/app-storage/src/Query.tsx +++ b/packages/app-storage/src/Query.tsx @@ -172,11 +172,13 @@ class Query extends React.PureComponent { ); } - return [ -
(
, - inputs, -
):
- ]; + return ( + <> +
(
+ {inputs} +
):
+ + ); } private keyToName (key: Uint8Array | StorageFunction): string { diff --git a/packages/app-storage/src/Selection/index.tsx b/packages/app-storage/src/Selection/index.tsx index 9c006170b8..a799cd7726 100644 --- a/packages/app-storage/src/Selection/index.tsx +++ b/packages/app-storage/src/Selection/index.tsx @@ -56,19 +56,18 @@ class Selection extends React.PureComponent { const { action, items } = this.state; const Component = Components[action]; - return [ -
- -
, - - ]; + return ( + <> +
+ +
+ + + ); } private onAdd = (query: ParitalQueryTypes) => { diff --git a/packages/app-toolbox/src/Unlock.tsx b/packages/app-toolbox/src/Unlock.tsx index 9ce717349f..0b126fede8 100644 --- a/packages/app-toolbox/src/Unlock.tsx +++ b/packages/app-toolbox/src/Unlock.tsx @@ -83,32 +83,34 @@ class Unlock extends React.PureComponent { const { t } = this.props; const { address, password, unlockError } = this.state; - return [ -
-
-

- - You are about to unlock your account {address} to allow for the signing of messages. - -

-
- -
, -
-
- +
+
+

+ + You are about to unlock your account {address} to allow for the signing of messages. + +

+
+
-
- ]; +
+
+ +
+
+ + ); } unlockAccount (password?: string): string | null { diff --git a/packages/ui-api/package.json b/packages/ui-api/package.json index 43086ba00e..3d3f87e367 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.40.25", - "@polkadot/types": "^0.40.25", + "@polkadot/api": "^0.41.2", + "@polkadot/types": "^0.41.2", "rxjs-compat": "^6.3.2" } } diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index e3abf68307..be8fa524ef 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -11,10 +11,10 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.2.0", - "@polkadot/extrinsics": "^0.40.25", + "@polkadot/extrinsics": "^0.41.2", "@polkadot/keyring": "^0.33.36", - "@polkadot/storage": "^0.40.25", - "@polkadot/types": "^0.40.25", + "@polkadot/storage": "^0.41.2", + "@polkadot/types": "^0.41.2", "@polkadot/ui-api": "^0.22.48", "@polkadot/ui-identicon": "^0.25.8", "@polkadot/ui-keyring": "^0.25.8", diff --git a/packages/ui-app/src/CardSummary.tsx b/packages/ui-app/src/CardSummary.tsx index a22cb0354c..26f806ac50 100644 --- a/packages/ui-app/src/CardSummary.tsx +++ b/packages/ui-app/src/CardSummary.tsx @@ -48,6 +48,10 @@ export default class CardSummary extends React.PureComponent { ) : undefined; + if (progress && isUndefined(left)) { + return null; + } + return (
{ const { democracy_minimumDeposit = new BN(0), t } = this.props; const { extraAmount, isBelowMinimum } = this.state; - return [ - isBelowMinimum - ?
{t('The deposit is below the {{minimum}} minimum required for the proposal to be evaluated', { - replace: { - minimum: balanceFormat(democracy_minimumDeposit) - } - })}
- : undefined, - extraAmount.isZero() - ? undefined - :
{t('The deposit of {{deposit}} will be reserved until the proposal is completed', { - replace: { - deposit: balanceFormat(extraAmount) - } - })}
- ]; + return ( + <> + { + isBelowMinimum + ?
{t('The deposit is below the {{minimum}} minimum required for the proposal to be evaluated', { + replace: { + minimum: balanceFormat(democracy_minimumDeposit) + } + })}
+ : undefined + } + { + extraAmount.isZero() + ? undefined + :
{t('The deposit of {{deposit}} will be reserved until the proposal is completed', { + replace: { + deposit: balanceFormat(extraAmount) + } + })}
+ } + + ); } } diff --git a/packages/ui-signer/src/Fees/Transfer.tsx b/packages/ui-signer/src/Fees/Transfer.tsx index 24835c259f..4602b66fa0 100644 --- a/packages/ui-signer/src/Fees/Transfer.tsx +++ b/packages/ui-signer/src/Fees/Transfer.tsx @@ -72,18 +72,24 @@ class Transfer extends React.PureComponent { const { fees, t } = this.props; const { isCreation, isNoEffect } = this.state; - return [ - isNoEffect - ?
{t('The final recipient amount is less than the existential amount, hence the total will be deducted from the sender, however the recipient account will not reflect the amount sent')}
- : undefined, - isCreation - ?
{t('A fee of {{creationFee}} will be deducted from the sender since the destination account does not exist', { - replace: { - creationFee: `${balanceFormat(fees.creationFee)}` - } - })}
- : undefined - ]; + return ( + <> + { + isNoEffect + ?
{t('The final recipient amount is less than the existential amount, hence the total will be deducted from the sender, however the recipient account will not reflect the amount sent')}
+ : undefined + } + { + isCreation + ?
{t('A fee of {{creationFee}} will be deducted from the sender since the destination account does not exist', { + replace: { + creationFee: balanceFormat(fees.creationFee) + } + })}
+ : undefined + } + + ); } } diff --git a/packages/ui-signer/src/Transaction.tsx b/packages/ui-signer/src/Transaction.tsx index d5da938fb6..34e1860c14 100644 --- a/packages/ui-signer/src/Transaction.tsx +++ b/packages/ui-signer/src/Transaction.tsx @@ -27,23 +27,25 @@ class Transaction extends React.PureComponent { const { method, section } = Method.findFunction(extrinsic.callIndex); - return [ - - {section}.{method} - , - -
-
-
- {this.renderAccount()} - {children} + return ( + <> + + {section}.{method} + + +
+
+
+ {this.renderAccount()} + {children} +
+ + {this.renderFees()}
- - {this.renderFees()}
-
- - ]; + + + ); } private renderAccount () { diff --git a/yarn.lock b/yarn.lock index 12599de566..f449d598da 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1385,31 +1385,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.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.40.25.tgz#7ad0d4b372531e979554c66bbefe354487f6cbb1" - integrity sha512-A6WiggdMT3r06T2AJR1j0VuwTAhF9ve6nVBNrfDylBN/MD6HFTkTocuMactIdgYeMu9QpAwiGdGqma4FmWpGoA== +"@polkadot/api-derive@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.41.2.tgz#a11ad6770df6a0c0c6d10ea9de30bb4413191963" + integrity sha512-jtCBQsavRG9SjMxmj2ulL3nNERGeHJtgbJ8I1WkhhOBwv/VSfguJtRo8WkfsIW4UtrGvU41KFckFDs3Z9whB4A== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/api" "^0.40.25" - "@polkadot/types" "^0.40.25" + "@polkadot/api" "^0.41.2" + "@polkadot/types" "^0.41.2" "@types/memoizee" "^0.4.2" "@types/rx" "^4.1.1" memoizee "^0.4.14" rxjs "^6.3.3" -"@polkadot/api@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.40.25.tgz#fb788ffc67dcb0cc66988709f7b8e0f2be9ea86b" - integrity sha512-BLvESJwzvErUsX7onDTgwvQWsgsV02y5drc+CFUFnijgg9VPirXRw1DapAlvdJan4YBmhTzPnZAjWFiJLn84qw== +"@polkadot/api@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.41.2.tgz#3c6f13953b62757181ba89c7b1da234e02bba1ba" + integrity sha512-UGzAtuN6mehMKveXVSe/chvxc7TdfhunR73pg0q+9HgnZs/PGqGqFck4q7xT4gbeVXnVLvPCF7NekkDigVyx0g== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/api-derive" "^0.40.25" - "@polkadot/extrinsics" "^0.40.25" - "@polkadot/rpc-provider" "^0.40.25" - "@polkadot/rpc-rx" "^0.40.25" - "@polkadot/storage" "^0.40.25" - "@polkadot/types" "^0.40.25" + "@polkadot/api-derive" "^0.41.2" + "@polkadot/extrinsics" "^0.41.2" + "@polkadot/rpc-provider" "^0.41.2" + "@polkadot/rpc-rx" "^0.41.2" + "@polkadot/storage" "^0.41.2" + "@polkadot/types" "^0.41.2" "@types/rx" "^4.1.1" rxjs "^6.3.3" @@ -1489,19 +1489,19 @@ typedoc-plugin-no-inherit "^1.1.2" typescript "^3.2.2" -"@polkadot/extrinsics@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.40.25.tgz#2f2370591201e258f3085fce1687423d76f895cb" - integrity sha512-VkFjZkoowd2JxNBqQsZ7oY+YIq0f4Ngy0JjOHClo61QJMYQc5IU3LBf3+gBaHH72s73901Ui6lI6n0NKzqohKg== +"@polkadot/extrinsics@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.41.2.tgz#25f1e8c6f895e0cae9d98a4f8e4839a49b2f7810" + integrity sha512-5sMwMUlPvokArmQrguOhElNpf7zGWZsherte+grdXMypnbNIdP6v3+ps4ms5lw1gAchil5LmnGHSHRbITyzooQ== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/types" "^0.40.25" + "@polkadot/types" "^0.41.2" "@polkadot/util" "^0.33.36" -"@polkadot/jsonrpc@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.40.25.tgz#01d92e8d3934353505ac65ddd9969a8e3a86cf5a" - integrity sha512-psCR8uFCh67VIOY1J2QEkKkLMH4m2reK4rmCmcL26FJEGrPB1Eo5Of+qO6e1bU5s/bzAraXZrX+MfsyXpoSqZg== +"@polkadot/jsonrpc@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.41.2.tgz#d0db4b85e36f02626975f7564f51e17e932c5a41" + integrity sha512-Rk4AS0Wvx9+hdYINiqcrp6GnXnzb1/Tc2xx0IREGU63PsSea0Lr65TmotYOPEhp0T6MFF5HzLuNdt44WJV0EPw== dependencies: "@babel/runtime" "^7.2.0" @@ -1516,25 +1516,25 @@ "@types/bs58" "^4.0.0" bs58 "^4.0.1" -"@polkadot/rpc-core@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.40.25.tgz#f7d9c70c3be02a7ee5e23dd0d5e0dc7dc4b721eb" - integrity sha512-RE2ADJWL3dGr93/dUg8tVPaXzcKvH2Oc7kONf7NI8mSn9sqJZsEQ1G27ImnI+lfLZmikiCATyTYxGrxOIPNhTQ== +"@polkadot/rpc-core@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.41.2.tgz#8958b23acfc13839f8f0767885fa0af66c9cbf41" + integrity sha512-JUTDOfarscEpATa4+L6egXAN+6Bysk2WCvKh5X81+ZVBRghcL3/Mz8ugJWdKPjyf5v9OmYYaXCwXXrTxczfo/A== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/jsonrpc" "^0.40.25" - "@polkadot/rpc-provider" "^0.40.25" - "@polkadot/types" "^0.40.25" + "@polkadot/jsonrpc" "^0.41.2" + "@polkadot/rpc-provider" "^0.41.2" + "@polkadot/types" "^0.41.2" "@polkadot/util" "^0.33.36" -"@polkadot/rpc-provider@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.40.25.tgz#31cd8d06ef76760fb6f9597a06f18bf8ea8c125f" - integrity sha512-+RuHIvZJj9MtXLVHvZJDxmpHdIjgdNFE4XgMMMKA/bOOxGWMu4bVLwEM51xnkZBjY2pb4S0eXFGKTRVCnf6DYg== +"@polkadot/rpc-provider@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.41.2.tgz#f135c5a8ae297b917cba67c1ef2273ed0d11b179" + integrity sha512-2aWFwYwPQK+SXGbxJ6QMzheM0W+d3PExiDn3+C+TjVRfJif/+FAqPTxXc2qRMVL3p0TH64MKcHRibgA8LMv4+A== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.36" - "@polkadot/storage" "^0.40.25" + "@polkadot/storage" "^0.41.2" "@polkadot/util" "^0.33.36" "@polkadot/util-crypto" "^0.33.36" "@types/nock" "^9.3.0" @@ -1542,25 +1542,25 @@ isomorphic-fetch "^2.2.1" websocket "^1.0.28" -"@polkadot/rpc-rx@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.40.25.tgz#801ee1aebd8548ea5013e91b50665b4d8647f58f" - integrity sha512-avIXaoOD843s4fz4pB1ky+x9f+RiI4ySvZc7JDfB8GXXELPf3XX9bXR+ltB89kfVYnxrJKAxSqGmocg05Nx+7g== +"@polkadot/rpc-rx@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.41.2.tgz#16a50df2baaac3da2ce814847288a077dc6263fa" + integrity sha512-LSwGCP4IWLzyUfLTcLQL2GRpeybjEmIVWp8s6WcnqAZKqD2XlzH3YN5rIgaJ46PEOjM3jKMgvFH72bblm/egKw== dependencies: "@babel/runtime" "^7.2.0" - "@polkadot/rpc-core" "^0.40.25" - "@polkadot/rpc-provider" "^0.40.25" + "@polkadot/rpc-core" "^0.41.2" + "@polkadot/rpc-provider" "^0.41.2" "@types/rx" "^4.1.1" rxjs "^6.3.3" -"@polkadot/storage@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.40.25.tgz#118bc7ab5e86e42265f4ca815779ac4a457b8514" - integrity sha512-5igB+g/OBA9FMgWiWD6aAbnk/26t7CYSsZd/eAQ2NsbwIU11SCc12tofmgb13Ia56HNCdL7xpMWdrOU2pZyWpQ== +"@polkadot/storage@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.41.2.tgz#c89d386d92af255f3b00d280fd9dda3850ffc684" + integrity sha512-PipjGLmB0ZwiQop/kmexyNsogNhV13SJVs3ND7DaFfMMbk8tNAvjs8FyFpxKhPQPFHxPJp96fIaywoSjuW5Zkw== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.36" - "@polkadot/types" "^0.40.25" + "@polkadot/types" "^0.41.2" "@polkadot/util" "^0.33.36" "@polkadot/util-crypto" "^0.33.36" @@ -1569,10 +1569,10 @@ resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.52.tgz#6fb09e494d244dad4b3a9ca581bfe13beec66565" integrity sha512-sij1O0x4CY51A394RYD4/aQwDPwIxIeTOpYI4AZgdF/vq5nvF14b4XFq9vAcSnblaIosf0sYKoz1f3dkN3QqLw== -"@polkadot/types@^0.40.25": - version "0.40.25" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.40.25.tgz#2a161d7f71c2f4241e889056d8040f01d63e82d8" - integrity sha512-gv4m0DdETF+MVEIDWUJuzBB0AGsx8HIKGazfmfssep8u/IwCPdq4bK3dQidlUnil6/5b4vqq+HEfMZSXfU7hJA== +"@polkadot/types@^0.41.2": + version "0.41.2" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.41.2.tgz#cf0d3535ca2df03f6d9e2a514bd7e65f0cec0f2c" + integrity sha512-8dpOTcd1FDi321CJ5Oz+bkGkNCcmrFMi0fHyWC6EXR6Q+UktfGFr+FiebzoYgBwpkvH49RMCIzbo9g48jMBjFg== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.36"