* 1.0

* signAsync typing

* Merge master
This commit is contained in:
Jaco Greeff
2020-01-30 16:59:04 +01:00
committed by GitHub
parent 59e069f091
commit ca7edf1593
14 changed files with 85 additions and 81 deletions
+4 -2
View File
@@ -1,7 +1,8 @@
# 1.0.0-beta-x # 1.0.1
- **Breaking change** Drop support for Substrate v1 chain in all derives - **Breaking change** Drop support for Substrate v1 chain in all derives
- Add `polkadot-types-from-chain` & `polkadot-types-from-defs` TypeScript generators (`@polkadot/types` bin) - Return unsub functions from provider .on emitters (Thanks to https://github.com/jak-pan)
- Add `polkadot-types-from-chain` & `polkadot-types-from-defs` TypeScript generators to `@polkadot/types`
- Only decorate derives where relevant parent `api.query.*` is available - Only decorate derives where relevant parent `api.query.*` is available
- Support `.entries(arg?: any)` lookups on DoubleMaps (in addition to previously supported maps) - Support `.entries(arg?: any)` lookups on DoubleMaps (in addition to previously supported maps)
- Remove un-deployed support for v11 metadata (this was decided against on Substrate) - Remove un-deployed support for v11 metadata (this was decided against on Substrate)
@@ -12,6 +13,7 @@
- Don't map empy tuples, e.. `()` to `Null`, rather keep them empty - Don't map empy tuples, e.. `()` to `Null`, rather keep them empty
- Add lookups to the metadata erros via `findMetaError` - Add lookups to the metadata erros via `findMetaError`
- Update metadata and types for the lastest Substrate & Polkadot versions - Update metadata and types for the lastest Substrate & Polkadot versions
- Support metadata V11 as per lastest Substrate
- Remove old known types for Substrate V1 - Remove old known types for Substrate V1
# 0.100.1 # 0.100.1
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"version": "1.0.0-beta.44" "version": "1.0.0"
} }
+1 -1
View File
@@ -29,7 +29,7 @@
"@babel/core": "^7.8.3", "@babel/core": "^7.8.3",
"@babel/register": "^7.8.3", "@babel/register": "^7.8.3",
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/dev": "^0.33.1", "@polkadot/dev": "^0.33.3",
"@polkadot/ts": "^0.2.1" "@polkadot/ts": "^0.2.1"
} }
} }
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/api-contract", "name": "@polkadot/api-contract",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "Interfaces for interacting with contracts and contract ABIs", "description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js", "main": "index.js",
"keywords": [ "keywords": [
@@ -27,6 +27,6 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/types": "^1.0.0-beta.44" "@polkadot/types": "^1.0.0"
} }
} }
+4 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/api-derive", "name": "@polkadot/api-derive",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js", "main": "index.js",
"keywords": [ "keywords": [
@@ -28,10 +28,10 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/api": "^1.0.0-beta.44", "@polkadot/api": "^1.0.0",
"@polkadot/types": "^1.0.0-beta.44" "@polkadot/types": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^2.0.0-beta.10" "@polkadot/keyring": "^2.0.1"
} }
} }
+9 -9
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/api", "name": "@polkadot/api",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC", "description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js", "main": "index.js",
"keywords": [ "keywords": [
@@ -30,15 +30,15 @@
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/api-derive": "^1.0.0-beta.44", "@polkadot/api-derive": "^1.0.0",
"@polkadot/keyring": "^2.0.0-beta.10", "@polkadot/keyring": "^2.0.1",
"@polkadot/metadata": "^1.0.0-beta.44", "@polkadot/metadata": "^1.0.0",
"@polkadot/rpc-core": "^1.0.0-beta.44", "@polkadot/rpc-core": "^1.0.0",
"@polkadot/rpc-provider": "^1.0.0-beta.44", "@polkadot/rpc-provider": "^1.0.0",
"@polkadot/types": "^1.0.0-beta.44", "@polkadot/types": "^1.0.0",
"@polkadot/util-crypto": "^2.0.0-beta.10" "@polkadot/util-crypto": "^2.0.1"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^2.0.0-beta.10" "@polkadot/keyring": "^2.0.1"
} }
} }
+10 -10
View File
@@ -3,10 +3,10 @@
// This software may be modified and distributed under the terms // This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details. // of the Apache-2.0 license. See the LICENSE file for details.
import { AccountId, Address, Call, ExtrinsicEra, ExtrinsicStatus, Hash, Header, Index, RuntimeDispatchInfo } from '@polkadot/types/interfaces'; import { Address, Call, ExtrinsicEra, ExtrinsicStatus, Hash, Header, Index, RuntimeDispatchInfo } from '@polkadot/types/interfaces';
import { Callback, Codec, Constructor, IKeyringPair, Registry, SignatureOptions } from '@polkadot/types/types'; import { Callback, Codec, Constructor, IKeyringPair, Registry, SignatureOptions } from '@polkadot/types/types';
import { ApiInterfaceRx, ApiTypes, SignerResult } from '../types'; import { ApiInterfaceRx, ApiTypes, SignerResult } from '../types';
import { SignerOptions, SubmittableExtrinsic, SubmittablePaymentResult, SubmittableResultImpl, SubmittableResultResult, SubmittableResultSubscription, SubmittableThis } from './types'; import { AddressOrPair, SignerOptions, SubmittableExtrinsic, SubmittablePaymentResult, SubmittableResultImpl, SubmittableResultResult, SubmittableResultSubscription, SubmittableThis } from './types';
import { Observable, combineLatest, of } from 'rxjs'; import { Observable, combineLatest, of } from 'rxjs';
import { first, map, mapTo, mergeMap, switchMap, tap } from 'rxjs/operators'; import { first, map, mapTo, mergeMap, switchMap, tap } from 'rxjs/operators';
@@ -50,7 +50,7 @@ export default function createClass <ApiType extends ApiTypes> ({ api, apiType,
} }
// calculate the payment info for this transaction (if signed and submitted) // calculate the payment info for this transaction (if signed and submitted)
public paymentInfo (account: IKeyringPair | string | AccountId | Address, options?: Partial<SignerOptions>): SubmittablePaymentResult<ApiType> { public paymentInfo (account: AddressOrPair, options?: Partial<SignerOptions>): SubmittablePaymentResult<ApiType> {
const [allOptions] = this._makeSignAndSendOptions(options); const [allOptions] = this._makeSignAndSendOptions(options);
const address = isKeyringPair(account) ? account.address : account.toString(); const address = isKeyringPair(account) ? account.address : account.toString();
@@ -82,7 +82,7 @@ export default function createClass <ApiType extends ApiTypes> ({ api, apiType,
// signs a transaction, returning `this` to allow chaining. E.g.: `sign(...).send()` // signs a transaction, returning `this` to allow chaining. E.g.: `sign(...).send()`
// //
// also supports signing through external signers // also supports signing through external signers
public signAsync (account: IKeyringPair | string | AccountId | Address, optionsOrNonce: Partial<SignerOptions>): SubmittableThis<ApiType, this> { public signAsync (account: AddressOrPair, optionsOrNonce: Partial<SignerOptions>): SubmittableThis<ApiType, this> {
return this._decorateMethod( return this._decorateMethod(
(): Observable<this> => (): Observable<this> =>
this._signObservable(account, optionsOrNonce).pipe(mapTo(this)) this._signObservable(account, optionsOrNonce).pipe(mapTo(this))
@@ -90,16 +90,16 @@ export default function createClass <ApiType extends ApiTypes> ({ api, apiType,
} }
// signAndSend with an immediate Hash result // signAndSend with an immediate Hash result
public signAndSend (account: IKeyringPair | string | AccountId | Address, options?: Partial<SignerOptions>): SubmittableResultResult<ApiType>; public signAndSend (account: AddressOrPair, options?: Partial<SignerOptions>): SubmittableResultResult<ApiType>;
// signAndSend with a subscription, i.e. callback provided // signAndSend with a subscription, i.e. callback provided
public signAndSend (account: IKeyringPair | string | AccountId | Address, statusCb: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>; public signAndSend (account: AddressOrPair, statusCb: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>;
// signAndSend with options and a callback // signAndSend with options and a callback
public signAndSend (account: IKeyringPair | string | AccountId | Address, options: Partial<SignerOptions>, statusCb?: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>; public signAndSend (account: AddressOrPair, options: Partial<SignerOptions>, statusCb?: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>;
// signAndSend implementation for all 3 cases above // signAndSend implementation for all 3 cases above
public signAndSend (account: IKeyringPair | string | AccountId | Address, optionsOrStatus?: Partial<SignerOptions> | Callback<SubmittableResultImpl>, optionalStatusCb?: Callback<SubmittableResultImpl>): SubmittableResultResult<ApiType> | SubmittableResultSubscription<ApiType> { public signAndSend (account: AddressOrPair, optionsOrStatus?: Partial<SignerOptions> | Callback<SubmittableResultImpl>, optionalStatusCb?: Callback<SubmittableResultImpl>): SubmittableResultResult<ApiType> | SubmittableResultSubscription<ApiType> {
const [options, statusCb] = this._makeSignAndSendOptions(optionsOrStatus, optionalStatusCb); const [options, statusCb] = this._makeSignAndSendOptions(optionsOrStatus, optionalStatusCb);
const isSubscription = this._api.hasSubscriptions && (this._ignoreStatusCb || !!statusCb); const isSubscription = this._api.hasSubscriptions && (this._ignoreStatusCb || !!statusCb);
@@ -144,7 +144,7 @@ export default function createClass <ApiType extends ApiTypes> ({ api, apiType,
return [options, statusCb]; return [options, statusCb];
} }
private _signObservable (account: IKeyringPair | string | AccountId | Address, optionsOrNonce: Partial<SignerOptions>): Observable<number | undefined> { private _signObservable (account: AddressOrPair, optionsOrNonce: Partial<SignerOptions>): Observable<number | undefined> {
const address = isKeyringPair(account) ? account.address : account.toString(); const address = isKeyringPair(account) ? account.address : account.toString();
const options = this._optionsOrNonce(optionsOrNonce); const options = this._optionsOrNonce(optionsOrNonce);
let updateId: number | undefined; let updateId: number | undefined;
@@ -164,7 +164,7 @@ export default function createClass <ApiType extends ApiTypes> ({ api, apiType,
); );
} }
private async _signViaSigner (address: | string | AccountId | Address, options: SignatureOptions, header: Header | null): Promise<number> { private async _signViaSigner (address: Address | string | Uint8Array, options: SignatureOptions, header: Header | null): Promise<number> {
const signer = options.signer || this._api.signer; const signer = options.signer || this._api.signer;
assert(signer, 'No signer specified, either via api.setSigner or via sign options'); assert(signer, 'No signer specified, either via api.setSigner or via sign options');
+7 -5
View File
@@ -52,8 +52,10 @@ export interface SignerOptions {
tip?: AnyNumber; tip?: AnyNumber;
} }
export type AddressOrPair = IKeyringPair | string | AccountId | Address;
export interface SubmittableExtrinsic<ApiType extends ApiTypes> extends IExtrinsic { export interface SubmittableExtrinsic<ApiType extends ApiTypes> extends IExtrinsic {
paymentInfo (account: IKeyringPair | string | AccountId | Address, options?: Partial<SignerOptions>): SubmittablePaymentResult<ApiType>; paymentInfo (account: AddressOrPair, options?: Partial<SignerOptions>): SubmittablePaymentResult<ApiType>;
send(): SubmittableResultResult<ApiType>; send(): SubmittableResultResult<ApiType>;
@@ -61,11 +63,11 @@ export interface SubmittableExtrinsic<ApiType extends ApiTypes> extends IExtrins
sign(account: IKeyringPair, _options: Partial<SignatureOptions>): this; sign(account: IKeyringPair, _options: Partial<SignatureOptions>): this;
signAsync(account: IKeyringPair, _options: Partial<SignatureOptions>): SubmittableThis<ApiType, this>; signAsync(account: AddressOrPair, _options: Partial<SignatureOptions>): SubmittableThis<ApiType, this>;
signAndSend(account: IKeyringPair | string | AccountId | Address, options?: Partial<SignerOptions>): SubmittableResultResult<ApiType>; signAndSend(account: AddressOrPair, options?: Partial<SignerOptions>): SubmittableResultResult<ApiType>;
signAndSend(account: IKeyringPair | string | AccountId | Address, statusCb: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>; signAndSend(account: AddressOrPair, statusCb: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>;
signAndSend(account: IKeyringPair | string | AccountId | Address, options: Partial<SignerOptions>, statusCb?: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>; signAndSend(account: AddressOrPair, options: Partial<SignerOptions>, statusCb?: Callback<SubmittableResultImpl>): SubmittableResultSubscription<ApiType>;
} }
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/metadata", "name": "@polkadot/metadata",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "Helpers to extract information from runtime metadata", "description": "Helpers to extract information from runtime metadata",
"main": "index.js", "main": "index.js",
"publishConfig": { "publishConfig": {
@@ -27,11 +27,11 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/types": "^1.0.0-beta.44", "@polkadot/types": "^1.0.0",
"@polkadot/util": "^2.0.0-beta.10", "@polkadot/util": "^2.0.1",
"@polkadot/util-crypto": "^2.0.0-beta.10" "@polkadot/util-crypto": "^2.0.1"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^2.0.0-beta.10" "@polkadot/keyring": "^2.0.1"
} }
} }
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/rpc-core", "name": "@polkadot/rpc-core",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js", "main": "index.js",
"keywords": [ "keywords": [
@@ -27,10 +27,10 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/jsonrpc": "^1.0.0-beta.44", "@polkadot/jsonrpc": "^1.0.0",
"@polkadot/rpc-provider": "^1.0.0-beta.44", "@polkadot/rpc-provider": "^1.0.0",
"@polkadot/types": "^1.0.0-beta.44", "@polkadot/types": "^1.0.0",
"@polkadot/util": "^2.0.0-beta.10", "@polkadot/util": "^2.0.1",
"rxjs": "^6.5.4" "rxjs": "^6.5.4"
} }
} }
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/rpc-provider", "name": "@polkadot/rpc-provider",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "Transport providers for the API", "description": "Transport providers for the API",
"main": "index.js", "main": "index.js",
"keywords": [ "keywords": [
@@ -27,15 +27,15 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/metadata": "^1.0.0-beta.44", "@polkadot/metadata": "^1.0.0",
"@polkadot/util": "^2.0.0-beta.10", "@polkadot/util": "^2.0.1",
"@polkadot/util-crypto": "^2.0.0-beta.10", "@polkadot/util-crypto": "^2.0.1",
"eventemitter3": "^4.0.0", "eventemitter3": "^4.0.0",
"isomorphic-fetch": "^2.2.1", "isomorphic-fetch": "^2.2.1",
"websocket": "^1.0.31" "websocket": "^1.0.31"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^2.0.0-beta.10", "@polkadot/keyring": "^2.0.1",
"mock-socket": "^9.0.3", "mock-socket": "^9.0.3",
"nock": "^11.7.2" "nock": "^11.7.2"
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/jsonrpc", "name": "@polkadot/jsonrpc",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "Method definitions for the Polkadot RPC layer", "description": "Method definitions for the Polkadot RPC layer",
"main": "index.js", "main": "index.js",
"publishConfig": { "publishConfig": {
+5 -5
View File
@@ -1,6 +1,6 @@
{ {
"name": "@polkadot/types", "name": "@polkadot/types",
"version": "1.0.0-beta.44", "version": "1.0.0",
"description": "Implementation of the Parity codec", "description": "Implementation of the Parity codec",
"main": "index.js", "main": "index.js",
"bin": { "bin": {
@@ -34,14 +34,14 @@
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.3", "@babel/runtime": "^7.8.3",
"@polkadot/metadata": "^1.0.0-beta.44", "@polkadot/metadata": "^1.0.0",
"@polkadot/util": "^2.0.0-beta.10", "@polkadot/util": "^2.0.1",
"@polkadot/util-crypto": "^2.0.0-beta.10", "@polkadot/util-crypto": "^2.0.1",
"memoizee": "^0.4.14", "memoizee": "^0.4.14",
"yargs": "^15.1.0" "yargs": "^15.1.0"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^2.0.0-beta.10", "@polkadot/keyring": "^2.0.1",
"@types/memoizee": "^0.4.3", "@types/memoizee": "^0.4.3",
"@types/yargs": "^15.0.2" "@types/yargs": "^15.0.2"
} }
+26 -26
View File
@@ -1965,10 +1965,10 @@
dependencies: dependencies:
"@types/node" ">= 8" "@types/node" ">= 8"
"@polkadot/dev@^0.33.1": "@polkadot/dev@^0.33.3":
version "0.33.1" version "0.33.3"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.33.1.tgz#843488aafa5ced312e7b79f7d09556d803266975" resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.33.3.tgz#a5ee8990ea240c655b0b1c065a53518d0fab3c86"
integrity sha512-qX+vGZM+M2gPais2E1hUSg4BM8J2e2t0DeoyJpiwYqrK3Yp8eMUaCV08s9+l4G1l+5W3MgJdd6iH4JkvvQhhvg== integrity sha512-AruWNAIAjbweoDUJAX4SSSgzbtsxZkociPAitcXBFul6XSU4eMJiyc68o0ZiQOXt/T9TWUjuVMSLEkcuNh536Q==
dependencies: dependencies:
"@babel/cli" "^7.8.3" "@babel/cli" "^7.8.3"
"@babel/core" "^7.8.3" "@babel/core" "^7.8.3"
@@ -2015,14 +2015,14 @@
typescript "^3.7.5" typescript "^3.7.5"
vuepress "^1.2.0" vuepress "^1.2.0"
"@polkadot/keyring@^2.0.0-beta.10": "@polkadot/keyring@^2.0.1":
version "2.0.0-beta.10" version "2.0.1"
resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-2.0.0-beta.10.tgz#2d0903b938bc6f50481096668f96097020c01e4f" resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-2.0.1.tgz#bbcc10c1a96bf3c43a53414f93646f3d7cc0d5e8"
integrity sha512-MamR8pA1z3bTikjCnvuEg6LXkCoiePDT8+pbnpxGdBda9SsIpMKCe1+7Y0mYjX7AgXFFq6lPulZGtIhQE9AHpw== integrity sha512-VsQQgQVnc5rfMGdFOxDhyv+YdoI5gJaTAhAB++FKxELUtfQJiGOCb16NUs29vNLf7UX59ZkLZfvO+EL0JcZwdw==
dependencies: dependencies:
"@babel/runtime" "^7.8.3" "@babel/runtime" "^7.8.3"
"@polkadot/util" "^2.0.0-beta.10" "@polkadot/util" "^2.0.1"
"@polkadot/util-crypto" "^2.0.0-beta.10" "@polkadot/util-crypto" "^2.0.1"
"@polkadot/ts@^0.2.1": "@polkadot/ts@^0.2.1":
version "0.2.1" version "0.2.1"
@@ -2031,14 +2031,14 @@
dependencies: dependencies:
"@types/chrome" "^0.0.92" "@types/chrome" "^0.0.92"
"@polkadot/util-crypto@^2.0.0-beta.10": "@polkadot/util-crypto@^2.0.1":
version "2.0.0-beta.10" version "2.0.1"
resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-2.0.0-beta.10.tgz#7819091979857a134570059fa202f2b68f866b65" resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-2.0.1.tgz#abfe4c229bb52b56b7ebab9256d366c65a3eca63"
integrity sha512-F2H1Sj3cZ0Ga7r47mdgwXfT9TBXoFqKu8H8Lq3m9e8DTZ4kannG7xOcCuN0nzFTk+0NfEJ8AewAv4zIkYGOOdw== integrity sha512-/PJXSVggnO6OHE6U3ji5u8Gal1HW0hDUWm85Wxw7ZQY1AnXwrnklrbTM2a+2myShxRe3HJ4A4pcYsaZPELxj4Q==
dependencies: dependencies:
"@babel/runtime" "^7.8.3" "@babel/runtime" "^7.8.3"
"@polkadot/util" "^2.0.0-beta.10" "@polkadot/util" "^2.0.1"
"@polkadot/wasm-crypto" "^0.20.0-beta.4" "@polkadot/wasm-crypto" "^0.20.1"
"@types/bs58" "^4.0.0" "@types/bs58" "^4.0.0"
"@types/elliptic" "^6.4.12" "@types/elliptic" "^6.4.12"
"@types/pbkdf2" "^3.0.0" "@types/pbkdf2" "^3.0.0"
@@ -2052,10 +2052,10 @@
tweetnacl "^1.0.2" tweetnacl "^1.0.2"
xxhashjs "^0.2.2" xxhashjs "^0.2.2"
"@polkadot/util@^2.0.0-beta.10": "@polkadot/util@^2.0.1":
version "2.0.0-beta.10" version "2.0.1"
resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-2.0.0-beta.10.tgz#0e4f37d0a8e46521c4087cf2e67fdb7ec05d0908" resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-2.0.1.tgz#6004da88c7430992285a44cff1062e0bba963605"
integrity sha512-QWnT0Qj6qAKaPPFubJy6o9s0JsBbmBkufu04/n5sNm8x0azVD0a2xiHA19B/A5nHglNuyoiOLixqJm3W14z5dw== integrity sha512-BjUVLpJ1UtuKpcW2V5NEm5739mmTVO7imQvf87HIpmsR37vC1aWcR6JSwn4O6VBEkCOaxjsVmyOVdzfsbYp4Ew==
dependencies: dependencies:
"@babel/runtime" "^7.8.3" "@babel/runtime" "^7.8.3"
"@types/bn.js" "^4.11.6" "@types/bn.js" "^4.11.6"
@@ -2065,10 +2065,10 @@
ip-regex "^4.1.0" ip-regex "^4.1.0"
moment "^2.24.0" moment "^2.24.0"
"@polkadot/wasm-crypto@^0.20.0-beta.4": "@polkadot/wasm-crypto@^0.20.1":
version "0.20.0-beta.4" version "0.20.1"
resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-0.20.0-beta.4.tgz#813deab1b41aa2aeee15fec1b23791e0c6659df1" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-0.20.1.tgz#422f61cf61c8067b9800e6493608aeed2c701729"
integrity sha512-3TmbOmeneEaUTugH/7TxZhyUOgIV102Ey/kQazutn5CvIarTvYAQpuQF54k6F0I9uf+B/fvwuIY1COYHQMcY5Q== integrity sha512-HVmKEQoC7RTS15nGJkQDam8pvwBLjO/JJfhq1OI/zBSqi0KPoh2ZxThkyI+O4CjjY1W+HGvybe0uf0c+VDn62Q==
"@sinonjs/commons@^1.7.0": "@sinonjs/commons@^1.7.0":
version "1.7.0" version "1.7.0"
@@ -2255,7 +2255,7 @@
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d"
integrity sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw== integrity sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw==
"@types/yargs@^15.0.0": "@types/yargs@^15.0.0", "@types/yargs@^15.0.2":
version "15.0.2" version "15.0.2"
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.2.tgz#0bf292a0369493cee030e2e4f4ff84f5982b028d" resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.2.tgz#0bf292a0369493cee030e2e4f4ff84f5982b028d"
integrity sha512-hFkuAp58M2xOc1QgJhkFrLMnqa8KWTFRTnzrI1zlEcOfg3DZ0eH3aPAo/N6QlVVu8E4KS4xD1jtEG3rdQYFmIg== integrity sha512-hFkuAp58M2xOc1QgJhkFrLMnqa8KWTFRTnzrI1zlEcOfg3DZ0eH3aPAo/N6QlVVu8E4KS4xD1jtEG3rdQYFmIg==
@@ -13402,7 +13402,7 @@ yargs@^14.2.2:
y18n "^4.0.0" y18n "^4.0.0"
yargs-parser "^15.0.0" yargs-parser "^15.0.0"
yargs@^15.0.0: yargs@^15.0.0, yargs@^15.1.0:
version "15.1.0" version "15.1.0"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.1.0.tgz#e111381f5830e863a89550bd4b136bb6a5f37219" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.1.0.tgz#e111381f5830e863a89550bd4b136bb6a5f37219"
integrity sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg== integrity sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg==