Swap derive idAndIndex to info only (#1817)
This commit is contained in:
parent
bdbcba744d
commit
73e6d49a9a
@ -10,10 +10,10 @@
|
||||
"packages/*"
|
||||
],
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^0.96.0-beta.15",
|
||||
"@polkadot/api-contract": "^0.96.0-beta.15",
|
||||
"@polkadot/api": "^0.96.0-beta.16",
|
||||
"@polkadot/api-contract": "^0.96.0-beta.16",
|
||||
"@polkadot/keyring": "^1.6.1",
|
||||
"@polkadot/types": "^0.96.0-beta.15",
|
||||
"@polkadot/types": "^0.96.0-beta.16",
|
||||
"@polkadot/util": "^1.6.1",
|
||||
"@polkadot/util-crypto": "^1.6.1",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.6.3",
|
||||
"@polkadot/api-contract": "^0.96.0-beta.15",
|
||||
"@polkadot/api-contract": "^0.96.0-beta.16",
|
||||
"@polkadot/react-components": "^0.37.0-beta.26"
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@ import { I18nProps } from '@polkadot/react-components/types';
|
||||
import { EraPoints } from '@polkadot/types/interfaces';
|
||||
import { ValidatorFilter } from '../types';
|
||||
|
||||
import React, { useState } from 'react';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { Columar, Column, Dropdown, FilterOverlay } from '@polkadot/react-components';
|
||||
|
||||
import translate from '../translate';
|
||||
@ -23,8 +23,8 @@ interface Props extends I18nProps {
|
||||
recentlyOnline?: DerivedHeartbeats;
|
||||
}
|
||||
|
||||
function renderColumn (addresses: string[], defaultName: string, withNominations: boolean, withPoints: boolean, filter: string, without: string[], { authorsMap, currentElected, eraPoints, lastAuthors, recentlyOnline }: Props): React.ReactNode {
|
||||
return addresses.filter((address): boolean => !without.includes(address)).map((address, index): React.ReactNode => (
|
||||
function renderColumn (addresses: string[], defaultName: string, withNominations: boolean, withPoints: boolean, filter: string, { authorsMap, currentElected, eraPoints, lastAuthors, recentlyOnline }: Props): React.ReactNode {
|
||||
return addresses.map((address, index): React.ReactNode => (
|
||||
<Address
|
||||
address={address}
|
||||
authorsMap={authorsMap}
|
||||
@ -44,10 +44,24 @@ function renderColumn (addresses: string[], defaultName: string, withNominations
|
||||
));
|
||||
}
|
||||
|
||||
function filterAccounts (list: string[] = [], without: string[]): string[] {
|
||||
return list.filter((accountId): boolean => !without.includes(accountId));
|
||||
}
|
||||
|
||||
function CurrentList (props: Props): React.ReactElement<Props> {
|
||||
const [filter, setFilter] = useState<ValidatorFilter>('all');
|
||||
const [{ electedFiltered, nextFiltered }, setFiltered] = useState<{ electedFiltered: string[]; nextFiltered: string[] }>({ electedFiltered: [], nextFiltered: [] });
|
||||
const { currentElected, currentValidators, next, t } = props;
|
||||
|
||||
useEffect((): void => {
|
||||
if (currentElected && currentValidators) {
|
||||
setFiltered({
|
||||
electedFiltered: filterAccounts(currentElected, currentValidators),
|
||||
nextFiltered: filterAccounts(next, currentElected)
|
||||
});
|
||||
}
|
||||
}, [currentElected, currentValidators, next]);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<FilterOverlay>
|
||||
@ -71,14 +85,18 @@ function CurrentList (props: Props): React.ReactElement<Props> {
|
||||
emptyText={t('No addresses found')}
|
||||
headerText={t('validators')}
|
||||
>
|
||||
{renderColumn(currentValidators, t('validator'), true, true, filter, [], props)}
|
||||
{renderColumn(currentValidators, t('validator'), true, true, filter, props)}
|
||||
</Column>
|
||||
<Column
|
||||
emptyText={t('No addresses found')}
|
||||
headerText={t('next up')}
|
||||
>
|
||||
{renderColumn(currentElected, t('intention'), false, false, filter, currentValidators, props)}
|
||||
{renderColumn(next, t('intention'), false, false, filter, currentElected || [], props)}
|
||||
{(electedFiltered.length !== 0 || nextFiltered.length !== 0) && (
|
||||
<>
|
||||
{renderColumn(electedFiltered, t('intention'), true, false, filter, props)}
|
||||
{renderColumn(nextFiltered, t('intention'), false, false, filter, props)}
|
||||
</>
|
||||
)}
|
||||
</Column>
|
||||
</Columar>
|
||||
</div>
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-reactive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.6.3",
|
||||
"@polkadot/api": "^0.96.0-beta.15",
|
||||
"@polkadot/api": "^0.96.0-beta.16",
|
||||
"@polkadot/extension-dapp": "^0.14.0-beta.1",
|
||||
"edgeware-node-types": "^1.0.10",
|
||||
"rxjs-compat": "^6.5.3"
|
||||
|
||||
@ -51,13 +51,12 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
this.state = this.createState();
|
||||
}
|
||||
|
||||
public static getDerivedStateFromProps ({ accounts_idAndIndex = [], accounts_info, defaultName, isEditable, noDefaultNameOpacity, type, value }: Props, prevState: State): State | null {
|
||||
const [_accountId] = accounts_idAndIndex;
|
||||
const accountId = _accountId || value;
|
||||
public static getDerivedStateFromProps ({ accounts_info = {}, defaultName, isEditable, noDefaultNameOpacity, type, value }: Props, prevState: State): State | null {
|
||||
const accountId = accounts_info.accountId || value;
|
||||
const address = accountId
|
||||
? accountId.toString()
|
||||
: DEFAULT_ADDR;
|
||||
const [, isDefault, nameInner] = accounts_info && accounts_info.nickname
|
||||
const [, isDefault, nameInner] = accounts_info.nickname
|
||||
? [true, false, accounts_info.nickname.toUpperCase()]
|
||||
: getAddressName(address, type, defaultName || '<unknown>');
|
||||
const name = isDefault && !noDefaultNameOpacity && !isEditable
|
||||
@ -83,8 +82,8 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
}
|
||||
|
||||
public render (): React.ReactNode {
|
||||
const { accounts_idAndIndex = [], className, isContract, isDisabled, isInline, style } = this.props;
|
||||
const [accountId, accountIndex] = accounts_idAndIndex;
|
||||
const { accounts_info = {}, className, isContract, isDisabled, isInline, label, style } = this.props;
|
||||
const { accountId, accountIndex } = accounts_info;
|
||||
const isValid = this.props.isValid || accountId || accountIndex;
|
||||
|
||||
return (
|
||||
@ -95,7 +94,7 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
<div className='ui--Row-base'>
|
||||
{this.renderIcon()}
|
||||
<div className='ui--Row-details'>
|
||||
{this.renderLabel()}
|
||||
{label && <label className='account-label'>{label}</label>}
|
||||
{this.renderAddressAndName()}
|
||||
{this.renderAccountIndex()}
|
||||
{!isContract && this.renderBalances()}
|
||||
@ -109,9 +108,8 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
}
|
||||
|
||||
private createState (): State {
|
||||
const { accounts_idAndIndex = [], defaultName, type, value } = this.props;
|
||||
const [_accountId] = accounts_idAndIndex;
|
||||
const accountId = _accountId || value;
|
||||
const { accounts_info = {}, defaultName, type, value } = this.props;
|
||||
const accountId = accounts_info.accountId || value;
|
||||
const address = accountId
|
||||
? accountId.toString()
|
||||
: DEFAULT_ADDR;
|
||||
@ -142,9 +140,9 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
}
|
||||
|
||||
private renderAddress (): React.ReactNode {
|
||||
const { accounts_idAndIndex = [], withIndexOrAddress = true } = this.props;
|
||||
const { accounts_info = {}, withIndexOrAddress = true } = this.props;
|
||||
const { address } = this.state;
|
||||
const [, accountIndex] = accounts_idAndIndex;
|
||||
const { accountIndex } = accounts_info;
|
||||
|
||||
if (accountIndex && withIndexOrAddress) {
|
||||
return null;
|
||||
@ -163,8 +161,8 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
}
|
||||
|
||||
private renderAccountIndex (): React.ReactNode {
|
||||
const { accounts_idAndIndex = [], withIndex = true, withIndexOrAddress = true } = this.props;
|
||||
const [, accountIndex] = accounts_idAndIndex;
|
||||
const { accounts_info = {}, withIndex = true, withIndexOrAddress = true } = this.props;
|
||||
const { accountIndex } = accounts_info;
|
||||
|
||||
if (!accountIndex || !(withIndex || withIndexOrAddress)) {
|
||||
return null;
|
||||
@ -178,8 +176,8 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
}
|
||||
|
||||
private renderBalances (): React.ReactNode {
|
||||
const { accounts_idAndIndex = [], extraInfo, withBalance, withValidatorPrefs } = this.props;
|
||||
const [accountId] = accounts_idAndIndex;
|
||||
const { accounts_info = {}, extraInfo, withBalance, withValidatorPrefs } = this.props;
|
||||
const { accountId } = accounts_info;
|
||||
|
||||
if (!(withBalance || withValidatorPrefs) || !accountId) {
|
||||
return null;
|
||||
@ -198,9 +196,9 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
}
|
||||
|
||||
private renderIcon (): React.ReactNode {
|
||||
const { accounts_idAndIndex = [], iconInfo, systemName, withIcon = true } = this.props;
|
||||
const { accounts_info = {}, iconInfo, systemName, withIcon = true } = this.props;
|
||||
const { address } = this.state;
|
||||
const [accountId] = accounts_idAndIndex;
|
||||
const { accountId } = accounts_info;
|
||||
|
||||
if (!withIcon) {
|
||||
return null;
|
||||
@ -229,18 +227,6 @@ class AddressRow extends Row<ApiProps & Props, State> {
|
||||
);
|
||||
}
|
||||
|
||||
private renderLabel (): React.ReactNode {
|
||||
const { label } = this.props;
|
||||
|
||||
if (!label) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<label className='account-label'>{label}</label>
|
||||
);
|
||||
}
|
||||
|
||||
protected saveName = (): void => {
|
||||
const { address, name } = this.state;
|
||||
const trimmedName = name.trim();
|
||||
@ -299,7 +285,6 @@ export default withMulti(
|
||||
`,
|
||||
translate,
|
||||
withCalls<Props>(
|
||||
['derive.accounts.idAndIndex', { paramName: 'value' }],
|
||||
['derive.accounts.info', { paramName: 'value' }]
|
||||
)
|
||||
);
|
||||
|
||||
@ -57,12 +57,11 @@ class CodeRow extends Row<Props, State> {
|
||||
this.state = this.createState();
|
||||
}
|
||||
|
||||
public static getDerivedStateFromProps ({ code: { json }, accounts_idAndIndex = [] }: Props, prevState: State): State | null {
|
||||
public static getDerivedStateFromProps ({ code: { json }, accounts_info }: Props, prevState: State): State | null {
|
||||
const codeHash = json.codeHash || DEFAULT_HASH;
|
||||
const name = json.name || DEFAULT_NAME;
|
||||
const tags = json.tags || [];
|
||||
const [_accountId] = accounts_idAndIndex;
|
||||
const accountId = _accountId;
|
||||
const { accountId } = accounts_info || {};
|
||||
const address = accountId
|
||||
? accountId.toString()
|
||||
: DEFAULT_ADDR;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import { AccountId, AccountIndex } from '@polkadot/types/interfaces';
|
||||
import { DeriveAccountInfo } from '@polkadot/api-derive/types';
|
||||
import { KeyringItemType } from '@polkadot/ui-keyring/types';
|
||||
|
||||
import { Label } from 'semantic-ui-react';
|
||||
@ -190,7 +190,7 @@ export const styles = `
|
||||
`;
|
||||
|
||||
export interface RowProps {
|
||||
accounts_idAndIndex?: [AccountId?, AccountIndex?];
|
||||
accounts_info?: DeriveAccountInfo;
|
||||
buttons?: React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
className?: string;
|
||||
|
||||
@ -1,23 +1,22 @@
|
||||
/* eslint-disable @typescript-eslint/camelcase */
|
||||
// Copyright 2017-2019 @polkadot/react-query 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 { DeriveAccountInfo } from '@polkadot/api-derive/types';
|
||||
import { BareProps, CallProps } from '@polkadot/react-api/types';
|
||||
import { AccountId, AccountIndex } from '@polkadot/types/interfaces';
|
||||
|
||||
import React from 'react';
|
||||
import { withCalls } from '@polkadot/react-api';
|
||||
|
||||
interface Props extends BareProps, CallProps {
|
||||
children?: React.ReactNode;
|
||||
info?: DeriveAccountInfo;
|
||||
label?: React.ReactNode;
|
||||
params?: string | null;
|
||||
accounts_idAndIndex?: [AccountId?, AccountIndex?];
|
||||
}
|
||||
|
||||
export function AccountIndexDisplay ({ children, className, label = '', style, accounts_idAndIndex }: Props): React.ReactElement<Props> {
|
||||
const [, accountIndex] = accounts_idAndIndex || [];
|
||||
export function AccountIndexDisplay ({ children, className, info, label = '', style }: Props): React.ReactElement<Props> {
|
||||
const { accountIndex } = info || {};
|
||||
|
||||
return (
|
||||
<div
|
||||
@ -34,5 +33,5 @@ export function AccountIndexDisplay ({ children, className, label = '', style, a
|
||||
}
|
||||
|
||||
export default withCalls<Props>(
|
||||
['derive.accounts.idAndIndex', { paramName: 'params' }]
|
||||
['derive.accounts.info', { paramName: 'params' }]
|
||||
)(AccountIndexDisplay);
|
||||
|
||||
@ -13,7 +13,6 @@ import { getAddressName } from '@polkadot/react-components/util';
|
||||
interface Props extends BareProps, CallProps {
|
||||
children?: React.ReactNode;
|
||||
defaultName?: string;
|
||||
idAndIndex?: [AccountId?, AccountIndex?];
|
||||
info?: DeriveAccountInfo;
|
||||
label?: React.ReactNode;
|
||||
params?: string | null;
|
||||
@ -42,21 +41,21 @@ function defaultOrAddr (defaultName = '', _address?: AccountId | string | null,
|
||||
return extracted;
|
||||
}
|
||||
|
||||
export function AccountName ({ children, className, defaultName, idAndIndex, info, label = '', params, style }: Props): React.ReactElement<Props> {
|
||||
export function AccountName ({ children, className, defaultName, info, label = '', params, style }: Props): React.ReactElement<Props> {
|
||||
const [name, setName] = useState(defaultOrAddr(defaultName, params));
|
||||
|
||||
useEffect((): void => {
|
||||
const [accountId, accountIndex] = idAndIndex || [];
|
||||
const { accountId, accountIndex, nickname } = info || {};
|
||||
|
||||
if (info && info.nickname) {
|
||||
const name = info.nickname.toUpperCase();
|
||||
if (nickname) {
|
||||
const name = nickname.toUpperCase();
|
||||
|
||||
nameCache.set(params || '', name);
|
||||
setName(name);
|
||||
} else {
|
||||
setName(defaultOrAddr(defaultName, accountId || params, accountIndex));
|
||||
}
|
||||
}, [idAndIndex, info]);
|
||||
}, [info]);
|
||||
|
||||
return (
|
||||
<div
|
||||
@ -69,6 +68,5 @@ export function AccountName ({ children, className, defaultName, idAndIndex, inf
|
||||
}
|
||||
|
||||
export default withCalls<Props>(
|
||||
['derive.accounts.idAndIndex', { paramName: 'params', propName: 'idAndIndex' }],
|
||||
['derive.accounts.info', { paramName: 'params', propName: 'info' }]
|
||||
)(AccountName);
|
||||
|
||||
90
yarn.lock
90
yarn.lock
@ -2016,45 +2016,45 @@
|
||||
once "^1.4.0"
|
||||
universal-user-agent "^4.0.0"
|
||||
|
||||
"@polkadot/api-contract@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-0.96.0-beta.15.tgz#25c910de8535a52daf7a08dc8c19cb4c74985a21"
|
||||
integrity sha512-QXQANhO2BrtORbQgIHEhEhM8JIMwo30Axhug5xKa9SQQ/FnHWt0dslU9qutGfqJngGFE0HSyn1WSrPoBXgZSzA==
|
||||
"@polkadot/api-contract@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-0.96.0-beta.16.tgz#0c46e6b69d4dd8b5f3327b1d0ef61db6ec27ceba"
|
||||
integrity sha512-kfaypjOd/YjpUyzxZH6WGW8rtj6rbevpCIDmWQaqYg5c4RpC1JO0iFzx6Q4vRLRwnRGZorygKdY7rTrI/Yh3lw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
"@polkadot/types" "^0.96.0-beta.15"
|
||||
"@polkadot/types" "^0.96.0-beta.16"
|
||||
|
||||
"@polkadot/api-derive@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.96.0-beta.15.tgz#a0bb19445eccee7f480d87724e5b31d398c59bab"
|
||||
integrity sha512-0Dg9QJUapk4GAJIHIYCw9hgpeZNBYiI797rtv1njWu6Pcpqv2TwrrHFiSZT6uC7Xz2r7k+prkjNhf42Q74T1Jg==
|
||||
"@polkadot/api-derive@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-0.96.0-beta.16.tgz#2e8e22a18c5ea78d013ac3ddf6b6b598b35bdbcf"
|
||||
integrity sha512-HdgynIq6EeggVpNWndZe9S+3UIKZGFUyQf+NDjsP0On9XI1E3Q+3KQRduRVjsgMCo4bQSTp9CTUT9Fdc0EbBjQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
"@polkadot/api" "^0.96.0-beta.15"
|
||||
"@polkadot/types" "^0.96.0-beta.15"
|
||||
"@polkadot/api" "^0.96.0-beta.16"
|
||||
"@polkadot/types" "^0.96.0-beta.16"
|
||||
|
||||
"@polkadot/api-metadata@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-metadata/-/api-metadata-0.96.0-beta.15.tgz#4d94e41e681f4bd68d4dab22bbbedbd89b23c29e"
|
||||
integrity sha512-SFjoMRtQzxE35y39Rw0+ujvVif6gC015rKcjPsZbRTbbrleJsNNvwSm0OuqEUVRmnQShkafConM6AFv1Cbyigw==
|
||||
"@polkadot/api-metadata@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-metadata/-/api-metadata-0.96.0-beta.16.tgz#6722617e0a26ce18d70533f26a72f3d7bc8d87d3"
|
||||
integrity sha512-xNGoO0IgaNv4NkFWIsXHsbi5Hks55Alz6GcPH1rgeFAq8odGm+Dosbpg/N1ftPHV0v/hyy/e9bqJDpGYwUD8+A==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
"@polkadot/types" "^0.96.0-beta.15"
|
||||
"@polkadot/types" "^0.96.0-beta.16"
|
||||
"@polkadot/util" "^1.6.1"
|
||||
"@polkadot/util-crypto" "^1.6.1"
|
||||
|
||||
"@polkadot/api@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.96.0-beta.15.tgz#e12ac1ff2dd5136bbbeb8e7c9695c16ca965b31d"
|
||||
integrity sha512-9D5je8yQxQl/tbNU5vdF4FLCFH5in0XDaxdmhOd2E8/HN/JyEhISL+t/S0x787VcoOcch6GI4P4Qpb0a3BXEDg==
|
||||
"@polkadot/api@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.96.0-beta.16.tgz#cf6a5b20a097743246fc098b25b9a4195a6e1982"
|
||||
integrity sha512-qIEbARUbWEoSPnLJmLvDNbSctE9ilYKtn3QzBD4rnidvcLi+xFG9YvDvc0S8KojK5DtkQK6FaqW/Tt2E8gCUsg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
"@polkadot/api-derive" "^0.96.0-beta.15"
|
||||
"@polkadot/api-metadata" "^0.96.0-beta.15"
|
||||
"@polkadot/api-derive" "^0.96.0-beta.16"
|
||||
"@polkadot/api-metadata" "^0.96.0-beta.16"
|
||||
"@polkadot/keyring" "^1.6.1"
|
||||
"@polkadot/rpc-core" "^0.96.0-beta.15"
|
||||
"@polkadot/rpc-provider" "^0.96.0-beta.15"
|
||||
"@polkadot/types" "^0.96.0-beta.15"
|
||||
"@polkadot/rpc-core" "^0.96.0-beta.16"
|
||||
"@polkadot/rpc-provider" "^0.96.0-beta.16"
|
||||
"@polkadot/types" "^0.96.0-beta.16"
|
||||
"@polkadot/util-crypto" "^1.6.1"
|
||||
|
||||
"@polkadot/dev-react@^0.32.0-beta.12":
|
||||
@ -2156,10 +2156,10 @@
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
|
||||
"@polkadot/jsonrpc@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.96.0-beta.15.tgz#d885b1b17386a8e87dbc5951e8be88ca775a962f"
|
||||
integrity sha512-db08i+S45Gy8c8apM2DtXZVN4bV3pWOmnoKxFxsW7fFatQ0lAeAe2xMdyMSdoU7UiU7OzMO/BIdwLkJe4o3Jnw==
|
||||
"@polkadot/jsonrpc@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.96.0-beta.16.tgz#b6593613aab8921f4b282d4dd2bd9b15be44b1f0"
|
||||
integrity sha512-2L0wfsZfIJm8iSMT107d71uUmbHepkIK08PKmAXxZ36cak7Iy7nkq+oPA1I4vxghgthqdSypoikN/l8S4Cu3dw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
|
||||
@ -2197,25 +2197,25 @@
|
||||
qrcode-generator "^1.4.4"
|
||||
react-qr-reader "^2.2.1"
|
||||
|
||||
"@polkadot/rpc-core@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.96.0-beta.15.tgz#a1ca1fb0d37c68a0107313d9bfd67bf1c2e3ac01"
|
||||
integrity sha512-aLRlfe1tOyMhJ5A2BCX82qHAJs4Nl/x8AIlvLs5Wme/Jl5eo+N3Y+R3p+uF99JIosrzJmdcdjBG8qGY3Cj4PvQ==
|
||||
"@polkadot/rpc-core@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.96.0-beta.16.tgz#3106dc3c3ed541f81096012221f8cf35a4d09603"
|
||||
integrity sha512-El/XwN7hVoYDD3tJcuFEWJYYLKZGtBxGDbGvbSy7LmYFScsT5L96DuDIMepLrjy1XK1T7hAyvFR70Ed+PEx7Gg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
"@polkadot/jsonrpc" "^0.96.0-beta.15"
|
||||
"@polkadot/rpc-provider" "^0.96.0-beta.15"
|
||||
"@polkadot/types" "^0.96.0-beta.15"
|
||||
"@polkadot/jsonrpc" "^0.96.0-beta.16"
|
||||
"@polkadot/rpc-provider" "^0.96.0-beta.16"
|
||||
"@polkadot/types" "^0.96.0-beta.16"
|
||||
"@polkadot/util" "^1.6.1"
|
||||
rxjs "^6.5.3"
|
||||
|
||||
"@polkadot/rpc-provider@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.96.0-beta.15.tgz#d540ed73dd2299eccd4fb53793fbd1addbe33890"
|
||||
integrity sha512-A2QGImrRMRmZXZLgaNjqayIrerx8fi1+74KO4yx3wcMx7V7kEvZ/B7X00vEO4eg9ysRw/INcfZD67eWu0yjRbg==
|
||||
"@polkadot/rpc-provider@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.96.0-beta.16.tgz#884225d5b05bdd18551bba2fcc12224412b4f391"
|
||||
integrity sha512-3B3aepAh5Nyb9bATqqKgyy4Y6Ujj8uRF4rmRlSAaijuMHJAEgrHx2yoHVPNQIyGZlRdPnG2Nr4zs/J+ewbO2zA==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
"@polkadot/api-metadata" "^0.96.0-beta.15"
|
||||
"@polkadot/api-metadata" "^0.96.0-beta.16"
|
||||
"@polkadot/util" "^1.6.1"
|
||||
"@polkadot/util-crypto" "^1.6.1"
|
||||
"@types/nock" "^11.1.0"
|
||||
@ -2230,10 +2230,10 @@
|
||||
dependencies:
|
||||
"@types/chrome" "^0.0.91"
|
||||
|
||||
"@polkadot/types@^0.96.0-beta.15":
|
||||
version "0.96.0-beta.15"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.96.0-beta.15.tgz#8b9acea0acb10e708f5ac8f5fa47450fb6e6ffb5"
|
||||
integrity sha512-ufWNAkz7fy4HlsHzJuBkLbIHMXjZaskaGwoBAT0HOBJ7wI3NSz78ScF69beVY5KwG+9Qc0dSYvYWFDOmDJTJCQ==
|
||||
"@polkadot/types@^0.96.0-beta.16":
|
||||
version "0.96.0-beta.16"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.96.0-beta.16.tgz#eb843128c720ab284dc79c88c9f22b042b2c7d58"
|
||||
integrity sha512-SahHunUp9q2HeYs0PIIGRUF/7I0KtG1CWp9Z4nj0kwEqs440oU+Dc/BqHc4lMR5OIU5plPdrzZEiEV6trI79Xw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.3"
|
||||
"@polkadot/util" "^1.6.1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user