API update (metadata v1), fragment support (#652)

* Use fragments instead of [] returns

* Frament part 2

* Update API

* Update Creator.tsx

* Review cleanups
This commit is contained in:
Jaco Greeff 2019-01-26 17:27:13 +01:00 committed by GitHub
parent 11c0224b3a
commit 612b5d0f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 353 additions and 383 deletions

View File

@ -78,26 +78,25 @@ class Backup extends React.PureComponent<Props, State> {
const { pair, t } = this.props;
const { isPassValid, password } = this.state;
return [
<Modal.Header key='header'>
{t('Backup account')}
</Modal.Header>,
<Modal.Content
className='app--account-Backup-content'
key='content'
>
<AddressSummary value={pair.address()} />
<div className='ui--row'>
<Password
isError={!isPassValid}
label={t('unlock account using the password')}
onChange={this.onChangePass}
tabIndex={0}
value={password}
/>
</div>
</Modal.Content>
];
return (
<>
<Modal.Header>
{t('Backup account')}
</Modal.Header>
<Modal.Content className='app--account-Backup-content'>
<AddressSummary value={pair.address()} />
<div className='ui--row'>
<Password
isError={!isPassValid}
label={t('unlock account using the password')}
onChange={this.onChangePass}
tabIndex={0}
value={password}
/>
</div>
</Modal.Content>
</>
);
}
private doBackup = (): void => {

View File

@ -81,31 +81,33 @@ class ChangePass extends React.PureComponent<Props, State> {
const { account, t } = this.props;
const { isNewValid, isOldValid, newPass, oldPass } = this.state;
return [
<Modal.Header key='header'>
{t('Change account password')}
</Modal.Header>,
<Modal.Content key='content'>
<AddressSummary value={account.address()} />
<div className='ui--row'>
<Password
autoFocus
isError={!isOldValid}
label={t('old password')}
onChange={this.onChangeOld}
tabIndex={1}
value={oldPass}
/>
<Password
isError={!isNewValid}
label={t('new password')}
onChange={this.onChangeNew}
tabIndex={2}
value={newPass}
/>
</div>
</Modal.Content>
];
return (
<>
<Modal.Header>
{t('Change account password')}
</Modal.Header>
<Modal.Content>
<AddressSummary value={account.address()} />
<div className='ui--row'>
<Password
autoFocus
isError={!isOldValid}
label={t('old password')}
onChange={this.onChangeOld}
tabIndex={1}
value={oldPass}
/>
<Password
isError={!isNewValid}
label={t('new password')}
onChange={this.onChangeNew}
tabIndex={2}
value={newPass}
/>
</div>
</Modal.Content>
</>
);
}
private doChange = (): void => {

View File

@ -227,21 +227,23 @@ class Creator extends React.PureComponent<Props, State> {
const { t } = this.props;
const { address } = this.state;
return [
<Modal.Header key='header'>
{t('sImportant notice!')}
</Modal.Header>,
<Modal.Content key='content'>
{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.')}
<Modal.Description>
{t('Please make sure to save this file in a secure location as it is the only way to restore your account.')}
</Modal.Description>
<AddressSummary
className='accounts--Modal-Address'
value={address}
/>
</Modal.Content>
];
return (
<>
<Modal.Header>
{t('Important notice!')}
</Modal.Header>
<Modal.Content>
{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.')}
<Modal.Description>
{t('Please make sure to save this file in a secure location as it is the only way to restore your account.')}
</Modal.Description>
<AddressSummary
className='accounts--Modal-Address'
value={address}
/>
</Modal.Content>
</>
);
}
private generateSeed (seedType: SeedType, passthrough?: string | null): State {

View File

@ -55,14 +55,16 @@ class Forgetting extends React.PureComponent<Props> {
renderContent () {
const { address, t } = this.props;
return [
<Modal.Header key='header'>
{t('Confirm account removal')}
</Modal.Header>,
<Modal.Content key='content'>
<AddressSummary value={address} />
</Modal.Content>
];
return (
<>
<Modal.Header>
{t('Confirm account removal')}
</Modal.Header>
<Modal.Content>
<AddressSummary value={address} />
</Modal.Content>
</>
);
}
}

View File

@ -71,17 +71,19 @@ class Forgetting extends React.PureComponent<Props> {
? currentAddress.address()
: undefined;
return [
<Modal.Header key='header'>
{t('Confirm address removal')}
</Modal.Header>,
<Modal.Content className='forgetting-Address' key='content'>
<AddressSummary
className='ui--AddressSummary-base'
value={address || ''}
/>
</Modal.Content>
];
return (
<>
<Modal.Header>
{t('Confirm address removal')}
</Modal.Header>
<Modal.Content className='forgetting-Address'>
<AddressSummary
className='ui--AddressSummary-base'
value={address || ''}
/>
</Modal.Content>
</>
);
}
}

View File

@ -31,26 +31,16 @@ class BlockByHash extends React.PureComponent<Props> {
return null;
}
return [
<header key='header'>
<BlockHeader
value={chain_getHeader}
withExtrinsics
/>
</header>,
<Extrinsics
key='extrinsics'
value={chain_getBlock.block.extrinsics}
/>,
<Events
key='events'
value={system_events}
/>,
<Logs
key='logs'
value={chain_getHeader.digest.logs}
/>
];
return (
<>
<header>
<BlockHeader value={chain_getHeader} />
</header>
<Extrinsics value={chain_getBlock.block.extrinsics} />
<Events value={system_events} />
<Logs value={chain_getHeader.digest.logs} />
</>
);
}
}

View File

@ -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<Props> {
render () {
const { chain_getBlock, t } = this.props;
if (!chain_getBlock || !chain_getBlock.extrinsics) {
return null;
}
return (
<tr>
<td className='type'>extrinsics</td>
<td className='hash'>
{t('{{count}} in block', {
replace: {
count: chain_getBlock.extrinsics.length
}
})}
</td>
</tr>
);
}
}
export default withMulti(
Extrinsics,
translate,
withCall('rpc.chain.getBlock', { paramName: 'hash' })
);

View File

@ -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<Props> {
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<Props> {
<div className='type'>stateRoot</div>
<div className='hash'>{stateRoot.toHex()}</div>
</div>
{withExtrinsics
? <Extrinsics hash={value.hash} />
: undefined
}
</div>
</div>
</article>

View File

@ -18,23 +18,22 @@ class Main extends React.PureComponent<Props> {
render () {
const { t } = this.props;
return [
<Summary key='summary' />,
<Query key='query' />,
<div
className='explorer--Overview'
key='overview'
>
<div className='column'>
<h1>{t('recent blocks')}</h1>
<BlockHeaders />
return (
<>
<Summary />
<Query />
<div className='explorer--Overview'>
<div className='column'>
<h1>{t('recent blocks')}</h1>
<BlockHeaders />
</div>
<div className='column'>
<h1>{t('recent events')}</h1>
<EventsRecent />
</div>
</div>
<div className='column'>
<h1>{t('recent events')}</h1>
<EventsRecent />
</div>
</div>
];
</>
);
}
}

View File

@ -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<Props> {
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<Props> {
// return (
// <CardSummary
// key='brokenCount'
// label={t('lateness')}
// progress={{
// color: 'autoReverse',
@ -65,7 +64,6 @@ class SummarySession extends React.PureComponent<Props> {
return (
<CardSummary
key='eraProgress'
label={t('era')}
progress={{
total: session_eraLength,
@ -84,7 +82,6 @@ class SummarySession extends React.PureComponent<Props> {
return (
<CardSummary
key='sessionProgress'
label={t('session')}
progress={{
total: session_sessionLength,

View File

@ -40,25 +40,29 @@ class CurrentList extends React.PureComponent<Props> {
private renderCurrent () {
const { current, t } = this.props;
return [
<h1 key='header'>
{t('validators', {
replace: {
count: current.length
}
})}
</h1>,
this.renderColumn(current, t('validator'))
];
return (
<>
<h1>
{t('validators', {
replace: {
count: current.length
}
})}
</h1>
{this.renderColumn(current, t('validator'))}
</>
);
}
private renderNext () {
const { next, t } = this.props;
return [
<h1 key='header'>{t('next up')}</h1>,
this.renderColumn(next, t('intention'))
];
return (
<>
<h1>{t('next up')}</h1>
{this.renderColumn(next, t('intention'))}
</>
);
}
private getDisplayName (address: string, defaultName: string) {
@ -76,7 +80,7 @@ class CurrentList extends React.PureComponent<Props> {
if (addresses.length === 0) {
return (
<div key='none'>{t('no addresses found')}</div>
<div>{t('no addresses found')}</div>
);
}
@ -89,7 +93,7 @@ class CurrentList extends React.PureComponent<Props> {
}
return (
<div key='list'>
<div>
{addresses.map((address) => {
const nominators = (balances[address] || {}).nominators || [];

View File

@ -85,21 +85,23 @@ class Nominating extends React.PureComponent<Props, State> {
const { t } = this.props;
const { isNomineeValid, nominee } = this.state;
return [
<Modal.Header key='header'>
{t('Nominate Validator')}
</Modal.Header>,
<Modal.Content className='ui--signer-Signer-Content' key='content'>
<Input
className='medium'
isError={!isNomineeValid}
label={t('nominate the following address (validator or intention)')}
onChange={this.onChangeNominee}
value={nominee}
/>
{this.renderErrors()}
</Modal.Content>
];
return (
<>
<Modal.Header>
{t('Nominate Validator')}
</Modal.Header>
<Modal.Content className='ui--signer-Signer-Content'>
<Input
className='medium'
isError={!isNomineeValid}
label={t('nominate the following address (validator or intention)')}
onChange={this.onChangeNominee}
value={nominee}
/>
{this.renderErrors()}
</Modal.Content>
</>
);
}
private renderErrors () {

View File

@ -90,36 +90,38 @@ class Preferences extends React.PureComponent<Props, State> {
const { t } = this.props;
const { unstakeThreshold, validatorPayment } = this.state;
return [
<Modal.Header key='header'>
{t('Validator Preferences')}
</Modal.Header>,
<Modal.Content className='ui--signer-Signer-Content' key='content'>
<InputNumber
bitLength={32}
className='medium'
label={t('unstake threshold')}
onChange={this.onChangeThreshold}
value={
unstakeThreshold
? unstakeThreshold.toString()
: '0'
}
/>
<InputNumber
bitLength={128}
className='medium'
isSi
label={t('payment preferences')}
onChange={this.onChangePayment}
value={
validatorPayment
? validatorPayment.toString()
: '0'
}
/>
</Modal.Content>
];
return (
<>
<Modal.Header>
{t('Validator Preferences')}
</Modal.Header>
<Modal.Content className='ui--signer-Signer-Content'>
<InputNumber
bitLength={32}
className='medium'
label={t('unstake threshold')}
onChange={this.onChangeThreshold}
value={
unstakeThreshold
? unstakeThreshold.toString()
: '0'
}
/>
<InputNumber
bitLength={128}
className='medium'
isSi
label={t('payment preferences')}
onChange={this.onChangePayment}
value={
validatorPayment
? validatorPayment.toString()
: '0'
}
/>
</Modal.Content>
</>
);
}
private onChangePayment = (validatorPayment?: BN) => {

View File

@ -172,11 +172,13 @@ class Query extends React.PureComponent<Props, State> {
);
}
return [
<div key='open' className='ui--Param-text name'>(</div>,
inputs,
<div key='close' className='ui--Param-text name'>):</div>
];
return (
<>
<div className='ui--Param-text name'>(</div>
{inputs}
<div className='ui--Param-text name'>):</div>
</>
);
}
private keyToName (key: Uint8Array | StorageFunction): string {

View File

@ -56,19 +56,18 @@ class Selection extends React.PureComponent<Props, State> {
const { action, items } = this.state;
const Component = Components[action];
return [
<header key='header'>
<Tabs
activeItem={action}
items={items}
onChange={this.onTabChange}
/>
</header>,
<Component
key='component'
onAdd={this.onAdd}
/>
];
return (
<>
<header>
<Tabs
activeItem={action}
items={items}
onChange={this.onTabChange}
/>
</header>
<Component onAdd={this.onAdd} />
</>
);
}
private onAdd = (query: ParitalQueryTypes) => {

View File

@ -83,32 +83,34 @@ class Unlock extends React.PureComponent<Props, State> {
const { t } = this.props;
const { address, password, unlockError } = this.state;
return [
<div className='toolbox--Unlock-Content' key='content'>
<div className='expanded'>
<p>
<Trans>
You are about to unlock your account <span className='code'>{address}</span> to allow for the signing of messages.
</Trans>
</p>
</div>
<IdentityIcon
className='icon'
value={address}
/>
</div>,
<div className='toolbox--Unlock-Entry' key='entry'>
<div className='ui--row'>
<Password
className='medium'
isError={!!unlockError}
label={t('unlock account using')}
onChange={this.onChangePassword}
value={password}
return (
<>
<div className='toolbox--Unlock-Content'>
<div className='expanded'>
<p>
<Trans>
You are about to unlock your account <span className='code'>{address}</span> to allow for the signing of messages.
</Trans>
</p>
</div>
<IdentityIcon
className='icon'
value={address}
/>
</div>
</div>
];
<div className='toolbox--Unlock-Entry'>
<div className='ui--row'>
<Password
className='medium'
isError={!!unlockError}
label={t('unlock account using')}
onChange={this.onChangePassword}
value={password}
/>
</div>
</div>
</>
);
}
unlockAccount (password?: string): string | null {

View File

@ -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"
}
}

View File

@ -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",

View File

@ -48,6 +48,10 @@ export default class CardSummary extends React.PureComponent<Props> {
)
: undefined;
if (progress && isUndefined(left)) {
return null;
}
return (
<article
className={classes('ui--CardSummary', className)}

View File

@ -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"
}
}

View File

@ -61,22 +61,28 @@ class Proposal extends React.PureComponent<Props, State> {
const { democracy_minimumDeposit = new BN(0), t } = this.props;
const { extraAmount, isBelowMinimum } = this.state;
return [
isBelowMinimum
? <div key='belowmin'><Icon name='warning sign' />{t('The deposit is below the {{minimum}} minimum required for the proposal to be evaluated', {
replace: {
minimum: balanceFormat(democracy_minimumDeposit)
}
})}</div>
: undefined,
extraAmount.isZero()
? undefined
: <div key='infodeposit'><Icon name='arrow right' />{t('The deposit of {{deposit}} will be reserved until the proposal is completed', {
replace: {
deposit: balanceFormat(extraAmount)
}
})}</div>
];
return (
<>
{
isBelowMinimum
? <div><Icon name='warning sign' />{t('The deposit is below the {{minimum}} minimum required for the proposal to be evaluated', {
replace: {
minimum: balanceFormat(democracy_minimumDeposit)
}
})}</div>
: undefined
}
{
extraAmount.isZero()
? undefined
: <div><Icon name='arrow right' />{t('The deposit of {{deposit}} will be reserved until the proposal is completed', {
replace: {
deposit: balanceFormat(extraAmount)
}
})}</div>
}
</>
);
}
}

View File

@ -72,18 +72,24 @@ class Transfer extends React.PureComponent<Props, State> {
const { fees, t } = this.props;
const { isCreation, isNoEffect } = this.state;
return [
isNoEffect
? <div key='noeffect'><Icon name='warning sign' />{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')}</div>
: undefined,
isCreation
? <div key='create'><Icon name='warning sign' />{t('A fee of {{creationFee}} will be deducted from the sender since the destination account does not exist', {
replace: {
creationFee: `${balanceFormat(fees.creationFee)}`
}
})}</div>
: undefined
];
return (
<>
{
isNoEffect
? <div><Icon name='warning sign' />{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')}</div>
: undefined
}
{
isCreation
? <div><Icon name='warning sign' />{t('A fee of {{creationFee}} will be deducted from the sender since the destination account does not exist', {
replace: {
creationFee: balanceFormat(fees.creationFee)
}
})}</div>
: undefined
}
</>
);
}
}

View File

@ -27,23 +27,25 @@ class Transaction extends React.PureComponent<Props> {
const { method, section } = Method.findFunction(extrinsic.callIndex);
return [
<Modal.Header key='header'>
{section}.{method}
</Modal.Header>,
<Modal.Content className='ui--signer-Signer-Content' key='content'>
<div className='ui--signer-Signer-Decoded'>
<div className='expanded'>
<div className='ui--signer-Signer-children'>
{this.renderAccount()}
{children}
return (
<>
<Modal.Header>
{section}.{method}
</Modal.Header>
<Modal.Content className='ui--signer-Signer-Content'>
<div className='ui--signer-Signer-Decoded'>
<div className='expanded'>
<div className='ui--signer-Signer-children'>
{this.renderAccount()}
{children}
</div>
<Call value={extrinsic} />
{this.renderFees()}
</div>
<Call value={extrinsic} />
{this.renderFees()}
</div>
</div>
</Modal.Content>
];
</Modal.Content>
</>
);
}
private renderAccount () {

104
yarn.lock
View File

@ -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"