Compare commits

..
18 Commits
Author SHA1 Message Date
Github Actions eb0370bb66 [CI Skip] release/stable 1.26.1
skip-checks: true
2020-07-27 11:21:29 +00:00
Jaco Greeff 5eb491dc67 1.26 (#2453) 2020-07-27 13:10:07 +02:00
Github Actions b50294ab0f [CI Skip] release/beta 1.26.0-beta.6
skip-checks: true
2020-07-27 10:56:53 +00:00
Keith Ingram e1cb62d2d2 Type for contract call params (#2452) 2020-07-27 12:43:54 +02:00
Github Actions 8ed0ef2295 [CI Skip] release/beta 1.26.0-beta.5
skip-checks: true
2020-07-27 10:18:11 +00:00
Jaco Greeff 956e173323 Metadata bump (#2451) 2020-07-27 12:06:28 +02:00
Github Actions b8a37ba438 [CI Skip] release/beta 1.26.0-beta.4
skip-checks: true
2020-07-27 07:22:38 +00:00
Jaco Greeff e7669c2b00 Add api typesBundle (#2422)
* Add api typesBundle

* Inject user-defined RPC from spec/chain

* Linting cleanups

* Invert check fro non-existing

* Extract bundle injection

* Ignore RPC for the first round

* CHANGELOG

* Merge master
2020-07-27 09:12:04 +02:00
Github Actions 6c309a503d [CI Skip] release/beta 1.26.0-beta.3
skip-checks: true
2020-07-27 07:02:12 +00:00
Jaco Greeff 3cf67c975a Bump deps (#2450) 2020-07-27 08:49:52 +02:00
Github Actions 077914364c [CI Skip] release/beta 1.26.0-beta.2
skip-checks: true
2020-07-25 12:15:51 +00:00
Jaco Greeff 56e4cbdb27 Update .123trigger 2020-07-25 14:03:36 +02:00
nsso 60bfdae734 support rpc import definitions (#2438)
* support import definitions

* fix lint
2020-07-25 13:53:04 +02:00
Jaco Greeff 1cf4d6b9b8 Additional typegen asserts (#2448)
* Additional typegen asserts

* typo

* Revert tuple assert

* Free-standing Vec is valid
2020-07-25 13:47:34 +02:00
Github Actions 40cd9ff51f [CI Skip] release/beta 1.26.0-beta.1
skip-checks: true
2020-07-20 18:13:14 +00:00
Jaco Greeff c7e6e40030 Voting is only free balance (#2444) 2020-07-20 20:03:26 +02:00
Github Actions 97d0bcbfd4 [CI Skip] release/beta 1.26.0-beta.0
skip-checks: true
2020-07-20 10:55:27 +00:00
Shawn Tabrizi 6ca84425d1 Update docs for accountNextIndex (#2443) 2020-07-20 12:45:01 +02:00
26 changed files with 699 additions and 458 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
24
25
1.4.2
1.6.2
1.11.2
1.12.21.17.2
1.12.2
1.17.2
+10
View File
@@ -1,5 +1,15 @@
# CHANGELOG
## 1.26.1 Jul 27, 2020
- Update docs for the new `system.accountNextIndex` (Thanks to https://github.com/shawntabrizi)
- Update contracts call parameter typing (Thanks to https://github.com/kwingram25)
- Adjust votingBalance to only return `freeBalance` (only council voting is free + reserved)
- Additional checks for referenced Vec sub-type deconstruction in typegen
- Allow for API `typesBundle` option to inject a group of chain versions types
- Update metadata static tests for latest Substrate
- `@polkadot/util` 3.0
## 1.25.1 Jul 20, 2020
- **Important** Contract RPC result updated on Substrate, on older chains supply `ContractExecResult: 'ContractExecResultTo255'`
+3 -3
View File
@@ -97,12 +97,12 @@ api.tx.utility
## How do I take the pending tx pool into account in my nonce?
The `system.account` query will always contain the current state, i.e. it will reflect the nonce for the last known block. As such when sending multiple transactions in quick succession (see batching above), there may be transactions in the pool that has the same nonce that `signAndSend` would apply - this call doesn't do any magic, it simply reads the state for the nonce. Since we can specify options to the `signandSend` operation, we can override the nonce, either by manually incrementing it o querying it via `nextNonce`.
The `system.account` query will always contain the current state, i.e. it will reflect the nonce for the last known block. As such when sending multiple transactions in quick succession (see batching above), there may be transactions in the pool that has the same nonce that `signAndSend` would apply - this call doesn't do any magic, it simply reads the state for the nonce. Since we can specify options to the `signAndSend` operation, we can override the nonce, either by manually incrementing it or querying it via `rpc.system.accountNextIndex`.
```js
for (let i = 0; i < 10; i++) {
// retrieve the nextNonce, taking txs in the pool into account
const nonce = await api.rpc.account.nextNonce(sender);
// retrieve sender's next index/nonce, taking txs in the pool into account
const nonce = await api.rpc.system.accountNextIndex(sender);
// send, just retrieving the hash, not waiting on status
const txhash = await api.tx.balances
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "1.25.1"
"version": "1.26.1"
}
+3 -3
View File
@@ -27,12 +27,12 @@
"@babel/core": "^7.10.5",
"@babel/register": "^7.10.5",
"@babel/runtime": "^7.10.5",
"@polkadot/dev": "^0.55.27",
"@polkadot/dev": "^0.55.28",
"@polkadot/ts": "^0.3.29",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^26.0.5",
"@types/jest": "^26.0.7",
"@vuepress/plugin-search": "^1.5.2",
"copyfiles": "^2.3.0"
},
"version": "1.25.1"
"version": "1.26.1"
}
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "1.25.1",
"version": "1.26.1",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
"keywords": [
@@ -27,10 +27,10 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/api": "1.25.1",
"@polkadot/rpc-core": "1.25.1",
"@polkadot/types": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/api": "1.26.1",
"@polkadot/rpc-core": "1.26.1",
"@polkadot/types": "1.26.1",
"@polkadot/util": "^3.0.1",
"bn.js": "^5.1.2",
"rxjs": "^6.6.0"
}
+5 -5
View File
@@ -4,7 +4,7 @@
import { ApiTypes, DecorateMethod, ObsInnerType } from '@polkadot/api/types';
import { AccountId, Address, ContractExecResult } from '@polkadot/types/interfaces';
import { Codec, IKeyringPair } from '@polkadot/types/types';
import { Codec, CodecArg, IKeyringPair } from '@polkadot/types/types';
import { ApiObject, ContractABIMessage, ContractABIPre, ContractCallOutcome } from '../types';
import BN from 'bn.js';
@@ -38,9 +38,9 @@ export default class Contract<ApiType extends ApiTypes> extends BaseWithTxAndRpc
this.address = this.registry.createType('Address', address);
}
public call (as: 'rpc', message: string, value: BN | number, gasLimit: BN | number, ...params: any[]): ContractCall<ApiType, 'rpc'>;
public call (as: 'tx', message: string, value: BN | number, gasLimit: BN | number, ...params: any[]): ContractCall<ApiType, 'tx'>;
public call<CallType extends ContractCallTypes> (as: CallType, message: string, value: BN | number, gasLimit: BN | number, ...params: any[]): ContractCall<ApiType, CallType> {
public call (as: 'rpc', message: string, value: BN | number, gasLimit: BN | number, ...params: CodecArg[]): ContractCall<ApiType, 'rpc'>;
public call (as: 'tx', message: string, value: BN | number, gasLimit: BN | number, ...params: CodecArg[]): ContractCall<ApiType, 'tx'>;
public call<CallType extends ContractCallTypes> (as: CallType, message: string, value: BN | number, gasLimit: BN | number, ...params: CodecArg[]): ContractCall<ApiType, CallType> {
const { def, fn } = this.getMessage(message);
return {
@@ -67,7 +67,7 @@ export default class Contract<ApiType extends ApiTypes> extends BaseWithTxAndRpc
};
}
private _createOutcome (result: ContractExecResult, origin: AccountId, message: ContractABIMessage, params: any[]): ContractCallOutcome {
private _createOutcome (result: ContractExecResult, origin: AccountId, message: ContractABIMessage, params: CodecArg[]): ContractCallOutcome {
let output: Codec | null = null;
if (result.isSuccess) {
+8 -8
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "1.25.1",
"version": "1.26.1",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"keywords": [
@@ -28,17 +28,17 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/api": "1.25.1",
"@polkadot/rpc-core": "1.25.1",
"@polkadot/rpc-provider": "1.25.1",
"@polkadot/types": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/util-crypto": "^2.18.1",
"@polkadot/api": "1.26.1",
"@polkadot/rpc-core": "1.26.1",
"@polkadot/rpc-provider": "1.26.1",
"@polkadot/types": "1.26.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util-crypto": "^3.0.1",
"bn.js": "^5.1.2",
"memoizee": "^0.4.14",
"rxjs": "^6.6.0"
},
"devDependencies": {
"@polkadot/keyring": "^2.18.1"
"@polkadot/keyring": "^3.0.1"
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ function calcBalances (api: ApiInterfaceRx, [accountId, [freeBalance, reservedBa
frozenFee,
frozenMisc,
reservedBalance,
votingBalance: api.registry.createType('Balance', freeBalance.add(reservedBalance))
votingBalance: api.registry.createType('Balance', freeBalance.toBn())
};
}
+11 -11
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "1.25.1",
"version": "1.26.1",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
"keywords": [
@@ -27,20 +27,20 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/api-derive": "1.25.1",
"@polkadot/keyring": "^2.18.1",
"@polkadot/metadata": "1.25.1",
"@polkadot/rpc-core": "1.25.1",
"@polkadot/rpc-provider": "1.25.1",
"@polkadot/types": "1.25.1",
"@polkadot/types-known": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/util-crypto": "^2.18.1",
"@polkadot/api-derive": "1.26.1",
"@polkadot/keyring": "^3.0.1",
"@polkadot/metadata": "1.26.1",
"@polkadot/rpc-core": "1.26.1",
"@polkadot/rpc-provider": "1.26.1",
"@polkadot/types": "1.26.1",
"@polkadot/types-known": "1.26.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util-crypto": "^3.0.1",
"bn.js": "^5.1.2",
"eventemitter3": "^4.0.4",
"rxjs": "^6.6.0"
},
"devDependencies": {
"@polkadot/keyring": "^2.18.1"
"@polkadot/keyring": "^3.0.1"
}
}
+10
View File
@@ -890,6 +890,16 @@ declare module '@polkadot/api/types/submittable' {
};
grandpa: {
[index: string]: SubmittableExtrinsicFunction<ApiType>;
/**
* Note that the current authority set of the GRANDPA finality gadget has
* stalled. This will trigger a forced authority set change at the beginning
* of the next session, to be enacted `delay` blocks after that. The delay
* should be high enough to safely assume that the block signalling the
* forced change will not be re-orged (e.g. 1000 blocks). The GRANDPA voters
* will start the new authority set using the given finalized block as base.
* Only callable by root.
**/
noteStalled: AugmentedSubmittable<(delay: BlockNumber | AnyNumber | Uint8Array, bestFinalizedBlockNumber: BlockNumber | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
/**
* Report voter equivocation/misbehavior. This method will verify the
* equivocation proof and validate the given key ownership proof
+34 -1
View File
@@ -9,7 +9,7 @@ import { Observable, Subscription, of } from 'rxjs';
import { map, switchMap } from 'rxjs/operators';
import { Metadata, Text } from '@polkadot/types';
import { LATEST_EXTRINSIC_VERSION } from '@polkadot/types/extrinsic/Extrinsic';
import { getMetadataTypes, getSpecTypes } from '@polkadot/types-known';
import { getMetadataTypes, getSpecAlias, getSpecTypes } from '@polkadot/types-known';
import { logger } from '@polkadot/util';
import { cryptoWaitReady } from '@polkadot/util-crypto';
@@ -35,6 +35,7 @@ export default abstract class Init<ApiType extends ApiTypes> extends Decorate<Ap
this.registry.setKnownTypes({
types: options.types,
typesAlias: options.typesAlias,
typesBundle: options.typesBundle,
typesChain: options.typesChain,
typesSpec: options.typesSpec
});
@@ -147,6 +148,33 @@ export default abstract class Init<ApiType extends ApiTypes> extends Decorate<Ap
).subscribe();
}
private _adjustBundleTypes (chain: Text, specName: Text): void {
// adjust known type aliases
this.registry.knownTypes.typesAlias = getSpecAlias(this.registry, chain, specName);
// FIXME For the first round, we are not adjusting the user-injected RPCs
// inject any user-level RPCs now that we have the chain/spec
// this._rpcCore.addUserInterfaces(getSpecRpc(this.registry, chain, specName));
// const extraRpc = this._decorateRpc(this._rpcCore, this._decorateMethod);
// // FIXME this is a mess
// Object.entries(extraRpc).forEach(([section, value]): void => {
// if (this._rpc) {
// if (!this._rpc[section as 'author']) {
// this._rpc[section as 'author'] = {} as DecoratedRpcSection<ApiType, RpcInterface['author']>;
// }
// Object.entries(value).forEach(([name, method]): void => {
// if (this._rpc && !this._rpc[section as 'author'][name as 'hasKey']) {
// // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
// this._rpc[section as 'author'][name as 'hasKey'] = method;
// }
// });
// }
// });
}
private async _metaFromChain (optMetadata: Record<string, string>): Promise<Metadata> {
const [runtimeVersion, chain, chainProps] = await Promise.all([
this._rpcCore.state.getRuntimeVersion().toPromise(),
@@ -159,6 +187,11 @@ export default abstract class Init<ApiType extends ApiTypes> extends Decorate<Ap
this._runtimeVersion = runtimeVersion;
this._rx.runtimeVersion = runtimeVersion;
// adjust types based on bundled info
if (this.registry.knownTypes.typesBundle) {
this._adjustBundleTypes(chain, runtimeVersion.specName);
}
// do the setup for the specific chain
this.registry.setChainProperties(chainProps);
this.registerTypes(getSpecTypes(this.registry, chain, runtimeVersion.specName, runtimeVersion.specVersion));
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/metadata",
"version": "1.25.1",
"version": "1.26.1",
"description": "Helpers to extract information from runtime metadata",
"main": "index.js",
"publishConfig": {
@@ -27,13 +27,13 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/types": "1.25.1",
"@polkadot/types-known": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/util-crypto": "^2.18.1",
"@polkadot/types": "1.26.1",
"@polkadot/types-known": "1.26.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util-crypto": "^3.0.1",
"bn.js": "^5.1.2"
},
"devDependencies": {
"@polkadot/keyring": "^2.18.1"
"@polkadot/keyring": "^3.0.1"
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "1.25.1",
"version": "1.26.1",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"keywords": [
@@ -27,14 +27,14 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/metadata": "1.25.1",
"@polkadot/rpc-provider": "1.25.1",
"@polkadot/types": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/metadata": "1.26.1",
"@polkadot/rpc-provider": "1.26.1",
"@polkadot/types": "1.26.1",
"@polkadot/util": "^3.0.1",
"memoizee": "^0.4.14",
"rxjs": "^6.6.0"
},
"devDependencies": {
"@polkadot/keyring": "^2.18.1"
"@polkadot/keyring": "^3.0.1"
}
}
+27 -12
View File
@@ -116,7 +116,12 @@ export default class Rpc implements RpcInterface {
this.registry = registry;
this.provider = provider;
this._createInterfaces(userRpc);
const sectionNames = Object.keys(jsonrpc);
// these are the base keys (i.e. part of jsonrpc)
this.sections.push(...sectionNames);
this.addUserInterfaces(userRpc);
}
/**
@@ -126,27 +131,37 @@ export default class Rpc implements RpcInterface {
this.provider.disconnect();
}
private _createInterfaces<Section extends keyof RpcInterface> (userRpc: Record<string, Record<string, DefinitionRpc | DefinitionRpcSub>>): void {
const sectionNames = Object.keys(jsonrpc);
// these are the base keys (i.e. part of jsonrpc)
this.sections.push(...sectionNames);
public addUserInterfaces<Section extends keyof RpcInterface> (userRpc: Record<string, Record<string, DefinitionRpc | DefinitionRpcSub>>): void {
// add any extra user-defined sections
this.sections.push(...Object.keys(userRpc).filter((key): boolean => !this.sections.includes(key)));
this.sections.push(...Object.keys(userRpc).filter((key) => !this.sections.includes(key)));
// decorate the sections with base and user methods
this.sections.forEach((sectionName): void => {
(this as Record<string, unknown>)[sectionName as Section] = {
...this._createInterface(sectionName, jsonrpc[sectionName as 'babe'] || {}),
...this._createInterface(sectionName, userRpc[sectionName] || {})
};
if (!(this as Record<string, unknown>)[sectionName as Section]) {
(this as Record<string, unknown>)[sectionName as Section] = {};
}
const section = (this as Record<string, unknown>)[sectionName as Section] as Record<string, any>;
Object
.entries({
...this._createInterface(sectionName, jsonrpc[sectionName as 'babe'] || {}),
...this._createInterface(sectionName, userRpc[sectionName] || {})
})
.forEach(([key, value]): void => {
// we don't want to clobber existing, i.e. when this is called again after chain is determined
if (!section[key]) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
section[key] = value;
}
});
});
}
private _createInterface<Section extends keyof RpcInterface> (section: string, methods: Record<string, DefinitionRpc | DefinitionRpcSub>): RpcInterface[Section] {
return Object
.keys(methods)
.filter((method) => !this.mapping.has(`${section}_${method}`))
.reduce((exposed, method): RpcInterface[Section] => {
const def = methods[method];
const isSubscription = !!(def as DefinitionRpcSub).pubsub;
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "1.25.1",
"version": "1.26.1",
"description": "Transport providers for the API",
"main": "index.js",
"keywords": [
@@ -27,17 +27,17 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/metadata": "1.25.1",
"@polkadot/types": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/util-crypto": "^2.18.1",
"@polkadot/metadata": "1.26.1",
"@polkadot/types": "1.26.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util-crypto": "^3.0.1",
"bn.js": "^5.1.2",
"eventemitter3": "^4.0.4",
"isomorphic-fetch": "^2.2.1",
"websocket": "^1.0.31"
},
"devDependencies": {
"@polkadot/keyring": "^2.18.1",
"@polkadot/keyring": "^3.0.1",
"mock-socket": "^9.0.3",
"nock": "^13.0.2"
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "1.25.1",
"version": "1.26.1",
"description": "Type generation scripts",
"main": "index.js",
"bin": {
@@ -36,11 +36,11 @@
"@babel/core": "^7.10.5",
"@babel/register": "^7.10.5",
"@babel/runtime": "^7.10.5",
"@polkadot/api": "1.25.1",
"@polkadot/metadata": "1.25.1",
"@polkadot/rpc-provider": "1.25.1",
"@polkadot/types": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/api": "1.26.1",
"@polkadot/metadata": "1.26.1",
"@polkadot/rpc-provider": "1.26.1",
"@polkadot/types": "1.26.1",
"@polkadot/util": "^3.0.1",
"handlebars": "^4.7.6",
"websocket": "^1.0.31",
"yargs": "^15.4.1"
+26 -11
View File
@@ -5,9 +5,10 @@
import Handlebars from 'handlebars';
import { TypeRegistry } from '@polkadot/types/create';
import * as definitions from '@polkadot/types/interfaces/definitions';
import { Definitions } from '@polkadot/types/types';
import * as defaultDefinitions from '@polkadot/types/interfaces/definitions';
import { createImports, getSimilarTypes, readTemplate, setImports, writeFile } from '../util';
import { createImports, getSimilarTypes, formatType, readTemplate, setImports, writeFile } from '../util';
const StorageKeyTye = 'StorageKey | string | Uint8Array | any';
@@ -15,21 +16,28 @@ const template = readTemplate('rpc');
const generateRpcTypesTemplate = Handlebars.compile(template);
/** @internal */
export default function generateRpcTypes (dest = 'packages/api/src/augment/rpc.ts'): void {
export function generateRpcTypes (importDefinitions: { [importPath: string]: Record<string, Definitions> }, dest: string): void {
writeFile(dest, (): string => {
const registry = new TypeRegistry();
const allTypes = { '@polkadot/types/interfaces': definitions };
const imports = createImports(allTypes);
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
const imports = createImports(importDefinitions);
const definitions = imports.definitions as Record<string, Definitions>;
const allDefs = Object.entries(importDefinitions).reduce((defs, [path, obj]) => {
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
}, {});
const rpcKeys = Object
.keys(definitions)
.filter((key) => Object.keys(definitions[key as 'babe'].rpc || {}).length !== 0)
.filter((key) => Object.keys(definitions[key].rpc || {}).length !== 0)
.sort();
const modules = rpcKeys.map((section) => {
const allMethods = Object.keys(definitions[section as 'babe'].rpc).sort().map((methodName) => {
const def = definitions[section as 'babe'].rpc[methodName];
const modules = rpcKeys.map((sectionFullName) => {
const rpc = definitions[sectionFullName].rpc;
const section = sectionFullName.split('/').pop();
const allMethods = Object.keys(rpc).sort().map((methodName) => {
const def = rpc[methodName];
let args;
let type;
@@ -69,7 +77,7 @@ export default function generateRpcTypes (dest = 'packages/api/src/augment/rpc.t
return `${param.name}${param.isOptional ? '?' : ''}: ${similarTypes.join(' | ')}`;
});
type = def.type;
type = formatType(allDefs, def.type, imports);
generic = '';
}
@@ -105,3 +113,10 @@ export default function generateRpcTypes (dest = 'packages/api/src/augment/rpc.t
});
});
}
export default function generateDefaultRpcTypes (): void {
generateRpcTypes(
{ '@polkadot/types/interfaces': defaultDefinitions },
'packages/api/src/augment/rpc.ts'
);
}
+17 -11
View File
@@ -92,18 +92,22 @@ export function getSimilarTypes (definitions: Record<string, ModuleTypes>, regis
const Clazz = ClassOfUnsafe(registry, type);
if (isChildClass(Vec, Clazz)) {
const subDef = (getTypeDef(type).sub) as TypeDef;
const vecDef = getTypeDef(type);
const subDef = (vecDef.sub) as TypeDef;
if (subDef.info === TypeDefInfo.Plain) {
possibleTypes.push(`(${getSimilarTypes(definitions, registry, subDef.type, imports).join(' | ')})[]`);
} else if (subDef.info === TypeDefInfo.Tuple) {
const subs = (subDef.sub as TypeDef[]).map(({ type }): string =>
getSimilarTypes(definitions, registry, type, imports).join(' | ')
);
// this could be that we define a Vec type and refer to it by name
if (subDef) {
if (subDef.info === TypeDefInfo.Plain) {
possibleTypes.push(`(${getSimilarTypes(definitions, registry, subDef.type, imports).join(' | ')})[]`);
} else if (subDef.info === TypeDefInfo.Tuple) {
const subs = (subDef.sub as TypeDef[]).map(({ type }): string =>
getSimilarTypes(definitions, registry, type, imports).join(' | ')
);
possibleTypes.push(`([${subs.join(', ')}])[]`);
} else {
throw new Error(`Unhandled subtype in Vec, ${JSON.stringify(subDef)}`);
possibleTypes.push(`([${subs.join(', ')}])[]`);
} else {
throw new Error(`Unhandled subtype in Vec, ${JSON.stringify(subDef)}`);
}
}
} else if (isChildClass(Enum, Clazz)) {
const e = new (Clazz as Constructor)(registry) as Enum;
@@ -141,8 +145,10 @@ export function getSimilarTypes (definitions: Record<string, ModuleTypes>, regis
} else if (isChildClass(String, Clazz)) {
possibleTypes.push('string');
} else if (isChildClass(Tuple, Clazz)) {
const subDef = getTypeDef(type).sub;
const tupDef = getTypeDef(type);
const subDef = tupDef.sub;
// this could be that we define a Tuple type and refer to it by name
if (Array.isArray(subDef)) {
const subs = subDef.map(({ type }) => getSimilarTypes(definitions, registry, type, imports).join(' | '));
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "1.25.1",
"version": "1.26.1",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"keywords": [
@@ -27,8 +27,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/types": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/types": "1.26.1",
"@polkadot/util": "^3.0.1",
"bn.js": "^5.1.2"
},
"devDependencies": {
+30 -1
View File
@@ -3,7 +3,7 @@
// of the Apache-2.0 license. See the LICENSE file for details.
import type BN from 'bn.js';
import { Registry, RegistryTypes, OverrideModuleType, OverrideVersionedType } from '@polkadot/types/types';
import { DefinitionRpc, DefinitionRpcSub, Registry, RegistryTypes, OverrideModuleType, OverrideVersionedType } from '@polkadot/types/types';
import { Text } from '@polkadot/types';
import { bnToBn, isUndefined } from '@polkadot/util';
@@ -58,7 +58,36 @@ export function getSpecTypes ({ knownTypes }: Registry, chainName: Text | string
return {
...filterVersions(typesSpec[_specName], _specVersion),
...filterVersions(typesChain[_chainName], _specVersion),
...filterVersions(knownTypes.typesBundle?.spec?.[_specName]?.types, _specVersion),
...filterVersions(knownTypes.typesBundle?.chain?.[_chainName]?.types, _specVersion),
...(knownTypes.typesSpec?.[_specName] || {}),
...(knownTypes.typesChain?.[_chainName] || {})
};
}
/**
* @description Based on the chain and runtimeVersion, get the applicable rpc definitions (ready for registration)
*/
export function getSpecRpc ({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): Record<string, Record<string, DefinitionRpc | DefinitionRpcSub>> {
const _chainName = chainName.toString();
const _specName = specName.toString();
return {
...(knownTypes.typesBundle?.spec?.[_specName]?.rpc || {}),
...(knownTypes.typesBundle?.chain?.[_chainName]?.rpc || {})
};
}
/**
* @description Based on the chain and runtimeVersion, get the applicable alias definitions (ready for registration)
*/
export function getSpecAlias ({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): Record<string, OverrideModuleType> {
const _chainName = chainName.toString();
const _specName = specName.toString();
return {
...(knownTypes.typesAlias || {}),
...(knownTypes.typesBundle?.spec?.[_specName]?.alias || {}),
...(knownTypes.typesBundle?.chain?.[_chainName]?.alias || {})
};
}
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "1.25.1",
"version": "1.26.1",
"description": "Implementation of the Parity codec",
"main": "index.js",
"keywords": [
@@ -27,16 +27,16 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.10.5",
"@polkadot/metadata": "1.25.1",
"@polkadot/util": "^2.18.1",
"@polkadot/util-crypto": "^2.18.1",
"@polkadot/metadata": "1.26.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util-crypto": "^3.0.1",
"@types/bn.js": "^4.11.6",
"bn.js": "^5.1.2",
"memoizee": "^0.4.14",
"rxjs": "^6.6.0"
},
"devDependencies": {
"@polkadot/keyring": "^2.18.1",
"@polkadot/keyring": "^3.0.1",
"@types/memoizee": "^0.4.4"
}
}
+16
View File
@@ -7,6 +7,7 @@ import type BN from 'bn.js';
import { ChainProperties } from '../interfaces/system';
import { CallFunction } from './calls';
import { Codec, Constructor } from './codec';
import { DefinitionRpc, DefinitionRpcSub } from './definitions';
import { AnyJson } from './helpers';
// eslint-disable-next-line @typescript-eslint/no-empty-interface
@@ -19,6 +20,17 @@ export interface OverrideVersionedType {
export type OverrideModuleType = Record<string, string>;
export interface OverrideBundleDefinition {
alias?: Record<string, OverrideModuleType>;
rpc?: Record<string, Record<string, DefinitionRpc | DefinitionRpcSub>>;
types?: OverrideVersionedType[];
}
export interface OverrideBundleType {
chain?: Record<string, OverrideBundleDefinition>;
spec?: Record<string, OverrideBundleDefinition>;
}
export type RegistryTypes = Record<string, Constructor | string | Record<string, string> | { _enum: string[] | Record<string, string | null> } | { _set: Record<string, number> }>;
export interface RegistryMetadataText extends String, Codec {
@@ -97,6 +109,10 @@ export interface RegisteredTypes {
* @description Alias an types, as received via the metadata, to a JS-specific type to avoid conflicts. For instance, you can rename the `Proposal` in the `treasury` module to `TreasuryProposal` as to not have conflicts with the one for democracy.
*/
typesAlias?: Record<string, OverrideModuleType>;
/**
* @description A bundle of types related to chain & spec that is injected based on what the chain contains
*/
typesBundle?: OverrideBundleType;
/**
* @description Additional types that are injected based on the chain we are connecting to. There are keyed by the chain, i.e. `{ 'Kusama CC1': { ... } }`
*/
+268 -216
View File
@@ -4,6 +4,39 @@
__metadata:
version: 4
"@ant-design-vue/babel-helper-vue-compatible-props@npm:^1.0.0":
version: 1.0.0
resolution: "@ant-design-vue/babel-helper-vue-compatible-props@npm:1.0.0"
dependencies:
"@ant-design-vue/babel-helper-vue-transform-on": ^1.0.1
checksum: 3/54b84efa685068e2ab04447902fc5a1f9e539e4525cb49058084b5ddfb0664cc346710726b91bdc50e765bb73e0347be8af7c57436618b02204bd731997018ca
languageName: node
linkType: hard
"@ant-design-vue/babel-helper-vue-transform-on@npm:^1.0.0, @ant-design-vue/babel-helper-vue-transform-on@npm:^1.0.1":
version: 1.0.1
resolution: "@ant-design-vue/babel-helper-vue-transform-on@npm:1.0.1"
checksum: 3/78b1297819378aa2e64f761432f5a8354254e996ca75771098c3203f86b010caf77efd64e82afb8893595b58e886575a26b6ca02cbd248aa3d67e48d746db3e2
languageName: node
linkType: hard
"@ant-design-vue/babel-plugin-jsx@npm:^1.0.0-0":
version: 1.0.0-beta.4
resolution: "@ant-design-vue/babel-plugin-jsx@npm:1.0.0-beta.4"
dependencies:
"@ant-design-vue/babel-helper-vue-compatible-props": ^1.0.0
"@ant-design-vue/babel-helper-vue-transform-on": ^1.0.0
"@babel/helper-module-imports": ^7.0.0
"@babel/plugin-syntax-jsx": ^7.0.0
"@babel/traverse": ^7.0.0
"@babel/types": ^7.0.0
camelcase: ^6.0.0
html-tags: ^3.1.0
svg-tags: ^1.0.0
checksum: 3/20267252df691fc7808a2fec85204c2afd4d0bbc64cfcd1395ea41a7a004353c15cc063b8743123c7482b53c323bbec1216dc36e77798802e379cba3a53096d1
languageName: node
linkType: hard
"@babel/cli@npm:^7.10.5":
version: 7.10.5
resolution: "@babel/cli@npm:7.10.5"
@@ -606,7 +639,7 @@ __metadata:
languageName: node
linkType: hard
"@babel/plugin-syntax-jsx@npm:^7.10.4, @babel/plugin-syntax-jsx@npm:^7.2.0, @babel/plugin-syntax-jsx@npm:^7.8.3":
"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.10.4, @babel/plugin-syntax-jsx@npm:^7.2.0, @babel/plugin-syntax-jsx@npm:^7.8.3":
version: 7.10.4
resolution: "@babel/plugin-syntax-jsx@npm:7.10.4"
dependencies:
@@ -1328,7 +1361,7 @@ __metadata:
languageName: node
linkType: hard
"@babel/runtime@npm:^7.10.4, @babel/runtime@npm:^7.10.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.6":
"@babel/runtime@npm:^7.10.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.6":
version: 7.10.5
resolution: "@babel/runtime@npm:7.10.5"
dependencies:
@@ -1348,7 +1381,7 @@ __metadata:
languageName: node
linkType: hard
"@babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.10.4, @babel/traverse@npm:^7.10.5":
"@babel/traverse@npm:^7.0.0, @babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.10.4, @babel/traverse@npm:^7.10.5":
version: 7.10.5
resolution: "@babel/traverse@npm:7.10.5"
dependencies:
@@ -2529,13 +2562,13 @@ __metadata:
linkType: hard
"@octokit/endpoint@npm:^6.0.1":
version: 6.0.4
resolution: "@octokit/endpoint@npm:6.0.4"
version: 6.0.5
resolution: "@octokit/endpoint@npm:6.0.5"
dependencies:
"@octokit/types": ^5.0.0
is-plain-object: ^3.0.0
is-plain-object: ^4.0.0
universal-user-agent: ^6.0.0
checksum: 3/81ac78d83e3dacb5e7f64c49a6c2fe640ea30e8893c65fa2ee579a8b0771481565c654cf2b6b0c61cfffbfc68a9729db912f659281b7b3367bc809b76bbf0968
checksum: 3/2d637ef3a338509d899c08d10074f9313e0fe6ebde39ed390eb10c5aa6da19dee22fcaf4235da4726e8a3a1244744b3d2c4900890d15aefe7cf4a945900c43dc
languageName: node
linkType: hard
@@ -2595,18 +2628,18 @@ __metadata:
linkType: hard
"@octokit/request@npm:^5.2.0":
version: 5.4.6
resolution: "@octokit/request@npm:5.4.6"
version: 5.4.7
resolution: "@octokit/request@npm:5.4.7"
dependencies:
"@octokit/endpoint": ^6.0.1
"@octokit/request-error": ^2.0.0
"@octokit/types": ^5.0.0
deprecation: ^2.0.0
is-plain-object: ^3.0.0
is-plain-object: ^4.0.0
node-fetch: ^2.3.0
once: ^1.4.0
universal-user-agent: ^6.0.0
checksum: 3/f582d6a512d9825d70d0ea6b7564e94d69ffa5cfe882f2803ba2c1d53364e2ee908b8a8f9ef09db2006259d1cc7ef231aa5ebb05d84a3cedb7bd47f9ada792a2
checksum: 3/1f4e8b49f6d8fa2e37ffa04900cc2571a4d77760869dc3d5cae26786e503ae2d507de81fabb031743e8ea3bc391a62be1fc558b1c23c81c77ad76acf7ee83169
languageName: node
linkType: hard
@@ -2644,11 +2677,11 @@ __metadata:
linkType: hard
"@octokit/types@npm:^5.0.0, @octokit/types@npm:^5.0.1":
version: 5.1.0
resolution: "@octokit/types@npm:5.1.0"
version: 5.2.0
resolution: "@octokit/types@npm:5.2.0"
dependencies:
"@types/node": ">= 8"
checksum: 3/ab29b23a8415b5147f2b4c2d206ca1d4ed40989db6573c634a063822330fc5794aeb294d814f97b1a38b76c70c87d6a5cb54d0a15e6ba8b5acfb58e9e64c82c6
checksum: 3/1ccdbacc2f7403670824e42b624b1011232579ede874a9bd48d2c1eeaa7ed1b9ec40bcd75f5fe8a54065c248b5f8036a475ee2396e0eee8fd802e5f4f395eb04
languageName: node
linkType: hard
@@ -2657,56 +2690,56 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/api": 1.25.1
"@polkadot/rpc-core": 1.25.1
"@polkadot/types": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/api": 1.26.1
"@polkadot/rpc-core": 1.26.1
"@polkadot/types": 1.26.1
"@polkadot/util": ^3.0.1
bn.js: ^5.1.2
rxjs: ^6.6.0
languageName: unknown
linkType: soft
"@polkadot/api-derive@1.25.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@1.26.1, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/api": 1.25.1
"@polkadot/keyring": ^2.18.1
"@polkadot/rpc-core": 1.25.1
"@polkadot/rpc-provider": 1.25.1
"@polkadot/types": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/util-crypto": ^2.18.1
"@polkadot/api": 1.26.1
"@polkadot/keyring": ^3.0.1
"@polkadot/rpc-core": 1.26.1
"@polkadot/rpc-provider": 1.26.1
"@polkadot/types": 1.26.1
"@polkadot/util": ^3.0.1
"@polkadot/util-crypto": ^3.0.1
bn.js: ^5.1.2
memoizee: ^0.4.14
rxjs: ^6.6.0
languageName: unknown
linkType: soft
"@polkadot/api@1.25.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@1.26.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/api-derive": 1.25.1
"@polkadot/keyring": ^2.18.1
"@polkadot/metadata": 1.25.1
"@polkadot/rpc-core": 1.25.1
"@polkadot/rpc-provider": 1.25.1
"@polkadot/types": 1.25.1
"@polkadot/types-known": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/util-crypto": ^2.18.1
"@polkadot/api-derive": 1.26.1
"@polkadot/keyring": ^3.0.1
"@polkadot/metadata": 1.26.1
"@polkadot/rpc-core": 1.26.1
"@polkadot/rpc-provider": 1.26.1
"@polkadot/types": 1.26.1
"@polkadot/types-known": 1.26.1
"@polkadot/util": ^3.0.1
"@polkadot/util-crypto": ^3.0.1
bn.js: ^5.1.2
eventemitter3: ^4.0.4
rxjs: ^6.6.0
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.55.27":
version: 0.55.27
resolution: "@polkadot/dev@npm:0.55.27"
"@polkadot/dev@npm:^0.55.28":
version: 0.55.28
resolution: "@polkadot/dev@npm:0.55.28"
dependencies:
"@babel/cli": ^7.10.5
"@babel/core": ^7.10.5
@@ -2728,9 +2761,9 @@ __metadata:
"@babel/preset-typescript": ^7.10.4
"@babel/register": ^7.10.5
"@babel/runtime": ^7.10.5
"@typescript-eslint/eslint-plugin": 3.6.1
"@typescript-eslint/parser": 3.6.1
"@vue/component-compiler-utils": ^3.1.2
"@typescript-eslint/eslint-plugin": 3.7.0
"@typescript-eslint/parser": 3.7.0
"@vue/component-compiler-utils": ^3.2.0
babel-core: ^7.0.0-bridge.0
babel-jest: ^26.1.0
babel-plugin-module-resolver: ^4.0.0
@@ -2745,7 +2778,7 @@ __metadata:
eslint-plugin-import: ^2.22.0
eslint-plugin-node: ^11.1.0
eslint-plugin-promise: ^4.2.1
eslint-plugin-react: ^7.20.3
eslint-plugin-react: ^7.20.4
eslint-plugin-react-hooks: ^4.0.8
eslint-plugin-sort-destructure-keys: ^1.3.5
eslint-plugin-standard: ^4.0.1
@@ -2766,7 +2799,7 @@ __metadata:
typedoc-plugin-no-inherit: ^1.1.10
typescript: ^3.9.7
vuepress: ^1.5.2
webpack: ^4.43.0
webpack: ^4.44.0
webpack-cli: ^3.3.12
yargs: ^15.4.1
bin:
@@ -2789,60 +2822,60 @@ __metadata:
polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js
polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js
polkadot-exec-webpack: scripts/polkadot-exec-webpack.js
checksum: 3/a974413191f531b3fe1860be3b6eb38172fabaaeecde60232662bf7df03668ea0903c0e52693807b484a514fc3ab6631bb356910535b11d077cda148b13c00b1
checksum: 3/22181e8774765faeba270c039d28a73dd6f87937bf7a55b600226663e6ff441dd16e8208e48a33750007944b33bd0eca81f29b84b487cd178bda3aee4b2792dc
languageName: node
linkType: hard
"@polkadot/keyring@npm:^2.18.1":
version: 2.18.1
resolution: "@polkadot/keyring@npm:2.18.1"
"@polkadot/keyring@npm:^3.0.1":
version: 3.0.1
resolution: "@polkadot/keyring@npm:3.0.1"
dependencies:
"@babel/runtime": ^7.10.4
"@polkadot/util": 2.18.1
"@polkadot/util-crypto": 2.18.1
checksum: 3/293c9a25c33234a85710b10a6a253b76930ba0be7b42825af6bfc19d47579c185133d7b793c3e34ac0de9189563f65949cf08bf8dabf04c02661c675ee87e41d
"@babel/runtime": ^7.10.5
"@polkadot/util": 3.0.1
"@polkadot/util-crypto": 3.0.1
checksum: 3/5f1b2cdc160cc429153717f744e8f07ed292fc3b212c8df81e0baccd893224b5e0b2c324305272991c11833bf7fffcf714b00d1e587cc726fa2ceb4d7f2ddd6b
languageName: node
linkType: hard
"@polkadot/metadata@1.25.1, @polkadot/metadata@workspace:packages/metadata":
"@polkadot/metadata@1.26.1, @polkadot/metadata@workspace:packages/metadata":
version: 0.0.0-use.local
resolution: "@polkadot/metadata@workspace:packages/metadata"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/keyring": ^2.18.1
"@polkadot/types": 1.25.1
"@polkadot/types-known": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/util-crypto": ^2.18.1
"@polkadot/keyring": ^3.0.1
"@polkadot/types": 1.26.1
"@polkadot/types-known": 1.26.1
"@polkadot/util": ^3.0.1
"@polkadot/util-crypto": ^3.0.1
bn.js: ^5.1.2
languageName: unknown
linkType: soft
"@polkadot/rpc-core@1.25.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@1.26.1, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/keyring": ^2.18.1
"@polkadot/metadata": 1.25.1
"@polkadot/rpc-provider": 1.25.1
"@polkadot/types": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/keyring": ^3.0.1
"@polkadot/metadata": 1.26.1
"@polkadot/rpc-provider": 1.26.1
"@polkadot/types": 1.26.1
"@polkadot/util": ^3.0.1
memoizee: ^0.4.14
rxjs: ^6.6.0
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@1.25.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@1.26.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/keyring": ^2.18.1
"@polkadot/metadata": 1.25.1
"@polkadot/types": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/util-crypto": ^2.18.1
"@polkadot/keyring": ^3.0.1
"@polkadot/metadata": 1.26.1
"@polkadot/types": 1.26.1
"@polkadot/util": ^3.0.1
"@polkadot/util-crypto": ^3.0.1
bn.js: ^5.1.2
eventemitter3: ^4.0.4
isomorphic-fetch: ^2.2.1
@@ -2868,11 +2901,11 @@ __metadata:
"@babel/core": ^7.10.5
"@babel/register": ^7.10.5
"@babel/runtime": ^7.10.5
"@polkadot/api": 1.25.1
"@polkadot/metadata": 1.25.1
"@polkadot/rpc-provider": 1.25.1
"@polkadot/types": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/api": 1.26.1
"@polkadot/metadata": 1.26.1
"@polkadot/rpc-provider": 1.26.1
"@polkadot/types": 1.26.1
"@polkadot/util": ^3.0.1
"@types/websocket": ^1.0.1
"@types/yargs": ^15.0.5
handlebars: ^4.7.6
@@ -2887,27 +2920,27 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@1.25.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@1.26.1, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/types": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/types": 1.26.1
"@polkadot/util": ^3.0.1
"@types/bn.js": ^4.11.6
bn.js: ^5.1.2
languageName: unknown
linkType: soft
"@polkadot/types@1.25.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@1.26.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.10.5
"@polkadot/keyring": ^2.18.1
"@polkadot/metadata": 1.25.1
"@polkadot/util": ^2.18.1
"@polkadot/util-crypto": ^2.18.1
"@polkadot/keyring": ^3.0.1
"@polkadot/metadata": 1.26.1
"@polkadot/util": ^3.0.1
"@polkadot/util-crypto": ^3.0.1
"@types/bn.js": ^4.11.6
"@types/memoizee": ^0.4.4
bn.js: ^5.1.2
@@ -2916,12 +2949,12 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/util-crypto@npm:2.18.1, @polkadot/util-crypto@npm:^2.18.1":
version: 2.18.1
resolution: "@polkadot/util-crypto@npm:2.18.1"
"@polkadot/util-crypto@npm:3.0.1, @polkadot/util-crypto@npm:^3.0.1":
version: 3.0.1
resolution: "@polkadot/util-crypto@npm:3.0.1"
dependencies:
"@babel/runtime": ^7.10.4
"@polkadot/util": 2.18.1
"@babel/runtime": ^7.10.5
"@polkadot/util": 3.0.1
"@polkadot/wasm-crypto": ^1.2.1
base-x: ^3.0.8
bip39: ^3.0.2
@@ -2930,23 +2963,24 @@ __metadata:
elliptic: ^6.5.3
js-sha3: ^0.8.0
pbkdf2: ^3.1.1
scryptsy: ^2.1.0
tweetnacl: ^1.0.3
xxhashjs: ^0.2.2
checksum: 3/412d3f1c0d0c318130808cdb6d0097fc0be915412e505d86e38ea7f2e131f0a7277b371bd4a9f41608d5220fc04f71de29409781f75f2a40399490827603f6fd
checksum: 3/9bf7cadffefca3528236bf7be6626ecc4bfad9b89e58003fd29bf0a023453e333f99e8ad4a928e29b346c518661a4f887928e5f9aaa8f50b716515281e451449
languageName: node
linkType: hard
"@polkadot/util@npm:2.18.1, @polkadot/util@npm:^2.18.1":
version: 2.18.1
resolution: "@polkadot/util@npm:2.18.1"
"@polkadot/util@npm:3.0.1, @polkadot/util@npm:^3.0.1":
version: 3.0.1
resolution: "@polkadot/util@npm:3.0.1"
dependencies:
"@babel/runtime": ^7.10.4
"@babel/runtime": ^7.10.5
"@types/bn.js": ^4.11.6
bn.js: ^5.1.2
camelcase: ^5.3.1
chalk: ^4.1.0
ip-regex: ^4.1.0
checksum: 3/df6cb63e7d5cff1f0075e7807b76c6ea26c1a52f887dc20558d8717cde81713fa391cfd17dd82792f4c6271be30f143d3a11c816b7c00eaeea1d411fe5208e71
checksum: 3/2b2577733a6d493ab6a814b4c4038b9fb921687c5e9d66ab012aec0b984b44a3b8c793c416e1ffced92f28dcee8449a4738de6cd7c8c3f65230d26625c0348f6
languageName: node
linkType: hard
@@ -3135,13 +3169,13 @@ __metadata:
languageName: node
linkType: hard
"@types/jest@npm:^26.0.5":
version: 26.0.5
resolution: "@types/jest@npm:26.0.5"
"@types/jest@npm:^26.0.7":
version: 26.0.7
resolution: "@types/jest@npm:26.0.7"
dependencies:
jest-diff: ^25.2.1
pretty-format: ^25.2.1
checksum: 3/ffe129cacd0b1472ab8018d1cd5e88cd66f31223d1cc02f2366143e792eba59031432065c37199d7351da5c2b4a6cea21c4a6d30075f925dff3a9f32ba8dc04d
checksum: 3/9c54f6cdcef19a570151aa0b3257219beffa11f4aeae501e5a41211e7ea4edde9acd90a59b38595b09f34e525879b8bd557436d7ac365aa5e8f31ed2de190e29
languageName: node
linkType: hard
@@ -3190,9 +3224,9 @@ __metadata:
linkType: hard
"@types/node@npm:*, @types/node@npm:>= 8":
version: 14.0.23
resolution: "@types/node@npm:14.0.23"
checksum: 3/35415a294f536c2b14d29ec02a733af23405f4e7e87dace5b4392a69358aae7a14d28805a528b6e9a5f55cfbd9e035bd817e4db0325945fe0332db40ecabdf84
version: 14.0.26
resolution: "@types/node@npm:14.0.26"
checksum: 3/fe900b9e9441d5c48ca854a5d6680689025767d0a4b6236512bcff44f443e380d1757ca2c6d5e96eac2a4a360be0af446b4d50b8f94348c1942e5cd7865a2499
languageName: node
linkType: hard
@@ -3265,11 +3299,11 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:3.6.1":
version: 3.6.1
resolution: "@typescript-eslint/eslint-plugin@npm:3.6.1"
"@typescript-eslint/eslint-plugin@npm:3.7.0":
version: 3.7.0
resolution: "@typescript-eslint/eslint-plugin@npm:3.7.0"
dependencies:
"@typescript-eslint/experimental-utils": 3.6.1
"@typescript-eslint/experimental-utils": 3.7.0
debug: ^4.1.1
functional-red-black-tree: ^1.0.1
regexpp: ^3.0.0
@@ -3282,33 +3316,33 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 3/eb4c47eb0a2acd7a41ad0f55f3107821e60f77b5cdd37dab53a67fe3a810ac9e9ed3f61b2e53b418fce4f1b43a58feb009abd4f6a66ca24d3ff80f72431ec6fc
checksum: 3/eb13dab2b1e2a422080e5b0e57244a9de4ce09ac9c4b55e26006f17fec85fd65af36c57d634c7ab0d7cd82092b32c711cee93fc0a1b7baa31c04578320234ca4
languageName: node
linkType: hard
"@typescript-eslint/experimental-utils@npm:3.6.1":
version: 3.6.1
resolution: "@typescript-eslint/experimental-utils@npm:3.6.1"
"@typescript-eslint/experimental-utils@npm:3.7.0":
version: 3.7.0
resolution: "@typescript-eslint/experimental-utils@npm:3.7.0"
dependencies:
"@types/json-schema": ^7.0.3
"@typescript-eslint/types": 3.6.1
"@typescript-eslint/typescript-estree": 3.6.1
"@typescript-eslint/types": 3.7.0
"@typescript-eslint/typescript-estree": 3.7.0
eslint-scope: ^5.0.0
eslint-utils: ^2.0.0
peerDependencies:
eslint: "*"
checksum: 3/dd8bd15c205562f37fb5e5f0981f6a8d93c8dede48f96467063e9404a2ae36f801c5370963b18c4101d71de12b8b003bc1ed57c3d79f7c76489a74a58811737f
checksum: 3/5c83b89902b2659facf8eeac47da1344b9984ad9fb1f790f89793433f23cf5fe493f64832fb1db70db1bd60ad632b9962d5c2308b9960f6ee2948a3115e1fa12
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:3.6.1":
version: 3.6.1
resolution: "@typescript-eslint/parser@npm:3.6.1"
"@typescript-eslint/parser@npm:3.7.0":
version: 3.7.0
resolution: "@typescript-eslint/parser@npm:3.7.0"
dependencies:
"@types/eslint-visitor-keys": ^1.0.0
"@typescript-eslint/experimental-utils": 3.6.1
"@typescript-eslint/types": 3.6.1
"@typescript-eslint/typescript-estree": 3.6.1
"@typescript-eslint/experimental-utils": 3.7.0
"@typescript-eslint/types": 3.7.0
"@typescript-eslint/typescript-estree": 3.7.0
eslint-visitor-keys: ^1.1.0
peerDependencies:
eslint: ^5.0.0 || ^6.0.0 || ^7.0.0
@@ -3316,23 +3350,23 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 3/0fbb334ab4c689b52cf39e1b50468ea27d99c9f6e6bea5711091dd296b42a51317aca9c17a75535226311aa94419fc39d5241948512d2ccf8cc5f80c924e9f9c
checksum: 3/b34e5240ed78c283fb348733e590308debd9e7190dfc598e2a189e6e0d2eda952b1f2821a9ba2b41eb5e91217b49601246962bee1599e2dd02a74ef9f466b791
languageName: node
linkType: hard
"@typescript-eslint/types@npm:3.6.1":
version: 3.6.1
resolution: "@typescript-eslint/types@npm:3.6.1"
checksum: 3/c90e36b62375a20a40b2a971a6fd60c27f606bf80a65649e765c837b4d5cc6aaad012d4356fbadcc051d9e07678aa045b62dbae78b9fe65dc8c8b0e2acc0abad
"@typescript-eslint/types@npm:3.7.0":
version: 3.7.0
resolution: "@typescript-eslint/types@npm:3.7.0"
checksum: 3/f484d333d000f529858369a1a87afcb403c9b1412eb25cd66560f28f9bb71d4f53372353e06486a0128ebb91ac83fff24537ea83cd8f39d486b54411d8538160
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:3.6.1":
version: 3.6.1
resolution: "@typescript-eslint/typescript-estree@npm:3.6.1"
"@typescript-eslint/typescript-estree@npm:3.7.0":
version: 3.7.0
resolution: "@typescript-eslint/typescript-estree@npm:3.7.0"
dependencies:
"@typescript-eslint/types": 3.6.1
"@typescript-eslint/visitor-keys": 3.6.1
"@typescript-eslint/types": 3.7.0
"@typescript-eslint/visitor-keys": 3.7.0
debug: ^4.1.1
glob: ^7.1.6
is-glob: ^4.0.1
@@ -3344,7 +3378,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 3/93eef4a7ac59c38bdeb93cacd5d93cffbcf4fee369cca24614edf0557e0a01d5e31059da5ca8f58cf94504965432ba4ede3a7a724f9db88527bec3cf85d9111a
checksum: 3/d9ee7fadba54eaba6736a227614048df2d19ba9969058b3ddbe018136098edc24fd715441cb2b55cb6398aba3dd3d872ee65d98328223dda3849c9cd29bc8ea8
languageName: node
linkType: hard
@@ -3368,12 +3402,12 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:3.6.1":
version: 3.6.1
resolution: "@typescript-eslint/visitor-keys@npm:3.6.1"
"@typescript-eslint/visitor-keys@npm:3.7.0":
version: 3.7.0
resolution: "@typescript-eslint/visitor-keys@npm:3.7.0"
dependencies:
eslint-visitor-keys: ^1.1.0
checksum: 3/041b3af065e5cb1a7a53bf17a684372a0388bad63de80854ac9c32dccbd46f9c822ca69d33622db2e4583506a4baa74fab9ef67687d435ac073077ae870067e5
checksum: 3/62212d8ccbea49dea5dca17ade8ab0eed64f94023f5b337a14c8f6a74cea8533d92cd09abd197abcb8e30924779adda88135732d85e8392e0007992ee11ee65c
languageName: node
linkType: hard
@@ -3401,9 +3435,10 @@ __metadata:
linkType: hard
"@vue/babel-preset-app@npm:^4.1.2":
version: 4.4.6
resolution: "@vue/babel-preset-app@npm:4.4.6"
version: 4.5.0
resolution: "@vue/babel-preset-app@npm:4.5.0"
dependencies:
"@ant-design-vue/babel-plugin-jsx": ^1.0.0-0
"@babel/core": ^7.9.6
"@babel/helper-compilation-targets": ^7.9.6
"@babel/helper-module-imports": ^7.8.3
@@ -3422,10 +3457,13 @@ __metadata:
peerDependencies:
"@babel/core": "*"
core-js: ^3
vue: ^2 || ^3.0.0-0
peerDependenciesMeta:
core-js:
optional: true
checksum: 3/b893326526df7a31ca6aca1c822e2c3a13c21d4b62f6ab92b826e1293942723b0ae8bbff22d64be6f83990e9881f6f0e6b3eb8ecd4acaa733825499c2578f1f3
vue:
optional: true
checksum: 3/21c9d651f484be6d3ce6de7531be17212889b013270e2e9fe6dbf0d307c33dc05812e85c1a752e74a8af335c23e4a486e1068c936ec8180f4d855a7f5c0a7b6c
languageName: node
linkType: hard
@@ -3496,9 +3534,9 @@ __metadata:
languageName: node
linkType: hard
"@vue/component-compiler-utils@npm:^3.1.0, @vue/component-compiler-utils@npm:^3.1.2":
version: 3.1.2
resolution: "@vue/component-compiler-utils@npm:3.1.2"
"@vue/component-compiler-utils@npm:^3.1.0, @vue/component-compiler-utils@npm:^3.2.0":
version: 3.2.0
resolution: "@vue/component-compiler-utils@npm:3.2.0"
dependencies:
consolidate: ^0.15.1
hash-sum: ^1.0.2
@@ -3512,7 +3550,7 @@ __metadata:
dependenciesMeta:
prettier:
optional: true
checksum: 3/5eb62fbdb94a06633af70d7f1ecb1cd0bb4da750118dbbe032c14c99472581d489ccac95d26cef3ce2095a75357dcc44cee93b38148d1a9d2936436367fef90d
checksum: 3/7fc8f6d81cc486a73457eb46f9c7d25a88f05a81573fe264d8d5cde51ecb2a45115cd6fe59fc96ab0799954643bf481f5f894cbd25f15c77a484beaf7d0dabaf
languageName: node
linkType: hard
@@ -5373,9 +5411,9 @@ __metadata:
linkType: hard
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001093, caniuse-lite@npm:^1.0.30001097":
version: 1.0.30001104
resolution: "caniuse-lite@npm:1.0.30001104"
checksum: 3/fdaf22cc7ddac06c6683bfb38e8b158fb09dcb4a8a6a082ea0da4b144ba6735cde1c177be40a1b52e296350219d0e51449d4b374a6e558543734fd549fe0d1a9
version: 1.0.30001107
resolution: "caniuse-lite@npm:1.0.30001107"
checksum: 3/08990ad38c7152fcf9665c252a6186511b5062770d9ccf03577b83b424b5fd45aebabbdacf954d265c244285708720bbdef5e3c0ee221dd724d302c76ecc3542
languageName: node
linkType: hard
@@ -5515,7 +5553,7 @@ __metadata:
languageName: node
linkType: hard
"chokidar@npm:^3.4.0":
"chokidar@npm:^3.4.1":
version: 3.4.1
resolution: "chokidar@npm:3.4.1"
dependencies:
@@ -6827,11 +6865,11 @@ __metadata:
linkType: hard
"decomment@npm:^0.9.2":
version: 0.9.2
resolution: "decomment@npm:0.9.2"
version: 0.9.3
resolution: "decomment@npm:0.9.3"
dependencies:
esprima: 4.0.1
checksum: 3/6e5e45f6806bd2006b17dc5139543bc335f2b795c3e0d53a2ff903c99aa0579e6e75db5393275acbf9dc8995d7d084b997af3e88caabd7e713feed80b43084c4
checksum: 3/cef4c59e03de88dbc596cebccdf35b82c2206dc4074bbfacff0d154da13a474ac15c8492f79b84311f859c8293cfe88887abedb1c4976495973045ff1353b9cc
languageName: node
linkType: hard
@@ -7439,9 +7477,9 @@ __metadata:
linkType: hard
"electron-to-chromium@npm:^1.3.488":
version: 1.3.501
resolution: "electron-to-chromium@npm:1.3.501"
checksum: 3/ec4408a0859dab6e89134d4a95ebd6416cb93b5f76fe4103a993bb3ba2148ae23228fef9d882f404d5b59bc67ceca1142f29f8c85c9050add2073926ffb18131
version: 1.3.509
resolution: "electron-to-chromium@npm:1.3.509"
checksum: 3/01c9cfa12752f0cbc34dea5bf095d87495c3325831b98de065678d63fed6b69591390afb55cce44772364faa8b28e84c3b945a6575ede0d2347bc7841bb69048
languageName: node
linkType: hard
@@ -7520,7 +7558,7 @@ __metadata:
languageName: node
linkType: hard
"enhanced-resolve@npm:^4.1.0, enhanced-resolve@npm:^4.1.1":
"enhanced-resolve@npm:^4.1.0, enhanced-resolve@npm:^4.1.1, enhanced-resolve@npm:^4.3.0":
version: 4.3.0
resolution: "enhanced-resolve@npm:4.3.0"
dependencies:
@@ -7574,11 +7612,11 @@ __metadata:
linkType: hard
"envinfo@npm:^7.2.0, envinfo@npm:^7.3.1":
version: 7.5.1
resolution: "envinfo@npm:7.5.1"
version: 7.7.2
resolution: "envinfo@npm:7.7.2"
bin:
envinfo: dist/cli.js
checksum: 3/0c3a8c1deb2c855298d56d21bc1f2b6065b34f2bc6e85a2b5aa85148d1b215bd0544ed91683f2e2f6543ee2df2c717713d67b4f2a66742ba4f382c789e372810
checksum: 3/b393ee3cdefe881e7c0383390d7fc61f333132808262e660b3f3690e2273bf9ed02419ee9f3d542aee0a05d67a1d0c28fd2a82507fe8cbe2e2e03958db80718e
languageName: node
linkType: hard
@@ -7862,9 +7900,9 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-react@npm:^7.20.3":
version: 7.20.3
resolution: "eslint-plugin-react@npm:7.20.3"
"eslint-plugin-react@npm:^7.20.4":
version: 7.20.4
resolution: "eslint-plugin-react@npm:7.20.4"
dependencies:
array-includes: ^3.1.1
array.prototype.flatmap: ^1.2.3
@@ -7879,7 +7917,7 @@ __metadata:
string.prototype.matchall: ^4.0.2
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7
checksum: 3/00b1e5045e490515bf79912d8658cc9bba5f299a07df29e2dc4c643c15f821132a6fdade7b7525882dcf8ee37ecf1b3f93f23ad413f1bcce8b09f62e46264e09
checksum: 3/91162b67b5bea65e818b7f04f2336ffeb0bdccaf87d7520a235bb3857bf7c7781a2073088f9dd56cf149c801f3d84a12d4c88d3e6e65f8bb2508dce9f58257dd
languageName: node
linkType: hard
@@ -8084,9 +8122,9 @@ __metadata:
linkType: hard
"events@npm:^3.0.0":
version: 3.1.0
resolution: "events@npm:3.1.0"
checksum: 3/b25256e5cb2238e1cf940e81b72ec8b3793e817a8b8ef44031971908a418e1f29ccff0c3ddc0cb5c792f98314a127d4fc9d3670a3e9a681656c28ff1558d8569
version: 3.2.0
resolution: "events@npm:3.2.0"
checksum: 3/6ea52b160c2dfbe060feb2388d3d6d8b76a58779c2b14d66d96fdfcb255ccecaac11464634af4e5a7ba272b5412de929ead65d24cd203f3ff8ca881d4ba3796b
languageName: node
linkType: hard
@@ -9666,9 +9704,9 @@ __metadata:
linkType: hard
"highlight.js@npm:^10.0.0":
version: 10.1.1
resolution: "highlight.js@npm:10.1.1"
checksum: 3/c4c59c253346c610db9843a678a4871790fe05b454e2a54963161aa0a310d76bf36270eacf891aebf3c860ea50dee068355cae4967b7c5052ac16dd4c4020309
version: 10.1.2
resolution: "highlight.js@npm:10.1.2"
checksum: 3/12ad98d6f2b89ff7f46e2f9404bb3f3783c81cc5a98362e89e7f56d9d0315952149561e5f1661073e0bf8528412ce9262a331f27da4e263d122d34daa5473d08
languageName: node
linkType: hard
@@ -9791,6 +9829,13 @@ __metadata:
languageName: node
linkType: hard
"html-tags@npm:^3.1.0":
version: 3.1.0
resolution: "html-tags@npm:3.1.0"
checksum: 3/0f87b0f46d6064e5cd705f2accd869b0d28fe251b1260663ad527641497f4a1ed5a0a0a56ac9619c20b57c67862726ec9e62d4de0630bf836e1342e777b299c1
languageName: node
linkType: hard
"htmlparser2@npm:^3.3.0":
version: 3.10.1
resolution: "htmlparser2@npm:3.10.1"
@@ -10735,10 +10780,10 @@ __metadata:
languageName: node
linkType: hard
"is-plain-object@npm:^3.0.0":
version: 3.0.1
resolution: "is-plain-object@npm:3.0.1"
checksum: 3/53b6f5b558a494f20304aad4d484739c96826c4a7c89ef9c6479009df89e725d5a355f592ccba2cd9e94c36fda35d2d229d597f5ccd0c9deb8c8ccd0077ec617
"is-plain-object@npm:^4.0.0":
version: 4.1.1
resolution: "is-plain-object@npm:4.1.1"
checksum: 3/c63fb5bf602956ab72ca6accb0d005e8bdc5edea68fb53461c9ebbfc9ce365a339a61f2c94f6a889b66c852c91232c652cc01cb81740d2d2b7f23a92ce46e479
languageName: node
linkType: hard
@@ -10906,7 +10951,7 @@ __metadata:
languageName: node
linkType: hard
"is-wsl@npm:^2.1.1":
"is-wsl@npm:^2.2.0":
version: 2.2.0
resolution: "is-wsl@npm:2.2.0"
dependencies:
@@ -12212,9 +12257,9 @@ __metadata:
linkType: hard
"macos-release@npm:^2.2.0":
version: 2.4.0
resolution: "macos-release@npm:2.4.0"
checksum: 3/9f5ecb3312d2316a6b8fa82bc7b353841ca1f7c92d24db0881d342f02a1cedde86cbedb9bfea9137bf1eef24717c6a124293e7963e2107a6b9869e1c6a4d473b
version: 2.4.1
resolution: "macos-release@npm:2.4.1"
checksum: 3/0d15f4b163831e3178f3b1eb602938e38690b26caef7b275ae54e2e705d168eb2309d3d4dbc8c08ff03ecb0a04ca2fb3e66cc8b0c42182adc9f90a19b8005e6f
languageName: node
linkType: hard
@@ -13241,23 +13286,23 @@ __metadata:
linkType: hard
"node-notifier@npm:^7.0.0":
version: 7.0.1
resolution: "node-notifier@npm:7.0.1"
version: 7.0.2
resolution: "node-notifier@npm:7.0.2"
dependencies:
growly: ^1.3.0
is-wsl: ^2.1.1
semver: ^7.2.1
is-wsl: ^2.2.0
semver: ^7.3.2
shellwords: ^0.1.1
uuid: ^7.0.3
uuid: ^8.2.0
which: ^2.0.2
checksum: 3/d851b89ba6e6cbab7803370516ff25424b95d2fa0d0a15c01c199447502cd959f2153d2976674eb297a01faff64a85598297e54da362c933c3fb199ecfc39118
checksum: 3/61d77d6c98454235efdd9bb278ec6fa044e4e4d9066c60c46ca801d9022f9888e7a52d8b90bb2fd34c7e8c71e7c14660eb7de319df37923b8944a408562065dc
languageName: node
linkType: hard
"node-releases@npm:^1.1.58":
version: 1.1.59
resolution: "node-releases@npm:1.1.59"
checksum: 3/35eb1c268b0214cb47f9a2303332c622b49ffc9c7522649a468b966564debf8b5f545843deca5a82cb4d8b8547c083aa3e9bf5a13e464809f9f91f9543d206a4
version: 1.1.60
resolution: "node-releases@npm:1.1.60"
checksum: 3/bed3480bd1d7a9c3ad0b4acf79eceabfb14c5ba3e5d48619c8ec1fb5197fb358c9d0c117e31c48d52b7dba75b71c1371c5e67d01f55b79cbd2d7b60ca30974d1
languageName: node
linkType: hard
@@ -14073,14 +14118,14 @@ __metadata:
linkType: hard
"parse-json@npm:^5.0.0":
version: 5.0.0
resolution: "parse-json@npm:5.0.0"
version: 5.0.1
resolution: "parse-json@npm:5.0.1"
dependencies:
"@babel/code-frame": ^7.0.0
error-ex: ^1.3.1
json-parse-better-errors: ^1.0.1
lines-and-columns: ^1.1.6
checksum: 3/9c46eb0c388df4333eaa4feb996deae32f32ab447723abe48fdc6756bce863cf46009d56485fde0178bfe3ac9002ef0c3540ff4b278ad3ada2abc12186413eb8
checksum: 3/051a5ebaed679acc1cea7248b96bdab4eaa02bf7c1043ab79cfc2099dd64a137a2b5320b1111e40562bf2912832dd2b58220c36a4c6557906de8bce43a491196
languageName: node
linkType: hard
@@ -15616,9 +15661,9 @@ __metadata:
linkType: hard
"regenerator-runtime@npm:^0.13.4":
version: 0.13.5
resolution: "regenerator-runtime@npm:0.13.5"
checksum: 3/8d8ee0eca26e0491085033caf2b1b95379c4db21e38d79cde52bbd4014a3865eee26ec0f4f958682e8600f185f2f5dbcd8c6685b9b9261639767929c19b5bcd2
version: 0.13.7
resolution: "regenerator-runtime@npm:0.13.7"
checksum: 3/6ef567c662088b1b292214920cbd72443059298d477f72e1a37e0a113bafbfac9057cbfe35ae617284effc4b423493326a78561bbff7b04162c7949bdb9624e8
languageName: node
linkType: hard
@@ -15793,27 +15838,27 @@ __metadata:
languageName: node
linkType: hard
"request-promise-core@npm:1.1.3":
version: 1.1.3
resolution: "request-promise-core@npm:1.1.3"
"request-promise-core@npm:1.1.4":
version: 1.1.4
resolution: "request-promise-core@npm:1.1.4"
dependencies:
lodash: ^4.17.15
lodash: ^4.17.19
peerDependencies:
request: ^2.34
checksum: 3/1235a6071b8a59c771d7c006dcc16e13ef0069a1248c9d5c95ab2f510fe42c9889e99b49a43fdeb331a47be0b93c85fb69a40ea72ed6c0011713026dfc0453ca
checksum: 3/7c9c90bf00158f6669e7167425cd113edadaca44b5aebc7c6a7969d9f50d93bfae8275038bdf6389b4e94f1cacacca7e5830d28701692818bdfba353eeb2ddfd
languageName: node
linkType: hard
"request-promise-native@npm:^1.0.8":
version: 1.0.8
resolution: "request-promise-native@npm:1.0.8"
version: 1.0.9
resolution: "request-promise-native@npm:1.0.9"
dependencies:
request-promise-core: 1.1.3
request-promise-core: 1.1.4
stealthy-require: ^1.1.1
tough-cookie: ^2.3.3
peerDependencies:
request: ^2.34
checksum: 3/29986fe3ccd11e644d60175ea81c7fbadcbe943ee6f551cad062024e6f92a5a2163d3f3af1c9e5a573641d1625377c8c716245b3a4a4e5b3811e8558126720e7
checksum: 3/532570f00559f826ad372d36a152c3cf1aa184d0876b04ed7c18a9fa391fa2108978eca837ae1fb681d2dab63bd6c74c6660022b82ecdb2682d77859314d0b6e
languageName: node
linkType: hard
@@ -16089,10 +16134,10 @@ __metadata:
"@babel/core": ^7.10.5
"@babel/register": ^7.10.5
"@babel/runtime": ^7.10.5
"@polkadot/dev": ^0.55.27
"@polkadot/dev": ^0.55.28
"@polkadot/ts": ^0.3.29
"@polkadot/typegen": "workspace:packages/typegen"
"@types/jest": ^26.0.5
"@types/jest": ^26.0.7
"@vuepress/plugin-search": ^1.5.2
copyfiles: ^2.3.0
languageName: unknown
@@ -16228,6 +16273,13 @@ __metadata:
languageName: node
linkType: hard
"scryptsy@npm:^2.1.0":
version: 2.1.0
resolution: "scryptsy@npm:2.1.0"
checksum: 3/9fd847955caa9d13a6d58a0360ba8fb31f8e7e7da9250b4c09c67db784a0f6dda757bc837313b0860c0e35f84a56ba068394c682dd4fba81c5899d82832aa7d6
languageName: node
linkType: hard
"section-matter@npm:^1.0.0":
version: 1.0.0
resolution: "section-matter@npm:1.0.0"
@@ -18497,12 +18549,12 @@ __metadata:
languageName: node
linkType: hard
"uuid@npm:^7.0.3":
version: 7.0.3
resolution: "uuid@npm:7.0.3"
"uuid@npm:^8.2.0":
version: 8.2.0
resolution: "uuid@npm:8.2.0"
bin:
uuid: dist/bin/uuid
checksum: 3/a56be8a5bbf2bae755d749d0693637274935b5ae250dfaaaf79241391cf1a7c142a202492196363ec62ec51a476e5e3fc4de2944d854abf2e9b35a33e0e31d4c
checksum: 3/6059ba10c32a42897af628b9e434ff523713614714d93845c76ee153f0d9c7e88ab47b8d03cadbe5f4c39a57abc4fbff46ae533fff6318cc6c907e4cd626fcb2
languageName: node
linkType: hard
@@ -18756,11 +18808,11 @@ __metadata:
languageName: node
linkType: hard
"watchpack@npm:^1.6.1":
version: 1.7.2
resolution: "watchpack@npm:1.7.2"
"watchpack@npm:^1.7.4":
version: 1.7.4
resolution: "watchpack@npm:1.7.4"
dependencies:
chokidar: ^3.4.0
chokidar: ^3.4.1
graceful-fs: ^4.1.2
neo-async: ^2.5.0
watchpack-chokidar2: ^2.0.0
@@ -18769,7 +18821,7 @@ __metadata:
optional: true
watchpack-chokidar2:
optional: true
checksum: 3/a9d630dd29279b91bb1b1dd319e9142f13906e8cc973c860e0662828cff84e2a3235a66da62759cb4f12dc76a6f672760e62b2c8a6406ff80d5e4977b5717e83
checksum: 3/61876d6e60ddb1e9b0a6143c65a4453543bb1a27638254635d179d4681f15af200de9a61c1a3faec220a29e41ca37381e604345ffa9d48c064a29cff4cb25732
languageName: node
linkType: hard
@@ -18823,12 +18875,12 @@ __metadata:
linkType: hard
"webpack-chain@npm:^6.0.0":
version: 6.5.0
resolution: "webpack-chain@npm:6.5.0"
version: 6.5.1
resolution: "webpack-chain@npm:6.5.1"
dependencies:
deepmerge: ^1.5.2
javascript-stringify: ^2.0.1
checksum: 3/76023b65c44035031bbdc60b766f7672013f548b2088c6ec9e45e413e08209a5049de07bb14ae7e888b6eecdb57534fbfa0c5c60bf7b7bdf8f4cb090a2010d8a
checksum: 3/56995e18999a012fb16fbd769a06716f54053694f01313d7006be70b845f44d62b7c0c42118fe44553fcac825b23c4d1b5720786ad3a756e057f77e39882458e
languageName: node
linkType: hard
@@ -18948,9 +19000,9 @@ __metadata:
languageName: node
linkType: hard
"webpack@npm:4.43.0, webpack@npm:^4.43.0, webpack@npm:^4.8.1":
version: 4.43.0
resolution: "webpack@npm:4.43.0"
"webpack@npm:4.44.0, webpack@npm:^4.44.0, webpack@npm:^4.8.1":
version: 4.44.0
resolution: "webpack@npm:4.44.0"
dependencies:
"@webassemblyjs/ast": 1.9.0
"@webassemblyjs/helper-module-context": 1.9.0
@@ -18960,7 +19012,7 @@ __metadata:
ajv: ^6.10.2
ajv-keywords: ^3.4.1
chrome-trace-event: ^1.0.2
enhanced-resolve: ^4.1.0
enhanced-resolve: ^4.3.0
eslint-scope: ^4.0.3
json-parse-better-errors: ^1.0.2
loader-runner: ^2.4.0
@@ -18973,11 +19025,11 @@ __metadata:
schema-utils: ^1.0.0
tapable: ^1.1.3
terser-webpack-plugin: ^1.4.3
watchpack: ^1.6.1
watchpack: ^1.7.4
webpack-sources: ^1.4.1
bin:
webpack: bin/webpack.js
checksum: 3/9f1e6375ba28368b4a0d02a0807aa4e148b101244d7ab698c99ac478e3043cdacf7d7c89aa7d4af9549509be7d23878ef863bd6a9540e89a18dd2c04e82e2b4f
checksum: 3/5b3fe7a329a2f096909f4334d74bdb2b91ee44a9d8caada1845713456eabf5f87d7af51e3bc50586e66236ec8747c0b4fed33a32443535242d65b0f10ea5d365
languageName: node
linkType: hard