Cleanup type definitions (#59)

* Cleanup type definitions

* Update dependencies

* Update depnedencies
This commit is contained in:
Jaco Greeff 2018-05-27 18:54:24 +02:00 committed by GitHub
parent c447844ffd
commit 69d0985410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 186 additions and 205 deletions

View File

@ -25,8 +25,7 @@ type State = {
}
// FIXME React-router would probably be the best route, not home-grown
// flowlint-next-line unclear-type:off
const Components: { [Actions]: React$ComponentType<any> } = {
const Components: { [Actions]: React$ComponentType<{}> } = {
'create': Creator,
'edit': Editor
};

View File

@ -25,8 +25,7 @@ type State = {
}
// FIXME React-router would probably be the best route, not home-grown
// flowlint-next-line unclear-type:off
const Components: { [Actions]: React$ComponentType<any> } = {
const Components: { [Actions]: React$ComponentType<{}> } = {
'create': Creator,
'edit': Editor
};

View File

@ -12,8 +12,8 @@
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.47",
"@polkadot/primitives-codec": "^0.16.9",
"@polkadot/primitives-json": "^0.16.9",
"@polkadot/primitives-codec": "^0.16.12",
"@polkadot/primitives-json": "^0.16.12",
"@polkadot/ui-app": "^0.6.8",
"@polkadot/util-crypto": "^0.22.2"
}

View File

@ -12,7 +12,7 @@
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.47",
"@polkadot/extrinsics-codec": "^0.16.9",
"@polkadot/extrinsics-codec": "^0.16.12",
"@polkadot/ui-app": "^0.6.8",
"@polkadot/ui-signer": "^0.6.8",
"react-dropzone": "^4.2.9"

View File

@ -3,7 +3,7 @@
// of the ISC license. See the LICENSE file for details.
// @flow
import type { I18nProps } from '@polkadot/ui-app/types';
import type { BareProps } from '@polkadot/ui-app/types';
import type { QueueProps } from '@polkadot/ui-signer/types';
import './index.css';
@ -16,7 +16,7 @@ import Signer from '@polkadot/ui-signer';
import Results from './Results';
import Selection from './Selection';
type Props = I18nProps & {};
type Props = BareProps & {};
export default function RpcApp ({ className, style }: Props): React$Node {
return (

View File

@ -34,10 +34,11 @@ const defaultValue = storage.timestamp.keys.current;
let id = -1;
class Selection extends React.PureComponent<Props, State> {
state: State = ({
state: State = {
isValid: true,
key: defaultValue,
params: []
}: $Shape<State>);
};
render (): React$Node {
const { className, style, t } = this.props;

View File

@ -26,8 +26,7 @@ type State = {
}
// FIXME React-router would probably be the best route, not home-grown
// flowlint-next-line unclear-type:off
const Components: { [Actions]: React$ComponentType<any> } = {
const Components: { [Actions]: React$ComponentType<{}> } = {
'hash': Hash,
'sign': Sign,
'verify': Verify

View File

@ -14,9 +14,11 @@ import { NavLink } from 'react-router-dom';
import Icon from '@polkadot/ui-app/Icon';
import Menu from '@polkadot/ui-app/Menu';
type Props = I18nProps & Route & {};
type Props = I18nProps & {
route: Route
};
export default function Item ({ i18n, icon, isExact, name, path = '', t }: Props): React$Node {
export default function Item ({ route: { i18n, icon, isExact, name, path = '' }, t }: Props): React$Node {
return (
<Menu.Item className='apps--SideBar-Item'>
<NavLink

View File

@ -36,8 +36,7 @@ function SideBar ({ className, style, t }: Props): React$Node {
<Item
key={route.name}
t={t}
// flowlint-next-line inexact-spread:off
{...route}
route={route}
/>
)
: (

View File

@ -3,12 +3,12 @@
// of the ISC license. See the LICENSE file for details.
// @flow
import type { BareProps } from '@polkadot/ui-app/types';
export type Route = {
// flowlint-next-line unclear-type:off
Component: React$ComponentType<any>,
Component: React$ComponentType<BareProps>,
i18n: I18Next$Translate$Config,
// flowlint-next-line unclear-type:off
icon: React$ComponentType<any> | string,
icon: string,
isExact: boolean,
isHidden: boolean,
name: string,

View File

@ -12,11 +12,11 @@
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.47",
"@polkadot/extrinsics-substrate": "^0.16.9",
"@polkadot/storage-substrate": "^0.16.9",
"@polkadot/extrinsics-substrate": "^0.16.12",
"@polkadot/storage-substrate": "^0.16.12",
"@polkadot/ui-keyring": "^0.6.8",
"@polkadot/ui-react": "^0.13.10",
"@polkadot/ui-react-rx": "^0.13.10",
"@polkadot/ui-react": "^0.13.13",
"@polkadot/ui-react-rx": "^0.13.13",
"i18next": "^11.1.1",
"i18next-browser-languagedetector": "^2.2.0",
"i18next-xhr-backend": "^1.5.1",

View File

@ -11,17 +11,15 @@ import SUIDropdown from 'semantic-ui-react/dist/es/modules/Dropdown';
import classes from './util/classes';
import Labelled from './Labelled';
type Props = BareProps & {
type Props<Option> = BareProps & {
defaultValue?: mixed,
isDisabled?: boolean,
isError?: boolean,
label?: React$Node,
// flowlint-next-line unclear-type:off
onChange: (value: any) => void,
// flowlint-next-line unclear-type:off
onSearch?: (filteredOptions: Array<any>, query: string) => Array<any>,
// flowlint-next-line unclear-type:off
options: Array<any>,
onSearch?: (filteredOptions: Array<Option>, query: string) => Array<Option>,
options: Array<Option>,
// flowlint-next-line unclear-type:off
transform?: (value: any) => any,
value?: mixed,
@ -29,11 +27,10 @@ type Props = BareProps & {
};
type SUIEvent = {
// flowlint-next-line unclear-type:off
value: any
value: string
};
export default class Dropdown extends React.PureComponent<Props> {
export default class Dropdown<Option> extends React.PureComponent<Props<Option>> {
render (): React$Node {
const { className, defaultValue, isDisabled, isError, label, onSearch, options, style, withLabel, value } = this.props;

View File

@ -7,14 +7,15 @@ import addressDecode from '@polkadot/util-keyring/address/decode';
import addressEncode from '@polkadot/util-keyring/address/encode';
export default function addressToAddress (value?: string | Uint8Array): ?string {
// flowlint-next-line sketchy-null-string:off
if (value) {
try {
return addressEncode(
addressDecode(value)
);
} catch (error) {
console.error('Unable to encode address', value);
}
if (value === undefined) {
return;
}
try {
return addressEncode(
addressDecode(value)
);
} catch (error) {
console.error('Unable to encode address', value);
}
}

View File

@ -26,13 +26,11 @@ type Props = BareProps & {
label?: string,
onChange: (value: Uint8Array) => void,
type?: KeyringOption$Type,
value?: string | Uint8Array,
withLabel?: boolean
};
type State = {
defaultValue: ?string;
value: ?string;
}
const RECENT_KEY = 'header-recent';
@ -51,20 +49,13 @@ export default class InputAddress extends React.Component<Props, State> {
super(props);
this.state = {
defaultValue: addressToAddress(props.defaultValue),
value: addressToAddress(props.value)
};
}
static getDerivedStateFromProps ({ value }: Props): $Shape<State> {
return {
value: addressToAddress(value)
defaultValue: addressToAddress(props.defaultValue)
};
}
render (): React$Node {
const { className, hideAddress = false, isError, label, onChange, style, type = 'all', withLabel } = this.props;
const { defaultValue, value } = this.state;
const { defaultValue } = this.state;
const options = keyring.getOptions(type);
return (
@ -78,7 +69,6 @@ export default class InputAddress extends React.Component<Props, State> {
options={options}
style={style}
transform={transform}
value={value}
withLabel={withLabel}
/>
);
@ -88,12 +78,10 @@ export default class InputAddress extends React.Component<Props, State> {
const { isInput = true } = this.props;
const queryLower = query.toLowerCase();
const matches = filteredOptions.filter((item) => {
// $FlowFixMe yes, this is how we check for Element (??!)
if (!item || !item.value) {
if (item.value === null) {
return true;
}
// $FLowFixMe we should now have value elements
const { name, value } = item;
const hasMatch = name.toLowerCase().indexOf(queryLower) !== -1 ||
value.toLowerCase().indexOf(queryLower) !== -1;
@ -101,10 +89,8 @@ export default class InputAddress extends React.Component<Props, State> {
return hasMatch;
});
// $FlowFixMe yes, this is how we check for Element
const valueMatches = matches.filter((item) => item.value);
const valueMatches = matches.filter((item) => item.value !== null);
// see if we should add a new item, i.e. no valid address found
if (isInput && valueMatches.length === 0) {
const publicKey = transform(query);
@ -122,17 +108,11 @@ export default class InputAddress extends React.Component<Props, State> {
}
return matches.filter((item, index) => {
if (!item) {
return false;
}
const isLast = index === matches.length - 1;
const nextItem = matches[index + 1];
// $FlowFixMe yes, this is how we check for Element
const hasNext = nextItem && nextItem.value;
// $FlowFixMe yes, this is how we check for Element
if (item.value || (!isLast && hasNext)) {
if (item.value !== null || (!isLast && hasNext)) {
return true;
}

View File

@ -16,33 +16,31 @@ import translate from '../translate';
import Param from './Param';
import createValues from './values';
type Props = I18nProps & {
// flowlint-next-line unclear-type:off
item: Section$Item<any>,
type Props<SectionItem> = I18nProps & {
item: SectionItem,
onChange: (value: RawParams) => void,
overrides?: ComponentMap
};
type State = {
// flowlint-next-line unclear-type:off
item: Section$Item<any>,
type State<SectionItem> = {
item: SectionItem,
handlers: Array<RawParam$OnChange>,
onChangeParam: (at: number, next: RawParam) => void,
values: RawParams
};
class Params extends React.PureComponent<Props, State> {
state: State;
class Params<T, SectionItem: Section$Item<T>> extends React.PureComponent<Props<SectionItem>, State<SectionItem>> {
state: State<SectionItem>;
constructor (props: Props) {
constructor (props: Props<SectionItem>) {
super(props);
this.state = ({
onChangeParam: this.onChangeParam
}: $Shape<State>);
}: $Shape<State<SectionItem>>);
}
static getDerivedStateFromProps ({ item }: Props, { item: { name, section } = {}, onChangeParam }: State): $Shape<State> | null {
static getDerivedStateFromProps ({ item }: Props<SectionItem>, { item: { name, section } = {}, onChangeParam }: State<SectionItem>): $Shape<State<SectionItem>> | null {
if (name === item.name && section === item.section) {
return null;
}
@ -62,7 +60,7 @@ class Params extends React.PureComponent<Props, State> {
};
}
componentDidUpdate (prevProps: Props, prevState: State) {
componentDidUpdate (prevProps: Props<SectionItem>, prevState: State<SectionItem>) {
const { onChange } = this.props;
const { values } = this.state;
@ -102,7 +100,7 @@ class Params extends React.PureComponent<Props, State> {
onChangeParam = (at: number, { isValid = false, value }: RawParam): void => {
this.setState(
(prevState: State): $Shape<State> => ({
(prevState: State<SectionItem>): $Shape<State<SectionItem>> => ({
values: prevState.values.map((prev, index) =>
index !== at
? prev

View File

@ -23,6 +23,16 @@
min-height: 1em;
}
.ui.dropdown .menu > .item.header.disabled {
margin: 1em 0 0 0;
opacity: 1;
}
.ui.dropdown .menu > .item.header.disabled:hover,
.ui.dropdown .menu > .item.header.disabled.selected {
background: white;
}
.ui.input {
/* from .ui.fluid.input */
display: flex;

View File

@ -8,7 +8,7 @@ import type { RxApiInterface } from '@polkadot/api-rx/types';
export type BareProps = {
className?: string,
style?: {
[string]: string
[string]: mixed
}
};

View File

@ -12,7 +12,7 @@
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.47",
"@polkadot/ui-react": "^0.13.10",
"@polkadot/ui-react": "^0.13.13",
"@polkadot/util-keyring": "^0.22.2",
"store": "^2.0.12"
},

View File

@ -11,6 +11,8 @@ import { addressKey } from '../defaults';
import createOptions from '../options';
export default function saveRecent (state: State, address: string): KeyringOption {
console.log('saveRecent', address);
if (!state.available[address]) {
const json = {
address,

View File

@ -3,14 +3,14 @@
// of the ISC license. See the LICENSE file for details.
// @flow
import React from 'react';
import Dropdown from 'semantic-ui-react/dist/es/modules/Dropdown';
import type { KeyringOption } from '../types';
// flowlint-next-line unclear-type:off
export default function createHeader (text: string): React$Element<any> {
return (
<Dropdown.Header key={`header-${text.toLowerCase()}`}>
{text}
</Dropdown.Header>
);
export default function createHeader (name: string): KeyringOption {
return {
className: 'header disabled',
name,
key: `header-${name.toLowerCase()}`,
text: name,
value: null
};
}

View File

@ -3,18 +3,18 @@
// of the ISC license. See the LICENSE file for details.
// @flow
import type { KeyringOption, KeyringOption$Data } from '../types';
import type { KeyringOption } from '../types';
import React from 'react';
import KeyPair from './KeyPair';
export default function createItem (address: string, name?: string, data?: KeyringOption$Data = {}): KeyringOption {
// flowlint-next-line sketchy-null-string:off
name = name || `${address.slice(0, 16)}…`;
export default function createItem (address: string, _name?: string): KeyringOption {
const name = _name === undefined
? `${address.slice(0, 16)}…`
: _name;
return {
...data,
key: address,
name,
text: (

View File

@ -7,27 +7,17 @@ import type { KeyringInstance as BaseKeyringInstance, KeyringPair, KeyringPair$M
export type KeyringOption$Type = 'account' | 'address' | 'all' | 'recent' | 'testing';
export type KeyringOption$Data = {
'data-is-account'?: boolean,
'data-is-recent'?: boolean,
'data-is-testing'?: boolean,
'data-when-created'?: number,
'data-when-edited'?: number,
'data-when-used'?: number
}
export type KeyringOption = KeyringOption$Data & {
export type KeyringOption = {
className?: string,
disabled?: boolean,
content?: React$Node | string,
key: string | null,
name: string,
text: React$Node | string,
value: string
value: string | null
};
// flowlint-next-line unclear-type:off
export type KeyringOptions = Array<KeyringOption | React$Element<any>>;
export type KeyringOptions = Array<KeyringOption>;
export type KeyringJson$Meta = {
isRecent?: boolean,

View File

@ -12,7 +12,7 @@
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.47",
"@polkadot/extrinsics": "^0.16.9",
"@polkadot/extrinsics": "^0.16.12",
"@polkadot/ui-app": "^0.6.8",
"@polkadot/ui-keyring": "^0.6.8"
},

View File

@ -49,7 +49,7 @@ class Signer extends React.PureComponent<Props, State> {
};
}
static getDerivedStateFromProps ({ queue }: Props, { currentItem, password, unlockError }: State): $Shape<State> {
static getDerivedStateFromProps ({ queue }: Props, { currentItem, password, unlockError }: State): State {
const nextItem = queue.find(({ status }) =>
status === 'queued'
);

View File

@ -48,9 +48,12 @@ export default class Queue extends React.Component<Props, State> {
item.id === id
? {
...item,
error: error || item.error,
// flowlint-next-line sketchy-null-mixed:off
result: result || item.result,
error: error === undefined
? item.error
: error,
result: result === undefined
? item.result
: result,
status
}
: item

View File

@ -17,7 +17,6 @@ import translate from './translate';
type Props = I18nProps & {
error?: string,
onChange: (password: string) => void,
publicKey: Uint8Array,
password: string,
value: Uint8Array,
}

182
yarn.lock
View File

@ -719,21 +719,22 @@
version "1.0.2"
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.0.2.tgz#d056b68999769728a1cff8d643bc59eb6f0be436"
"@polkadot/api-format@^0.12.10":
version "0.12.10"
resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.12.10.tgz#ec217f251a4988f0ad4558773a9fd03d75348d31"
"@polkadot/api-format@^0.12.12":
version "0.12.12"
resolved "https://registry.yarnpkg.com/@polkadot/api-format/-/api-format-0.12.12.tgz#46213ab7c6a1f67036bcd485f4d23e36fefe3f97"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/jsonrpc" "^0.16.9"
"@polkadot/primitives-json" "^0.16.9"
"@polkadot/jsonrpc" "^0.16.12"
"@polkadot/primitives-json" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/util-keyring" "^0.22.2"
"@polkadot/api-provider@^0.12.10":
version "0.12.10"
resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.12.10.tgz#ca641edad479a130bdad145da92f5f89b09faded"
"@polkadot/api-provider@^0.12.12":
version "0.12.12"
resolved "https://registry.yarnpkg.com/@polkadot/api-provider/-/api-provider-0.12.12.tgz#67c0e2c479fb6f8eb1a53034d2c8cf98a45b8fb8"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/storage-substrate" "^0.16.9"
"@polkadot/storage-substrate" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/util-crypto" "^0.22.2"
"@polkadot/util-keyring" "^0.22.2"
@ -741,24 +742,24 @@
isomorphic-fetch "^2.2.1"
websocket "^1.0.25"
"@polkadot/api-rx@^0.12.10":
version "0.12.10"
resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.12.10.tgz#d15a58084d3ea7b8a7d51aa674aed4973b6f5071"
"@polkadot/api-rx@^0.12.12":
version "0.12.12"
resolved "https://registry.yarnpkg.com/@polkadot/api-rx/-/api-rx-0.12.12.tgz#9003a56efb8cc99b11fab948094370832c352948"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/api" "^0.12.10"
"@polkadot/api-provider" "^0.12.10"
"@polkadot/api" "^0.12.12"
"@polkadot/api-provider" "^0.12.12"
rxjs "^5.5.10"
"@polkadot/api@^0.12.10":
version "0.12.10"
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.12.10.tgz#04ebcccfa5ae0947eb664940c2fd286836a583d2"
"@polkadot/api@^0.12.12":
version "0.12.12"
resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-0.12.12.tgz#f51a315322f6d25f931cb7becf7fb46eb717f557"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/api-format" "^0.12.10"
"@polkadot/api-provider" "^0.12.10"
"@polkadot/jsonrpc" "^0.16.9"
"@polkadot/params" "^0.16.9"
"@polkadot/api-format" "^0.12.12"
"@polkadot/api-provider" "^0.12.12"
"@polkadot/jsonrpc" "^0.16.12"
"@polkadot/params" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/dev-react@^0.19.11":
@ -816,135 +817,136 @@
mkdirp "^0.5.1"
rimraf "^2.6.2"
"@polkadot/extrinsics-codec@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics-codec/-/extrinsics-codec-0.16.9.tgz#864197e06c5c4d1b84472d8dc152e76d685ae85a"
"@polkadot/extrinsics-codec@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics-codec/-/extrinsics-codec-0.16.12.tgz#0e394354a92088f0a2c1dcb088d69b157c7a45fa"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/extrinsics" "^0.16.9"
"@polkadot/params" "^0.16.9"
"@polkadot/extrinsics" "^0.16.12"
"@polkadot/params" "^0.16.12"
"@polkadot/util" "^0.22.2"
bn.js "^4.11.8"
"@polkadot/extrinsics-substrate@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics-substrate/-/extrinsics-substrate-0.16.9.tgz#ad5ce5476f08a8e8122759547d6f1b58a13b926e"
"@polkadot/extrinsics-substrate@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics-substrate/-/extrinsics-substrate-0.16.12.tgz#acb202bcf3915783568797d604e5372efe094db3"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/extrinsics" "^0.16.9"
"@polkadot/extrinsics" "^0.16.12"
"@polkadot/extrinsics@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.16.9.tgz#61bfbd74c3a4b63fa5301e31f1de7c136818a6a9"
"@polkadot/extrinsics@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.16.12.tgz#d7583bdf8b76afa9a58b8bc6274a1afcc8042511"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/params" "^0.16.9"
"@polkadot/primitives" "^0.16.9"
"@polkadot/params" "^0.16.12"
"@polkadot/primitives" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/jsonrpc@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.16.9.tgz#160f7d0c9d1e0f8e728abd29af10c90ef111e36a"
"@polkadot/jsonrpc@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.16.12.tgz#0fa923ed8736d31f08419bff04bb5e6f52ce7eef"
dependencies:
"@polkadot/params" "^0.16.9"
"@polkadot/params" "^0.16.12"
babel-runtime "^6.26.0"
"@polkadot/params@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.16.9.tgz#f68b6061b646dfe50e274f9adbe3862f7cb79615"
"@polkadot/params@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/params/-/params-0.16.12.tgz#2e5512e3d890d9d9b5bfd6a44539f7ef32a369ae"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/extrinsics" "^0.16.9"
"@polkadot/extrinsics-substrate" "^0.16.9"
"@polkadot/primitives" "^0.16.9"
"@polkadot/extrinsics" "^0.16.12"
"@polkadot/extrinsics-substrate" "^0.16.12"
"@polkadot/primitives" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/primitives-builder@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-builder/-/primitives-builder-0.16.9.tgz#c835a763ad9af426112fbea16d8d1eeffe5ee162"
"@polkadot/primitives-builder@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-builder/-/primitives-builder-0.16.12.tgz#413d71443bff6fa611e7651390003bfbac728961"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/primitives" "^0.16.9"
"@polkadot/primitives-codec" "^0.16.9"
"@polkadot/primitives" "^0.16.12"
"@polkadot/primitives-codec" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/util-crypto" "^0.22.2"
"@polkadot/util-triehash" "^0.22.2"
"@polkadot/primitives-codec@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-codec/-/primitives-codec-0.16.9.tgz#f685a1d24c99da56e4176c2168df9ad3efb02fba"
"@polkadot/primitives-codec@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-codec/-/primitives-codec-0.16.12.tgz#18bf1f2eb44689a38e9f7f91ed8f94a30c461a71"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/primitives" "^0.16.9"
"@polkadot/primitives-builder" "^0.16.9"
"@polkadot/primitives-rlp" "^0.16.9"
"@polkadot/primitives" "^0.16.12"
"@polkadot/primitives-builder" "^0.16.12"
"@polkadot/primitives-rlp" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/util-keyring" "^0.22.2"
"@polkadot/primitives-json@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-json/-/primitives-json-0.16.9.tgz#a18171833c31f1b0b971438c9ef29416d7cbd47c"
"@polkadot/primitives-json@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-json/-/primitives-json-0.16.12.tgz#59e971ffa3888bbbe9ec7c60180d2e6b91378355"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/primitives" "^0.16.9"
"@polkadot/primitives-builder" "^0.16.9"
"@polkadot/primitives" "^0.16.12"
"@polkadot/primitives-builder" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/primitives-rlp@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-rlp/-/primitives-rlp-0.16.9.tgz#9e306936da7fc932c702f0ba456110c80d77ebe3"
"@polkadot/primitives-rlp@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/primitives-rlp/-/primitives-rlp-0.16.12.tgz#5f1a23f748280970d5b9ac1950ec2d273c9b392b"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/primitives" "^0.16.9"
"@polkadot/primitives-builder" "^0.16.9"
"@polkadot/primitives" "^0.16.12"
"@polkadot/primitives-builder" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/util-crypto" "^0.22.2"
"@polkadot/primitives@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.16.9.tgz#20d70ecc29698e45cb0c1616afd7d5ccfb543a0c"
"@polkadot/primitives@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/primitives/-/primitives-0.16.12.tgz#761caa7b741d73d65a8ed6311d59a1994f914316"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/util" "^0.22.2"
"@polkadot/storage-substrate@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/storage-substrate/-/storage-substrate-0.16.9.tgz#151a6ea4215b63bc54b130188839839e211baebe"
"@polkadot/storage-substrate@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/storage-substrate/-/storage-substrate-0.16.12.tgz#6d43c3877af7f4e18387252298fd447e98e1af15"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/storage" "^0.16.9"
"@polkadot/storage" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/storage@^0.16.9":
version "0.16.9"
resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.16.9.tgz#4f08c7b36c95bfccf925e72ca15765a0e3db5a13"
"@polkadot/storage@^0.16.12":
version "0.16.12"
resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.16.12.tgz#38a2f439e970a7d156bd441fedbc41cdc7e136fb"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/params" "^0.16.9"
"@polkadot/primitives" "^0.16.9"
"@polkadot/params" "^0.16.12"
"@polkadot/primitives" "^0.16.12"
"@polkadot/util" "^0.22.2"
"@polkadot/util-keyring" "^0.22.2"
"@polkadot/ui-identicon@^0.13.10":
version "0.13.10"
resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.13.10.tgz#97caacfb95dbc65bafb61e12227b705e9a1d5e55"
"@polkadot/ui-identicon@^0.13.13":
version "0.13.13"
resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.13.13.tgz#cf17c9c632beef53e5deb9efc2a9df6edaacbffe"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
color "^3.0.0"
"@polkadot/ui-react-rx@^0.13.10":
version "0.13.10"
resolved "https://registry.yarnpkg.com/@polkadot/ui-react-rx/-/ui-react-rx-0.13.10.tgz#28b0940f684680f2e8f188c11c5c3d44e43627a3"
"@polkadot/ui-react-rx@^0.13.13":
version "0.13.13"
resolved "https://registry.yarnpkg.com/@polkadot/ui-react-rx/-/ui-react-rx-0.13.13.tgz#33a060f348ed0a07dfe28b3ddf08c6dcd0bf56ca"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/api-rx" "^0.12.10"
"@polkadot/storage-substrate" "^0.16.9"
"@polkadot/api-rx" "^0.12.12"
"@polkadot/storage-substrate" "^0.16.12"
"@polkadot/ui-react@^0.13.10":
version "0.13.10"
resolved "https://registry.yarnpkg.com/@polkadot/ui-react/-/ui-react-0.13.10.tgz#8e1f34208bf59e9eb669a7110e47c702369d5884"
"@polkadot/ui-react@^0.13.13":
version "0.13.13"
resolved "https://registry.yarnpkg.com/@polkadot/ui-react/-/ui-react-0.13.13.tgz#233da9b2753c32c447fc944361201065c004ccc8"
dependencies:
"@babel/runtime" "^7.0.0-beta.47"
"@polkadot/ui-identicon" "^0.13.10"
"@polkadot/ui-identicon" "^0.13.13"
"@polkadot/util-crypto@^0.22.2":
version "0.22.2"