Expand Call errors with actual callIndex info (#2806)
* Expand Call errors with actutl callIndex info * Update test expectation * casing
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 2.4.2-x
|
||||
|
||||
Contributed:
|
||||
|
||||
- Dedup similar types on generation (Thanks to https://github.com/monitz87)
|
||||
|
||||
Changes:
|
||||
|
||||
- Add `.dryRun` on extrinsics (alongside `.paymentInfo` usage)
|
||||
- Add `system_syncState` and `syncstate_genSyncSpec` RPCs
|
||||
- Enhance error reporting, `Call` indicates explicit call as found
|
||||
- Adjust internal metadata decoration and use as exposed from `@types/metadata`
|
||||
- Expand Rococo known types to cater for v1 (specVersion 10)
|
||||
- `registry.hash` now returns an `H256` object (as opposed to raw Uint8Array)
|
||||
- Use utility logger in all relevant error messages (consistency in logging)
|
||||
- Correctly and transparently format type generation types (allowing for nested variants)
|
||||
|
||||
|
||||
## 2.4.1 Oct 26, 2020
|
||||
|
||||
Upgrade priority: Low. No breaking changes, however it does move `api-contract` forward with additional features.
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"@polkadot/api": "^2.4.2-13",
|
||||
"@polkadot/rpc-core": "^2.4.2-13",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"bn.js": "^5.1.3",
|
||||
"rxjs": "^6.6.3"
|
||||
}
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
"@polkadot/rpc-core": "^2.4.2-13",
|
||||
"@polkadot/rpc-provider": "^2.4.2-13",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util-crypto": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"@polkadot/util-crypto": "^3.6.2-12",
|
||||
"bn.js": "^5.1.3",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.6.2-10"
|
||||
"@polkadot/keyring": "^3.6.2-12"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,19 +28,19 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.1",
|
||||
"@polkadot/api-derive": "^2.4.2-13",
|
||||
"@polkadot/keyring": "^3.6.2-10",
|
||||
"@polkadot/keyring": "^3.6.2-12",
|
||||
"@polkadot/metadata": "^2.4.2-13",
|
||||
"@polkadot/rpc-core": "^2.4.2-13",
|
||||
"@polkadot/rpc-provider": "^2.4.2-13",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/types-known": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util-crypto": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"@polkadot/util-crypto": "^3.6.2-12",
|
||||
"bn.js": "^5.1.3",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^6.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.6.2-10"
|
||||
"@polkadot/keyring": "^3.6.2-12"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -428,7 +428,7 @@ export default abstract class Decorate<ApiType extends ApiTypes> extends Events
|
||||
));
|
||||
}
|
||||
|
||||
private _retrieveMapKeys ({ iterKey, meta }: StorageEntry, at: Hash | Uint8Array | string | null, arg?: Arg): Observable<StorageKey[]> {
|
||||
private _retrieveMapKeys ({ iterKey, meta, method, section }: StorageEntry, at: Hash | Uint8Array | string | null, arg?: Arg): Observable<StorageKey[]> {
|
||||
assert(iterKey && (meta.type.isMap || meta.type.isDoubleMap), 'keys can only be retrieved on maps, linked maps and double maps');
|
||||
|
||||
const headKey = iterKey(arg).toHex();
|
||||
@@ -440,7 +440,7 @@ export default abstract class Decorate<ApiType extends ApiTypes> extends Events
|
||||
return startSubject.pipe(
|
||||
switchMap((startKey) =>
|
||||
query(startKey).pipe(
|
||||
map((keys) => keys.map((key) => key.setMeta(meta)))
|
||||
map((keys) => keys.map((key) => key.setMeta(meta, section, method)))
|
||||
)
|
||||
),
|
||||
tap((keys): void => {
|
||||
@@ -453,19 +453,19 @@ export default abstract class Decorate<ApiType extends ApiTypes> extends Events
|
||||
);
|
||||
}
|
||||
|
||||
private _retrieveMapKeysPaged ({ iterKey, meta }: StorageEntry, opts: PaginationOptions): Observable<StorageKey[]> {
|
||||
private _retrieveMapKeysPaged ({ iterKey, meta, method, section }: StorageEntry, opts: PaginationOptions): Observable<StorageKey[]> {
|
||||
assert(iterKey && (meta.type.isMap || meta.type.isDoubleMap), 'keys can only be retrieved on maps, linked maps and double maps');
|
||||
|
||||
const headKey = iterKey(opts.arg).toHex();
|
||||
|
||||
return this._rpcCore.state.getKeysPaged(headKey, opts.pageSize, opts.startKey || headKey).pipe(
|
||||
map((keys) => keys.map((key) => key.setMeta(meta)))
|
||||
map((keys) => keys.map((key) => key.setMeta(meta, section, method)))
|
||||
);
|
||||
}
|
||||
|
||||
private _retrieveMapEntries (entry: StorageEntry, at: Hash | Uint8Array | string | null, arg?: Arg): Observable<[StorageKey, Codec][]> {
|
||||
const query = at
|
||||
? this._rpcCore.state.queryStorageAt
|
||||
const query = this._rpcCore.state.queryStorageAt
|
||||
? at
|
||||
? (keyset: StorageKey[]) => this._rpcCore.state.queryStorageAt<Codec[]>(keyset, at)
|
||||
: (keyset: StorageKey[]) => this._rpcCore.state.queryStorageAt<Codec[]>(keyset)
|
||||
// this is horrible, but need older support (which now doesn't work with at)
|
||||
|
||||
@@ -29,11 +29,11 @@
|
||||
"@babel/runtime": "^7.12.1",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/types-known": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util-crypto": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"@polkadot/util-crypto": "^3.6.2-12",
|
||||
"bn.js": "^5.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.6.2-10"
|
||||
"@polkadot/keyring": "^3.6.2-12"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
"@polkadot/metadata": "^2.4.2-13",
|
||||
"@polkadot/rpc-provider": "^2.4.2-13",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.6.2-10"
|
||||
"@polkadot/keyring": "^3.6.2-12"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -458,11 +458,11 @@ export default class Rpc implements RpcInterface {
|
||||
// one at a time, all based on the query types. Three values can be returned -
|
||||
// - Codec - There is a valid value, non-empty
|
||||
// - null - The storage key is empty
|
||||
return keys.reduce((results: Codec[], key: StorageKey): Codec[] => {
|
||||
return keys.reduce((results: Codec[], key: StorageKey, index: number): Codec[] => {
|
||||
try {
|
||||
results.push(this._formatStorageSetEntry(registry, key, changes, withCache));
|
||||
} catch (error) {
|
||||
l.error(`Unable to decode storage ${key.section || 'unknown'}.${key.method || 'unknown'}:`, (error as Error).message);
|
||||
l.error(`Unable to decode storage ${key.section || 'unknown'}.${key.method || 'unknown'}: entry ${index + 1}/${keys.length}:`, (error as Error).message);
|
||||
|
||||
throw error;
|
||||
}
|
||||
|
||||
@@ -29,15 +29,15 @@
|
||||
"@babel/runtime": "^7.12.1",
|
||||
"@polkadot/metadata": "^2.4.2-13",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util-crypto": "^3.6.2-10",
|
||||
"@polkadot/x-fetch": "^0.3.6",
|
||||
"@polkadot/x-ws": "^0.3.6",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"@polkadot/util-crypto": "^3.6.2-12",
|
||||
"@polkadot/x-fetch": "^3.6.2-12",
|
||||
"@polkadot/x-ws": "^3.6.2-12",
|
||||
"bn.js": "^5.1.3",
|
||||
"eventemitter3": "^4.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.6.2-10",
|
||||
"@polkadot/keyring": "^3.6.2-12",
|
||||
"mock-socket": "^9.0.3",
|
||||
"nock": "^13.0.4"
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"@polkadot/metadata": "^2.4.2-13",
|
||||
"@polkadot/rpc-provider": "^2.4.2-13",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"handlebars": "^4.7.6",
|
||||
"websocket": "^1.0.32",
|
||||
"yargs": "^16.1.0"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.1",
|
||||
"@polkadot/types": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"bn.js": "^5.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -28,15 +28,15 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.1",
|
||||
"@polkadot/metadata": "^2.4.2-13",
|
||||
"@polkadot/util": "^3.6.2-10",
|
||||
"@polkadot/util-crypto": "^3.6.2-10",
|
||||
"@polkadot/util": "^3.6.2-12",
|
||||
"@polkadot/util-crypto": "^3.6.2-12",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"bn.js": "^5.1.3",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.6.2-10",
|
||||
"@polkadot/keyring": "^3.6.2-12",
|
||||
"@types/memoizee": "^0.4.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ describe('Struct', (): void => {
|
||||
u32: U32
|
||||
})
|
||||
)(registry, 'ABC')
|
||||
).toThrowError(/Struct: cannot decode type/);
|
||||
).toThrowError(/Cannot decode value/);
|
||||
});
|
||||
|
||||
it('provides a clean toString()', (): void => {
|
||||
|
||||
@@ -60,10 +60,18 @@ function decodeStructFromObject <T> (registry: Registry, Types: ConstructorDef,
|
||||
? assign
|
||||
: new Types[key](registry, assign);
|
||||
} else {
|
||||
throw new Error(`Struct: cannot decode type ${Types[key].name} with value ${JSON.stringify(value)}`);
|
||||
throw new Error(`Cannot decode value ${JSON.stringify(value)}`);
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error(`Struct: failed on '${jsonKey as string}':: ${(error as Error).message}`);
|
||||
let type = Types[key].name;
|
||||
|
||||
try {
|
||||
type = new Types[key](registry).toRawType();
|
||||
} catch (error) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
throw new Error(`Struct: failed on ${jsonKey as string}: ${type}:: ${(error as Error).message}`);
|
||||
}
|
||||
|
||||
return raw;
|
||||
|
||||
@@ -122,11 +122,25 @@ export default class Call extends Struct implements IMethod {
|
||||
constructor (registry: Registry, value: unknown, meta?: FunctionMetadataLatest) {
|
||||
const decoded = decodeCall(registry, value, meta);
|
||||
|
||||
super(registry, {
|
||||
callIndex: CallIndex,
|
||||
// eslint-disable-next-line sort-keys
|
||||
args: Struct.with(decoded.argsDef)
|
||||
}, decoded);
|
||||
try {
|
||||
super(registry, {
|
||||
callIndex: CallIndex,
|
||||
// eslint-disable-next-line sort-keys
|
||||
args: Struct.with(decoded.argsDef)
|
||||
}, decoded);
|
||||
} catch (error) {
|
||||
let method = 'unknown.unknown';
|
||||
|
||||
try {
|
||||
const c = registry.findMetaCall(decoded.callIndex);
|
||||
|
||||
method = `${c.section}.${c.method}`;
|
||||
} catch (error) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
throw new Error(`Call: failed decoding ${method}:: ${(error as Error).message}`);
|
||||
}
|
||||
|
||||
this._meta = decoded.meta;
|
||||
}
|
||||
|
||||
@@ -149,21 +149,19 @@ export default class StorageKey extends Bytes {
|
||||
|
||||
private _outputType: string;
|
||||
|
||||
private readonly _method?: string;
|
||||
private _method?: string;
|
||||
|
||||
private readonly _section?: string;
|
||||
private _section?: string;
|
||||
|
||||
constructor (registry: Registry, value?: AnyU8a | StorageKey | StorageEntry | [StorageEntry, any], override: Partial<StorageKeyExtra> = {}) {
|
||||
const { key, method, section } = decodeStorageKey(value);
|
||||
|
||||
super(registry, key);
|
||||
|
||||
this._method = override.method || method;
|
||||
this._section = override.section || section;
|
||||
this._outputType = StorageKey.getType(value as StorageKey);
|
||||
|
||||
// decode the args (as applicable based on the key and the hashers, after all init)
|
||||
this.setMeta(StorageKey.getMeta(value as StorageKey));
|
||||
this.setMeta(StorageKey.getMeta(value as StorageKey), override.section || section, override.method || method);
|
||||
}
|
||||
|
||||
public static getMeta (value: StorageKey | StorageEntry | [StorageEntry, any]): StorageEntryMetadataLatest | undefined {
|
||||
@@ -235,8 +233,10 @@ export default class StorageKey extends Bytes {
|
||||
/**
|
||||
* @description Sets the meta for this key
|
||||
*/
|
||||
public setMeta (meta?: StorageEntryMetadataLatest): this {
|
||||
public setMeta (meta?: StorageEntryMetadataLatest, section?: string, method?: string): this {
|
||||
this._meta = meta;
|
||||
this._method = method || this._method;
|
||||
this._section = section || this._section;
|
||||
|
||||
if (meta) {
|
||||
this._outputType = unwrapStorageType(meta.type);
|
||||
|
||||
@@ -1720,7 +1720,7 @@ __metadata:
|
||||
"@polkadot/api": ^2.4.2-13
|
||||
"@polkadot/rpc-core": ^2.4.2-13
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
bn.js: ^5.1.3
|
||||
rxjs: ^6.6.3
|
||||
languageName: unknown
|
||||
@@ -1732,12 +1732,12 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/api": ^2.4.2-13
|
||||
"@polkadot/keyring": ^3.6.2-10
|
||||
"@polkadot/keyring": ^3.6.2-12
|
||||
"@polkadot/rpc-core": ^2.4.2-13
|
||||
"@polkadot/rpc-provider": ^2.4.2-13
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util-crypto": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@polkadot/util-crypto": ^3.6.2-12
|
||||
bn.js: ^5.1.3
|
||||
memoizee: ^0.4.14
|
||||
rxjs: ^6.6.3
|
||||
@@ -1750,14 +1750,14 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/api-derive": ^2.4.2-13
|
||||
"@polkadot/keyring": ^3.6.2-10
|
||||
"@polkadot/keyring": ^3.6.2-12
|
||||
"@polkadot/metadata": ^2.4.2-13
|
||||
"@polkadot/rpc-core": ^2.4.2-13
|
||||
"@polkadot/rpc-provider": ^2.4.2-13
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/types-known": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util-crypto": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@polkadot/util-crypto": ^3.6.2-12
|
||||
bn.js: ^5.1.3
|
||||
eventemitter3: ^4.0.7
|
||||
rxjs: ^6.6.3
|
||||
@@ -1857,14 +1857,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/keyring@npm:^3.6.2-10":
|
||||
version: 3.6.2-10
|
||||
resolution: "@polkadot/keyring@npm:3.6.2-10"
|
||||
"@polkadot/keyring@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/keyring@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util-crypto": ^3.6.2-10
|
||||
checksum: dd5838b37521dbeb9306a215b7b5f29813a0dcf682b773857c7a8b9f19ab1586f01c8aef7db24b487685e3fc3553a0e8d5ff1d89c2013229241a929c7754c0e2
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@polkadot/util-crypto": ^3.6.2-12
|
||||
checksum: 4fcc4626baa1575c250edc222c8638b72408d9e4d39fde2707f7a57a1504db45126194b9a9f83d4eebfbbbf13b01e4ba1d7f6925f9a52f0261ef7df416b082e1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -1873,21 +1873,21 @@ __metadata:
|
||||
resolution: "@polkadot/metadata@workspace:packages/metadata"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/keyring": ^3.6.2-10
|
||||
"@polkadot/keyring": ^3.6.2-12
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/types-known": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util-crypto": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@polkadot/util-crypto": ^3.6.2-12
|
||||
bn.js: ^5.1.3
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/networks@npm:^3.6.2-10":
|
||||
version: 3.6.2-10
|
||||
resolution: "@polkadot/networks@npm:3.6.2-10"
|
||||
"@polkadot/networks@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/networks@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
checksum: 5be7cc526937a89dbdbc65161513969260999a0696ffba4e7704d25b6a5cb1ea438f6748c131d26839fc8dab0c4c83207c0195add322ffc1396269fea22a0ca1
|
||||
checksum: f185c93ccb4b119297c9b0e02b1265878574a258676acb603f1886a13cadb9241b80e382bf21385919f9630fa8b196de9b6bd048219879596a9eae17cf93f20a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -1896,11 +1896,11 @@ __metadata:
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/keyring": ^3.6.2-10
|
||||
"@polkadot/keyring": ^3.6.2-12
|
||||
"@polkadot/metadata": ^2.4.2-13
|
||||
"@polkadot/rpc-provider": ^2.4.2-13
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
memoizee: ^0.4.14
|
||||
rxjs: ^6.6.3
|
||||
languageName: unknown
|
||||
@@ -1911,13 +1911,13 @@ __metadata:
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/keyring": ^3.6.2-10
|
||||
"@polkadot/keyring": ^3.6.2-12
|
||||
"@polkadot/metadata": ^2.4.2-13
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util-crypto": ^3.6.2-10
|
||||
"@polkadot/x-fetch": ^0.3.6
|
||||
"@polkadot/x-ws": ^0.3.6
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@polkadot/util-crypto": ^3.6.2-12
|
||||
"@polkadot/x-fetch": ^3.6.2-12
|
||||
"@polkadot/x-ws": ^3.6.2-12
|
||||
bn.js: ^5.1.3
|
||||
eventemitter3: ^4.0.7
|
||||
mock-socket: ^9.0.3
|
||||
@@ -1945,7 +1945,7 @@ __metadata:
|
||||
"@polkadot/metadata": ^2.4.2-13
|
||||
"@polkadot/rpc-provider": ^2.4.2-13
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@types/websocket": ^1.0.1
|
||||
"@types/yargs": ^15.0.9
|
||||
handlebars: ^4.7.6
|
||||
@@ -1966,7 +1966,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/types": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@types/bn.js": ^4.11.6
|
||||
bn.js: ^5.1.3
|
||||
languageName: unknown
|
||||
@@ -1977,10 +1977,10 @@ __metadata:
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/keyring": ^3.6.2-10
|
||||
"@polkadot/keyring": ^3.6.2-12
|
||||
"@polkadot/metadata": ^2.4.2-13
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/util-crypto": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@polkadot/util-crypto": ^3.6.2-12
|
||||
"@types/bn.js": ^4.11.6
|
||||
"@types/memoizee": ^0.4.4
|
||||
bn.js: ^5.1.3
|
||||
@@ -1989,13 +1989,13 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util-crypto@npm:^3.6.2-10":
|
||||
version: 3.6.2-10
|
||||
resolution: "@polkadot/util-crypto@npm:3.6.2-10"
|
||||
"@polkadot/util-crypto@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/util-crypto@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/networks": ^3.6.2-10
|
||||
"@polkadot/util": ^3.6.2-10
|
||||
"@polkadot/networks": ^3.6.2-12
|
||||
"@polkadot/util": ^3.6.2-12
|
||||
"@polkadot/wasm-crypto": ^1.4.1
|
||||
base-x: ^3.0.8
|
||||
blakejs: ^1.1.0
|
||||
@@ -2007,22 +2007,22 @@ __metadata:
|
||||
scryptsy: ^2.1.0
|
||||
tweetnacl: ^1.0.3
|
||||
xxhashjs: ^0.2.2
|
||||
checksum: d8d3534a95d761d4eafb73627df5814567ea2576e685ea60ce42a1ee55feb93cbca6bd27240acc668e5b671306736f33cb6eb4215f82d3a8a9cd151e21e250d0
|
||||
checksum: ac335b168bfeb8b3e22dcf8e89542edb38ef21a59d72db8bfd26d98bf8ac124462be0a0a9f60255b4a165afdb4e48ca9b3766b47c6adc1843f33f0eb60ccb142
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/util@npm:^3.6.2-10":
|
||||
version: 3.6.2-10
|
||||
resolution: "@polkadot/util@npm:3.6.2-10"
|
||||
"@polkadot/util@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/util@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@polkadot/x-textdecoder": ^0.3.6
|
||||
"@polkadot/x-textencoder": ^0.3.6
|
||||
"@polkadot/x-textdecoder": ^3.6.2-12
|
||||
"@polkadot/x-textencoder": ^3.6.2-12
|
||||
"@types/bn.js": ^4.11.6
|
||||
bn.js: ^5.1.3
|
||||
camelcase: ^5.3.1
|
||||
ip-regex: ^4.2.0
|
||||
checksum: 48d4a099e95168e85fae70a94f1fc208ab5e55e5c61ac1eb8c04dab542b6db3707f38f97c7e7fdeb4ea1b18b4ab16c7fdb088891a0ef7d684e6b795362f52f42
|
||||
checksum: d0c0d367bb5a71f2d8f71f18bc40b02c01056eb161a8f3fcdf117156659cfe0d94951b0d37368c983b8d67ff5ab0442ec13745fb92a9a23e431584c9705b1cf5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2035,43 +2035,43 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-fetch@npm:^0.3.6":
|
||||
version: 0.3.6
|
||||
resolution: "@polkadot/x-fetch@npm:0.3.6"
|
||||
"@polkadot/x-fetch@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/x-fetch@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@types/node-fetch": ^2.5.7
|
||||
node-fetch: ^2.6.1
|
||||
checksum: cd833b379c64d25d8d13949e5bcd65567db15dcbd524e5e27c2bd54be9ef9adab4d0fbd931ea34cbe7f2e6798c2bd3e1c1aeb25aa4bf4eacd3fc889e938ed65d
|
||||
checksum: af8bbb2024729c448c5f68b1c872716c16a7cde8b281fb097c6e73e1db6a63ab3f170efffa64d3bb2c049277e1ac3b7a36a9284ab1ed8b951ebddf8dcf909409
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textdecoder@npm:^0.3.6":
|
||||
version: 0.3.6
|
||||
resolution: "@polkadot/x-textdecoder@npm:0.3.6"
|
||||
"@polkadot/x-textdecoder@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/x-textdecoder@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
checksum: a67edd133626252bf1dcb485740bbee2e782881a861759025c507d9adc1d6d8e661ff6303cdd4da58296ecec52351cc95c5a02f9af0d8c6037e733ec9211ae75
|
||||
checksum: b00bca3c2251e22e25b1cb26f285a6bdf28c4b14ca072ff059c6470145d05a9130d949eb6826543abcd062e2b7e18cb3496aa984fada67b6759f1ace6eaadb26
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textencoder@npm:^0.3.6":
|
||||
version: 0.3.6
|
||||
resolution: "@polkadot/x-textencoder@npm:0.3.6"
|
||||
"@polkadot/x-textencoder@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/x-textencoder@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
checksum: 148d1489a6bddd74f84e2c6ba74cf0c13562f289191be8469357a7d28e652754c9971fd834f3c6b45528a3ecc7dbee50707c58b6f1cbfdcc93fed4d39e2edd36
|
||||
checksum: f75e5402004632e49b4de1f81060c0139a30a3ec1a6cfa77378deef8f8a763f292cf789694ea39162bd103adaaf49ea7d8e3253018634169ee0e40ef0ca808e4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-ws@npm:^0.3.6":
|
||||
version: 0.3.6
|
||||
resolution: "@polkadot/x-ws@npm:0.3.6"
|
||||
"@polkadot/x-ws@npm:^3.6.2-12":
|
||||
version: 3.6.2-12
|
||||
resolution: "@polkadot/x-ws@npm:3.6.2-12"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.1
|
||||
"@types/websocket": ^1.0.1
|
||||
websocket: ^1.0.32
|
||||
checksum: 676463553a2726137182002f33c82f21520c26c2568f4eda91920aaabcbdcf377d22e5e829b360ecc3d7de82dd2b6f017d2e5b3a7b25beaff6eb62f79d06a2ac
|
||||
checksum: feaaa479ae023c854fb3b856b9f874a65f517cb62b8db1d2cc8030278088e65dc3484ce6181b052974c064af674e69615a24fb500ca6913efc6d5e2922bcdf64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user