Allow custom type registration (#543)
This commit is contained in:
parent
a723847d91
commit
0257eaeae1
@ -12,7 +12,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/keyring": "^0.33.27",
|
||||
"@polkadot/storage": "^0.35.12",
|
||||
"@polkadot/storage": "^0.35.13",
|
||||
"@polkadot/ui-react-rx": "^0.21.9"
|
||||
}
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/types": "^0.35.12",
|
||||
"@polkadot/types": "^0.35.13",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/util-crypto": "^0.33.27"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/types": "^0.35.12",
|
||||
"@polkadot/types": "^0.35.13",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-signer": "^0.21.9"
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-keyring": "^0.24.13",
|
||||
"@polkadot/ui-keyring": "^0.24.14",
|
||||
"@polkadot/ui-signer": "^0.21.9"
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,6 @@
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-react-rx": "^0.21.9",
|
||||
"@polkadot/ui-settings": "^0.24.13"
|
||||
"@polkadot/ui-settings": "^0.24.14"
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,9 +6,12 @@ import { I18nProps } from '@polkadot/ui-app/types';
|
||||
import { SettingsStruct } from '@polkadot/ui-settings/types';
|
||||
|
||||
import React from 'react';
|
||||
import { Button, Dropdown } from '@polkadot/ui-app/index';
|
||||
import store from 'store';
|
||||
import typeRegistry from '@polkadot/types/codec/typeRegistry';
|
||||
import { Button, Dropdown, InputFile } from '@polkadot/ui-app/index';
|
||||
import { ActionStatus } from '@polkadot/ui-app/Status/types';
|
||||
import settings from '@polkadot/ui-settings';
|
||||
import { u8aToString } from '@polkadot/util';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@ -19,68 +22,101 @@ type Props = I18nProps & {
|
||||
onStatusChange: (status: ActionStatus) => void
|
||||
};
|
||||
|
||||
type State = SettingsStruct;
|
||||
type State = SettingsStruct & {
|
||||
types?: { [index: string]: any } | null,
|
||||
typesError?: boolean,
|
||||
typesPlaceholder?: string
|
||||
};
|
||||
|
||||
class App extends React.PureComponent<Props, State> {
|
||||
constructor (props: Props) {
|
||||
super(props);
|
||||
|
||||
this.state = settings.get();
|
||||
const types = store.get('types') || {};
|
||||
const names = Object.keys(types);
|
||||
const state = settings.get();
|
||||
|
||||
this.state = {
|
||||
...state,
|
||||
typesPlaceholder: names.length
|
||||
? names.join(', ')
|
||||
: undefined
|
||||
};
|
||||
}
|
||||
|
||||
render () {
|
||||
const { t } = this.props;
|
||||
const { apiUrl, i18nLang, uiMode, uiTheme } = this.state;
|
||||
const { apiUrl, i18nLang, typesPlaceholder, typesError, uiMode, uiTheme } = this.state;
|
||||
|
||||
return (
|
||||
<main className='settings--App'>
|
||||
<div className='ui--row'>
|
||||
<div className='full'>
|
||||
<Dropdown
|
||||
defaultValue={apiUrl}
|
||||
label={t('select.api.url', {
|
||||
defaultValue: 'remote node/endpoint to connect to'
|
||||
})}
|
||||
onChange={this.onChangeApiUrl}
|
||||
options={settings.availableNodes}
|
||||
/>
|
||||
<section>
|
||||
<h1>{t('settings.general', {
|
||||
defaultValue: 'general'
|
||||
})}</h1>
|
||||
<div className='ui--row'>
|
||||
<div className='full'>
|
||||
<Dropdown
|
||||
defaultValue={apiUrl}
|
||||
label={t('select.api.url', {
|
||||
defaultValue: 'remote node/endpoint to connect to'
|
||||
})}
|
||||
onChange={this.onChangeApiUrl}
|
||||
options={settings.availableNodes}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className='ui--row'>
|
||||
<div className='medium'>
|
||||
<Dropdown
|
||||
defaultValue={uiTheme}
|
||||
label={t('select.ui.theme', {
|
||||
defaultValue: 'default interface theme'
|
||||
})}
|
||||
onChange={this.onChangeUiTheme}
|
||||
options={settings.availableUIThemes}
|
||||
/>
|
||||
<div className='ui--row'>
|
||||
<div className='medium'>
|
||||
<Dropdown
|
||||
defaultValue={uiTheme}
|
||||
label={t('select.ui.theme', {
|
||||
defaultValue: 'default interface theme'
|
||||
})}
|
||||
onChange={this.onChangeUiTheme}
|
||||
options={settings.availableUIThemes}
|
||||
/>
|
||||
</div>
|
||||
<div className='medium'>
|
||||
<Dropdown
|
||||
defaultValue={uiMode}
|
||||
label={t('select.ui.mode', {
|
||||
defaultValue: 'interface operation mode'
|
||||
})}
|
||||
onChange={this.onChangeUiMode}
|
||||
options={settings.availableUIModes}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className='medium'>
|
||||
<Dropdown
|
||||
defaultValue={uiMode}
|
||||
label={t('select.ui.mode', {
|
||||
defaultValue: 'interface operation mode'
|
||||
})}
|
||||
onChange={this.onChangeUiMode}
|
||||
options={settings.availableUIModes}
|
||||
/>
|
||||
<div className='ui--row'>
|
||||
<div className='full'>
|
||||
<Dropdown
|
||||
defaultValue={i18nLang}
|
||||
isDisabled
|
||||
label={t('select.i18n.lang', {
|
||||
defaultValue: 'default interface language'
|
||||
})}
|
||||
onChange={this.onChangeLang}
|
||||
options={settings.availableLanguages}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className='ui--row'>
|
||||
<div className='full'>
|
||||
<Dropdown
|
||||
defaultValue={i18nLang}
|
||||
isDisabled
|
||||
label={t('select.i18n.lang', {
|
||||
defaultValue: 'default interface language'
|
||||
})}
|
||||
onChange={this.onChangeLang}
|
||||
options={settings.availableLanguages}
|
||||
/>
|
||||
</section>
|
||||
<section>
|
||||
<h1>{t('settings.developer', {
|
||||
defaultValue: 'developer'
|
||||
})}</h1>
|
||||
<div className='ui--row'>
|
||||
<div className='full'>
|
||||
<InputFile
|
||||
isError={typesError}
|
||||
label='additional type definitions (JSON)'
|
||||
onChange={this.onChangeTypes}
|
||||
placeholder={typesPlaceholder}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<Button.Group>
|
||||
<Button
|
||||
isPrimary
|
||||
@ -102,6 +138,31 @@ class App extends React.PureComponent<Props, State> {
|
||||
// ignore (for now), here to future-proof
|
||||
}
|
||||
|
||||
private onChangeTypes = (data: Uint8Array) => {
|
||||
try {
|
||||
const types = JSON.parse(u8aToString(data));
|
||||
const typesPlaceholder = Object.keys(types).join(', ');
|
||||
|
||||
console.log('Registering types:', typesPlaceholder);
|
||||
|
||||
typeRegistry.register(types);
|
||||
|
||||
this.setState({
|
||||
types,
|
||||
typesError: false,
|
||||
typesPlaceholder
|
||||
});
|
||||
} catch (error) {
|
||||
console.error('Registering types:', error);
|
||||
|
||||
this.setState({
|
||||
types: null,
|
||||
typesError: true,
|
||||
typesPlaceholder: error.message
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private onChangeUiMode = (uiMode: string): void => {
|
||||
this.setState({ uiMode });
|
||||
}
|
||||
@ -111,8 +172,14 @@ class App extends React.PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
private save = (): void => {
|
||||
const { types, typesError } = this.state;
|
||||
|
||||
settings.set(this.state);
|
||||
|
||||
if (types && !typesError) {
|
||||
store.set('types', types);
|
||||
}
|
||||
|
||||
// HACK This is terribe, but since the API needs to re-connect, but since
|
||||
// the API does not yet handle re-connections properly, it is what it is
|
||||
window.location.reload();
|
||||
|
||||
@ -13,9 +13,9 @@
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/app-explorer": "^0.21.9",
|
||||
"@polkadot/keyring": "^0.33.27",
|
||||
"@polkadot/storage": "^0.35.12",
|
||||
"@polkadot/storage": "^0.35.13",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-keyring": "^0.24.13",
|
||||
"@polkadot/ui-keyring": "^0.24.14",
|
||||
"@polkadot/ui-react-rx": "^0.21.9"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-keyring": "^0.24.13"
|
||||
"@polkadot/ui-keyring": "^0.24.14"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-keyring": "^0.24.13",
|
||||
"@polkadot/ui-keyring": "^0.24.14",
|
||||
"@polkadot/ui-react-rx": "^0.21.9"
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
"@polkadot/app-transfer": "^0.21.9",
|
||||
"@polkadot/app-vanitygen": "^0.21.9",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-assets": "^0.24.13",
|
||||
"@polkadot/ui-assets": "^0.24.14",
|
||||
"@polkadot/ui-signer": "^0.21.9"
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,6 +7,8 @@ import { BareProps } from '@polkadot/ui-app/types';
|
||||
import './index.css';
|
||||
|
||||
import React from 'react';
|
||||
import store from 'store';
|
||||
import typeRegistry from '@polkadot/types/codec/typeRegistry';
|
||||
import createApp from '@polkadot/ui-app/index';
|
||||
import Signer from '@polkadot/ui-signer/index';
|
||||
import classes from '@polkadot/ui-app/util/classes';
|
||||
@ -39,6 +41,18 @@ const url = !settings.apiUrl
|
||||
|
||||
console.log('Web socket url=', url);
|
||||
|
||||
try {
|
||||
const types = store.get('types') || {};
|
||||
const names = Object.keys(types);
|
||||
|
||||
if (names.length) {
|
||||
typeRegistry.register(types);
|
||||
console.log('Type registration:', names.join(', '));
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Type registration failed', error);
|
||||
}
|
||||
|
||||
createApp(App, {
|
||||
url
|
||||
});
|
||||
|
||||
@ -11,11 +11,11 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/types": "^0.35.12",
|
||||
"@polkadot/ui-identicon": "^0.24.13",
|
||||
"@polkadot/ui-keyring": "^0.24.13",
|
||||
"@polkadot/types": "^0.35.13",
|
||||
"@polkadot/ui-identicon": "^0.24.14",
|
||||
"@polkadot/ui-keyring": "^0.24.14",
|
||||
"@polkadot/ui-react-rx": "^0.21.9",
|
||||
"@polkadot/ui-settings": "^0.24.13",
|
||||
"@polkadot/ui-settings": "^0.24.14",
|
||||
"@types/chart.js": "^2.7.42",
|
||||
"@types/i18next": "^12.1.0",
|
||||
"@types/i18next-browser-languagedetector": "^2.0.1",
|
||||
|
||||
@ -186,6 +186,7 @@ header .ui--Button-Group {
|
||||
|
||||
.ui--InputFile {
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
border: 1px dashed rgba(34, 36, 38, 0.15);
|
||||
border-radius: $small-corner;
|
||||
display: flex;
|
||||
@ -202,6 +203,7 @@ header .ui--Button-Group {
|
||||
|
||||
&:hover {
|
||||
background: #fefefe;
|
||||
border-style: solid;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-react-rx#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/api-observable": "^0.35.12",
|
||||
"@polkadot/rpc-rx": "^0.35.12",
|
||||
"@polkadot/types": "^0.35.12",
|
||||
"@polkadot/api-observable": "^0.35.13",
|
||||
"@polkadot/rpc-rx": "^0.35.13",
|
||||
"@polkadot/types": "^0.35.13",
|
||||
"rxjs-compat": "^6.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,6 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@polkadot/ui-app": "^0.21.9",
|
||||
"@polkadot/ui-keyring": "^0.24.13"
|
||||
"@polkadot/ui-keyring": "^0.24.14"
|
||||
}
|
||||
}
|
||||
|
||||
15
types.json
Normal file
15
types.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"TransactionInput": {
|
||||
"parent_output": "Hash",
|
||||
"signature": "Signature"
|
||||
},
|
||||
"TransactionOutput": {
|
||||
"value": "u128",
|
||||
"pubkey": "Hash",
|
||||
"sale": "u32"
|
||||
},
|
||||
"Transaction": {
|
||||
"inputs": "Vec<TransactionInput>",
|
||||
"outputs": "Vec<TransactionOutput>"
|
||||
}
|
||||
}
|
||||
124
yarn.lock
124
yarn.lock
@ -1419,16 +1419,16 @@
|
||||
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
|
||||
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
|
||||
|
||||
"@polkadot/api-observable@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-observable/-/api-observable-0.35.12.tgz#7b6360b4e1f41bf6731d9d038fdead10c7c0887d"
|
||||
integrity sha512-IykL/hHC4Njnkdm2U96X2SMrw8bjxKefwFnH3WjQbFGRaTuOyFsEzmFytgXsPuO/xGkwVUJfzrvmpnwOixp71Q==
|
||||
"@polkadot/api-observable@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/api-observable/-/api-observable-0.35.13.tgz#1425f76321d2258637233c8032937e45c8783557"
|
||||
integrity sha512-J5rnBAFE5qGWp6mfwWFKf96uRVt6w3dbHYqTNL7OB9Ownw5P8GNf73Sby3Yyyal8Rwdg4g0fP6HDRl34CH19tg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/extrinsics" "^0.35.12"
|
||||
"@polkadot/rpc-core" "^0.35.12"
|
||||
"@polkadot/rpc-provider" "^0.35.12"
|
||||
"@polkadot/storage" "^0.35.12"
|
||||
"@polkadot/extrinsics" "^0.35.13"
|
||||
"@polkadot/rpc-core" "^0.35.13"
|
||||
"@polkadot/rpc-provider" "^0.35.13"
|
||||
"@polkadot/storage" "^0.35.13"
|
||||
"@types/rx" "^4.1.1"
|
||||
rxjs "^6.3.3"
|
||||
|
||||
@ -1509,19 +1509,19 @@
|
||||
typedoc-plugin-no-inherit "^1.0.2"
|
||||
typescript "^3.2.2"
|
||||
|
||||
"@polkadot/extrinsics@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.35.12.tgz#17e0fb002fa16776c94a993a8004d584591925e1"
|
||||
integrity sha512-MeNqmlK05VtdHsJ67XOpCt58iR8f4ffjHa/Yg9+ZwTn3W/B+iFowV9/pnVlKqaiyHcjyHDZK3Oo+ZN09c3/CPw==
|
||||
"@polkadot/extrinsics@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/extrinsics/-/extrinsics-0.35.13.tgz#a75a2546288b1fda1f6045bbc331e08724ab8eba"
|
||||
integrity sha512-XYQLLb2QJ2xgY/iJmA3NCYtMIQ9OAwiErk5Ys21MhxzGLfKTviAPnh0FNVPgwy0k7fKHK3IEZxjiYBcYU+2uyQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/types" "^0.35.12"
|
||||
"@polkadot/types" "^0.35.13"
|
||||
"@polkadot/util" "^0.33.27"
|
||||
|
||||
"@polkadot/jsonrpc@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.35.12.tgz#cf3c0d2a788bc021b781ce266cc6b432342ea6fd"
|
||||
integrity sha512-MqWfHE4aGJ0kyxSB6E6seFl/ZD1O7B7YB3sSFln7AxifZ8TV3VnMC3rpsodRUXQzgMUTpDZyCJ9cdtb41SXX8g==
|
||||
"@polkadot/jsonrpc@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/jsonrpc/-/jsonrpc-0.35.13.tgz#98f80d028fbb71c4c0582692cae9c1506b9d87bc"
|
||||
integrity sha512-VG+RuTqhOxdK9uwQHMDIvQfyvbq2Z+GosP7UFdRbyve613n2iz5Thj5LxoZ0OhNfI4lCriDsCTp4gN4Wd2YCQQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
|
||||
@ -1536,25 +1536,25 @@
|
||||
"@types/bs58" "^3.0.30"
|
||||
bs58 "^4.0.1"
|
||||
|
||||
"@polkadot/rpc-core@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.35.12.tgz#e0e6f6d009b53b0701959650045ee49df6646419"
|
||||
integrity sha512-DkBSBYCXxcfwGBDXlAfP+f9NYVTnKUQiv4si/3tgEGSuTczqDLwbZQcg1s93vSV3bWOqOBXWcE487I/LCN3apw==
|
||||
"@polkadot/rpc-core@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-0.35.13.tgz#5bedb5d60beab06f6b1384a14eaa936c69ecae4b"
|
||||
integrity sha512-SxjwKeDUuYQsAl4kyl6hXVIqcTIY9ljN2uru3gmyabfunZev4OSjDB35aEbu1CmjcQhw7is8cIHepJCalEfVaw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/jsonrpc" "^0.35.12"
|
||||
"@polkadot/rpc-provider" "^0.35.12"
|
||||
"@polkadot/types" "^0.35.12"
|
||||
"@polkadot/jsonrpc" "^0.35.13"
|
||||
"@polkadot/rpc-provider" "^0.35.13"
|
||||
"@polkadot/types" "^0.35.13"
|
||||
"@polkadot/util" "^0.33.27"
|
||||
|
||||
"@polkadot/rpc-provider@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.35.12.tgz#3af10f83cbbfa9a0b76f15c97fa03262caf95d1c"
|
||||
integrity sha512-k41Zfvd59bqKpcmXpqHbrNvlbg3g4iWcbb9kb00Ynu7PSnt1HoHiXjZqA3UWcancXwFjfDk70fmXbyq1YbN18A==
|
||||
"@polkadot/rpc-provider@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-0.35.13.tgz#89e48ec6dbd4fe330e82aca67cea7de8c3148cef"
|
||||
integrity sha512-j82VA0NHi+U91KmJ4hxrpz9nlp3LklSwYAT8v77YF5OEBJFx8Prvu5rF5AaT0XyytPfUoYmXQxnBhe9NPddqKg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/keyring" "^0.33.27"
|
||||
"@polkadot/storage" "^0.35.12"
|
||||
"@polkadot/storage" "^0.35.13"
|
||||
"@polkadot/util" "^0.33.27"
|
||||
"@polkadot/util-crypto" "^0.33.27"
|
||||
"@types/nock" "^9.3.0"
|
||||
@ -1562,25 +1562,25 @@
|
||||
isomorphic-fetch "^2.2.1"
|
||||
websocket "^1.0.28"
|
||||
|
||||
"@polkadot/rpc-rx@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.35.12.tgz#0eab28b1bacbbbefdc98d0a1ac59acd5b828651a"
|
||||
integrity sha512-3hzZbKfVezi7mORPeVevS4zjtWh3BgbsfmGnPdTNuP512caulZp2V1AwqdEJCbSjXaSBj1ri7mLW+rPEjHkEXQ==
|
||||
"@polkadot/rpc-rx@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/rpc-rx/-/rpc-rx-0.35.13.tgz#465ae9b58e7d6c0cf927ff52c0ad70c35822e675"
|
||||
integrity sha512-q/Qyz5egxlHXGC4TRrU1EO8/GgL829EAFg30tr5M8imtAXNX/cUMLJkAXSNZK8X7xAdg49QvRpW0zT/gMFV61A==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/rpc-core" "^0.35.12"
|
||||
"@polkadot/rpc-provider" "^0.35.12"
|
||||
"@polkadot/rpc-core" "^0.35.13"
|
||||
"@polkadot/rpc-provider" "^0.35.13"
|
||||
"@types/rx" "^4.1.1"
|
||||
rxjs "^6.3.3"
|
||||
|
||||
"@polkadot/storage@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.35.12.tgz#b589e137b676a997f0c29298116f628f81cd1e04"
|
||||
integrity sha512-UdCH8G9CLGicVNcsUVKGlPGSYBGyIMss6E1EfdiJSNZRwBsUU0fntFyp5Bp5DzX15Y7fQRo0OoAGRgOf9/HcLA==
|
||||
"@polkadot/storage@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/storage/-/storage-0.35.13.tgz#5bf59117b61e887f4bb07f7cad9e94fb83afd329"
|
||||
integrity sha512-tNAScDnZtEOqVCljGu/iU1s/e22Hb+gY6HyX1rJALsZXa5dnepodS7MNxyJZzCVCF3b6hKyx+Z250As6ltBESQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/keyring" "^0.33.27"
|
||||
"@polkadot/types" "^0.35.12"
|
||||
"@polkadot/types" "^0.35.13"
|
||||
"@polkadot/util" "^0.33.27"
|
||||
"@polkadot/util-crypto" "^0.33.27"
|
||||
|
||||
@ -1589,52 +1589,52 @@
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.44.tgz#2fb28215f10b869bfa544fd8df8fccb4932d64f2"
|
||||
integrity sha512-tor7vSd3ZsRBO9FIuKZQ9hfqEGkNZnanAFVGmoL1iSmdhcoKtYTlQe0BQafjIynqIMOfXdJ7Zes9PlorPtw6yw==
|
||||
|
||||
"@polkadot/types@^0.35.12":
|
||||
version "0.35.12"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.35.12.tgz#04e72780a509788d31b587c5da6e471a1dc63cbd"
|
||||
integrity sha512-uGiFJrPqgXIcxyj9xokdFg2Bldy4Nrmu7OJ+ipEJxW76FsO2cKtifsvH9qzKTg3wN2j6WV114b14msipdCWMYw==
|
||||
"@polkadot/types@^0.35.13":
|
||||
version "0.35.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.35.13.tgz#6049bf40996dc189da9ab3b7ccf8bb730321b5eb"
|
||||
integrity sha512-B/pyrgY4+a/haOoLMm3j0gLh293EP1fC3BsQxWAnnVy5FvRQ4LtnEmw0eBgfyBUGrsxpJyNApNKG/TBCEFcxbg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/keyring" "^0.33.27"
|
||||
"@polkadot/util" "^0.33.27"
|
||||
core-js "^2.6.1"
|
||||
|
||||
"@polkadot/ui-assets@^0.24.13":
|
||||
version "0.24.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.24.13.tgz#0700906ac4321008da2346c80a81ab7067bea6f2"
|
||||
integrity sha512-ASnnrPekei/yo9KSPSa55o3iPAsKPwCFLey9t+dihcpb8GfvJaW4WnS7YVL7UaziPMcm5P4Np/6KtmK+Vijl1w==
|
||||
"@polkadot/ui-assets@^0.24.14":
|
||||
version "0.24.14"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.24.14.tgz#309cb75db0c01b174f0e60726cc65df791ddc16b"
|
||||
integrity sha512-zmQfDEJI70yhq33nbrhc7AJaSoFA2SN0BvtpcBJg+hVEWWj4+yOFCxeHqmMa3xvfVkvI35k1cY6lK8GQEBCmDw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
|
||||
"@polkadot/ui-identicon@^0.24.13":
|
||||
version "0.24.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.24.13.tgz#f880ce558edd04cd5339a5b64e194c3634abbcd5"
|
||||
integrity sha512-3u0Rp0qxUEc57E3k1PQhDN1+i0eQiljmt/M0KxauzW9270smoDZfmzpVf/sTQKCs0nC4kqKrEnUlG+jqp4BrHw==
|
||||
"@polkadot/ui-identicon@^0.24.14":
|
||||
version "0.24.14"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.24.14.tgz#b4e2512f5717e9c1b35af552bc60f483e272e00c"
|
||||
integrity sha512-SEPPmIJXfKEsQeUJ2bWje/Rv80bTwv4fBdH/kpjshByv10nPivCpUrllEGdc2yfrVsyfSh1JcMUoafmmkJjJpQ==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/keyring" "^0.33.27"
|
||||
"@polkadot/ui-settings" "^0.24.13"
|
||||
"@polkadot/ui-settings" "^0.24.14"
|
||||
"@polkadot/util-crypto" "^0.33.27"
|
||||
"@types/color" "^3.0.0"
|
||||
"@types/react-copy-to-clipboard" "^4.2.6"
|
||||
color "^3.0.0"
|
||||
react-copy-to-clipboard "^5.0.1"
|
||||
|
||||
"@polkadot/ui-keyring@^0.24.13":
|
||||
version "0.24.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.24.13.tgz#ad01438b01d3c7f8dcfa682f88bdf09f48be7a7c"
|
||||
integrity sha512-zfOFMFOoj9NWrDIqUy16POOHxUkroexMCcZzu1UZudarchallvvEH235ue90bnJK/NqfBoio1WrEoj9i+MQtEA==
|
||||
"@polkadot/ui-keyring@^0.24.14":
|
||||
version "0.24.14"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.24.14.tgz#990e39d96df521997f46bb089b7bcae7bdd4aabf"
|
||||
integrity sha512-6dQUEPBMpO790j6BMGUfj1vO86o4eU1T2xc9HaCQT1RfKTPB2BJv2/gmJHZNmBdfvZ2vs+A5TErCP0CGFwC89g==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@polkadot/keyring" "^0.33.27"
|
||||
"@polkadot/types" "^0.35.12"
|
||||
"@polkadot/types" "^0.35.13"
|
||||
"@types/store" "^2.0.1"
|
||||
store "^2.0.12"
|
||||
|
||||
"@polkadot/ui-settings@^0.24.13":
|
||||
version "0.24.13"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.24.13.tgz#c276110c02360a21f0b02296583dbb0d6c2be4ff"
|
||||
integrity sha512-hPSEU6KhYSDmjSx+QdeyJRU0SZ77foXnynIwQvBThyd/VTrOawMUBtaxFRlci0zodo7Land7pgy4W7jL3UfLrQ==
|
||||
"@polkadot/ui-settings@^0.24.14":
|
||||
version "0.24.14"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.24.14.tgz#aa96dc5092e333fddacefb7cfc4fe68e0ecc2d11"
|
||||
integrity sha512-vG/XeHxOnwPKrEMaQH8ZT4V8Y+WWNPcsTw8KtOeduv7QALr76FPMClxiB2l53x15hZHd+OcS5NVxhaOQPCAm3g==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.2.0"
|
||||
"@types/store" "^2.0.1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user