Use compactFromU8aLim & u8aConcatStrict (#4859)
* Use compactFromU8aLim & u8aConcatStrict * Bump common
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@
|
||||
"@babel/core": "^7.18.0",
|
||||
"@babel/register": "^7.17.7",
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/dev": "^0.66.28",
|
||||
"@polkadot/dev": "^0.66.29",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^27.5.1",
|
||||
"copyfiles": "^2.4.1"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-augment": "8.5.2-7",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
"@polkadot/util": "^9.2.2-15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "8.5.2-7"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/rpc-core": "8.5.2-7",
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"rxjs": "^7.5.5"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,12 +28,12 @@
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/types-create": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"@polkadot/util-crypto": "^9.2.2-15",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "8.5.2-7",
|
||||
"@polkadot/keyring": "^9.2.1"
|
||||
"@polkadot/keyring": "^9.2.2-15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
"@polkadot/rpc-core": "8.5.2-7",
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"@polkadot/util-crypto": "^9.2.2-15",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"@polkadot/api-augment": "8.5.2-7",
|
||||
"@polkadot/api-base": "8.5.2-7",
|
||||
"@polkadot/api-derive": "8.5.2-7",
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/keyring": "^9.2.2-15",
|
||||
"@polkadot/rpc-augment": "8.5.2-7",
|
||||
"@polkadot/rpc-core": "8.5.2-7",
|
||||
"@polkadot/rpc-provider": "8.5.2-7",
|
||||
@@ -36,8 +36,8 @@
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/types-create": "8.5.2-7",
|
||||
"@polkadot/types-known": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"@polkadot/util-crypto": "^9.2.2-15",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
|
||||
@@ -27,6 +27,6 @@
|
||||
"@polkadot/rpc-core": "8.5.2-7",
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
"@polkadot/util": "^9.2.2-15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
"@polkadot/rpc-augment": "8.5.2-7",
|
||||
"@polkadot/rpc-provider": "8.5.2-7",
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/keyring": "^9.2.2-15",
|
||||
"@polkadot/rpc-augment": "8.5.2-7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/keyring": "^9.2.2-15",
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-support": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"@polkadot/x-fetch": "^9.2.1",
|
||||
"@polkadot/x-global": "^9.2.1",
|
||||
"@polkadot/x-ws": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"@polkadot/util-crypto": "^9.2.2-15",
|
||||
"@polkadot/x-fetch": "^9.2.2-15",
|
||||
"@polkadot/x-global": "^9.2.2-15",
|
||||
"@polkadot/x-ws": "^9.2.2-15",
|
||||
"@substrate/connect": "0.7.5",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"mock-socket": "^9.1.3",
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/types-create": "8.5.2-7",
|
||||
"@polkadot/types-support": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/x-ws": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"@polkadot/x-ws": "^9.2.2-15",
|
||||
"handlebars": "^4.7.7",
|
||||
"websocket": "^1.0.34",
|
||||
"yargs": "^17.5.1"
|
||||
|
||||
@@ -26,6 +26,6 @@
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
"@polkadot/util": "^9.2.2-15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,12 +24,12 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
"@polkadot/util": "^9.2.2-15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-augment": "8.5.2-7",
|
||||
"@polkadot/types-support": "8.5.2-7",
|
||||
"@polkadot/util-crypto": "^9.2.1"
|
||||
"@polkadot/util-crypto": "^9.2.2-15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { AnyJson, Codec, Inspect, IU8a, IVec, Registry } from '../types';
|
||||
|
||||
import { compactToU8a, u8aConcat, u8aToHex } from '@polkadot/util';
|
||||
import { compactToU8a, u8aConcatStrict, u8aToHex } from '@polkadot/util';
|
||||
|
||||
import { compareArray } from '../utils/compareArray';
|
||||
|
||||
@@ -156,8 +156,8 @@ export abstract class AbstractArray<T extends Codec> extends Array<T> implements
|
||||
const encoded = this.toU8aInner();
|
||||
|
||||
return isBare
|
||||
? u8aConcat(...encoded)
|
||||
: u8aConcat(compactToU8a(this.length), ...encoded);
|
||||
? u8aConcatStrict(encoded)
|
||||
: u8aConcatStrict([compactToU8a(this.length), ...encoded]);
|
||||
}
|
||||
|
||||
public toU8aInner (isBare?: boolean): Uint8Array[] {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { AnyJson, Codec, CodecClass, IEnum, Inspect, IU8a, Registry } from '../types';
|
||||
|
||||
import { assert, isCodec, isHex, isNumber, isObject, isString, isU8a, isUndefined, objectProperties, stringCamelCase, stringify, stringPascalCase, u8aConcat, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
import { assert, isCodec, isHex, isNumber, isObject, isString, isU8a, isUndefined, objectProperties, stringCamelCase, stringify, stringPascalCase, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { mapToTypeMap, typesToMap } from '../utils';
|
||||
import { Null } from './Null';
|
||||
@@ -432,9 +432,11 @@ export class Enum implements IEnum {
|
||||
* @param isBare true when the value has none of the type-specific prefixes (internal)
|
||||
*/
|
||||
public toU8a (isBare?: boolean): Uint8Array {
|
||||
return u8aConcat(
|
||||
new Uint8Array(isBare ? [] : [this.index]),
|
||||
this.#raw.toU8a(isBare)
|
||||
);
|
||||
return isBare
|
||||
? this.#raw.toU8a(isBare)
|
||||
: u8aConcatStrict([
|
||||
new Uint8Array([this.index]),
|
||||
this.#raw.toU8a(isBare)
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { AnyTupleValue, Codec, CodecClass, Inspect, ITuple, Registry } from '../types';
|
||||
|
||||
import { isFunction, isHex, isString, isU8a, stringify, u8aConcat, u8aToU8a } from '@polkadot/util';
|
||||
import { isFunction, isHex, isString, isU8a, stringify, u8aConcatStrict, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { AbstractArray } from '../abstract/AbstractArray';
|
||||
import { decodeU8a, mapToTypeMap, typeToConstructor } from '../utils';
|
||||
@@ -147,6 +147,6 @@ export class Tuple extends AbstractArray<Codec> implements ITuple<Codec[]> {
|
||||
* @param isBare true when the value has none of the type-specific prefixes (internal)
|
||||
*/
|
||||
public override toU8a (isBare?: boolean): Uint8Array {
|
||||
return u8aConcat(...this.toU8aInner(isBare));
|
||||
return u8aConcatStrict(this.toU8aInner(isBare));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { Codec, CodecClass, Registry } from '../types';
|
||||
|
||||
import { assert, compactFromU8a, isU8a, logger, u8aToU8a } from '@polkadot/util';
|
||||
import { assert, compactFromU8aLim, isU8a, logger, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { AbstractArray } from '../abstract/AbstractArray';
|
||||
import { decodeU8aVec, typeToConstructor } from '../utils';
|
||||
@@ -28,11 +28,11 @@ function decodeVecLength (value: Uint8Array | HexString | unknown[]): [Uint8Arra
|
||||
}
|
||||
|
||||
const u8a = u8aToU8a(value);
|
||||
const [startAt, length] = compactFromU8a(u8a);
|
||||
const [startAt, length] = compactFromU8aLim(u8a);
|
||||
|
||||
assert(length.lten(MAX_LENGTH), () => `Vec length ${length.toString()} exceeds ${MAX_LENGTH}`);
|
||||
assert(length <= MAX_LENGTH, () => `Vec length ${length.toString()} exceeds ${MAX_LENGTH}`);
|
||||
|
||||
return [u8a, length.toNumber(), startAt];
|
||||
return [u8a, length, startAt];
|
||||
}
|
||||
|
||||
export function decodeVec<T extends Codec> (registry: Registry, result: T[], value: Uint8Array | HexString | unknown[], startAt: number, Type: CodecClass<T>): [number, number] {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { Codec, CodecClass, Inspect, Registry } from '../types';
|
||||
|
||||
import { isU8a, u8aConcat } from '@polkadot/util';
|
||||
import { isU8a, u8aConcatStrict } from '@polkadot/util';
|
||||
|
||||
import { AbstractArray } from '../abstract/AbstractArray';
|
||||
import { decodeU8aVec, typeToConstructor } from '../utils';
|
||||
@@ -90,7 +90,7 @@ export class VecFixed<T extends Codec> extends AbstractArray<T> {
|
||||
const encoded = this.toU8aInner();
|
||||
|
||||
return encoded.length
|
||||
? u8aConcat(...encoded)
|
||||
? u8aConcatStrict(encoded)
|
||||
: new Uint8Array([]);
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { AnyJson, Codec, CodecClass, Inspect, ISet, IU8a, Registry } from '../types';
|
||||
|
||||
import { compactFromU8a, compactToU8a, isHex, isU8a, logger, stringify, u8aConcat, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
import { compactFromU8aLim, compactToU8a, isHex, isU8a, logger, stringify, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { compareSet, decodeU8aVec, sortSet, typeToConstructor } from '../utils';
|
||||
|
||||
@@ -13,8 +13,7 @@ const l = logger('BTreeSet');
|
||||
/** @internal */
|
||||
function decodeSetFromU8a<V extends Codec> (registry: Registry, ValClass: CodecClass<V>, u8a: Uint8Array): [CodecClass<V>, Set<V>, number] {
|
||||
const output = new Set<V>();
|
||||
const [offset, length] = compactFromU8a(u8a);
|
||||
const count = length.toNumber();
|
||||
const [offset, count] = compactFromU8aLim(u8a);
|
||||
const result = new Array<V>(count);
|
||||
const [decodedLength] = decodeU8aVec(registry, result, u8a, offset, ValClass);
|
||||
|
||||
@@ -216,6 +215,6 @@ export class BTreeSet<V extends Codec = Codec> extends Set<V> implements ISet<V>
|
||||
encoded.push(v.toU8a(isBare));
|
||||
}
|
||||
|
||||
return u8aConcat(...encoded);
|
||||
return u8aConcatStrict(encoded);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { AnyU8a, Inspect, Registry } from '../types';
|
||||
|
||||
import { assert, compactFromU8a, compactToU8a, isString, u8aConcat, u8aToU8a } from '@polkadot/util';
|
||||
import { assert, compactFromU8aLim, compactToU8a, isString, u8aConcatStrict, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { Raw } from '../native/Raw';
|
||||
|
||||
@@ -14,12 +14,12 @@ function decodeBitVecU8a (value?: Uint8Array): [number, Uint8Array] {
|
||||
}
|
||||
|
||||
// handle all other Uint8Array inputs, these do have a length prefix which is the number of bits encoded
|
||||
const [offset, length] = compactFromU8a(value);
|
||||
const total = offset + Math.ceil(length.toNumber() / 8);
|
||||
const [offset, length] = compactFromU8aLim(value);
|
||||
const total = offset + Math.ceil(length / 8);
|
||||
|
||||
assert(total <= value.length, () => `BitVec: required length less than remainder, expected at least ${total}, found ${value.length}`);
|
||||
|
||||
return [length.toNumber(), value.subarray(offset, total)];
|
||||
return [length, value.subarray(offset, total)];
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
@@ -96,6 +96,6 @@ export class BitVec extends Raw {
|
||||
|
||||
return isBare
|
||||
? bitVec
|
||||
: u8aConcat(compactToU8a(this.#decodedLength), bitVec);
|
||||
: u8aConcatStrict([compactToU8a(this.#decodedLength), bitVec]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { AnyU8a, Inspect, Registry } from '../types';
|
||||
|
||||
import { assert, compactAddLength, compactFromU8a, compactToU8a, isCodec, isString, isU8a, u8aToU8a } from '@polkadot/util';
|
||||
import { assert, compactAddLength, compactFromU8aLim, compactToU8a, isCodec, isString, isU8a, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { Raw } from '../native/Raw';
|
||||
|
||||
@@ -17,10 +17,10 @@ function decodeBytesU8a (value: Uint8Array): [Uint8Array, number] {
|
||||
}
|
||||
|
||||
// handle all other Uint8Array inputs, these do have a length prefix
|
||||
const [offset, length] = compactFromU8a(value);
|
||||
const total = offset + length.toNumber();
|
||||
const [offset, length] = compactFromU8aLim(value);
|
||||
const total = offset + length;
|
||||
|
||||
assert(length.lten(MAX_LENGTH), () => `Bytes length ${length.toString()} exceeds ${MAX_LENGTH}`);
|
||||
assert(length <= MAX_LENGTH, () => `Bytes length ${length.toString()} exceeds ${MAX_LENGTH}`);
|
||||
assert(total <= value.length, () => `Bytes: required length less than remainder, expected at least ${total}, found ${value.length}`);
|
||||
|
||||
return [value.subarray(offset, total), total];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { AnyJson, Codec, CodecClass, IMap, Inspect, IU8a, Registry } from '../types';
|
||||
|
||||
import { compactFromU8a, compactToU8a, isHex, isObject, isU8a, logger, stringify, u8aConcat, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
import { compactFromU8aLim, compactToU8a, isHex, isObject, isU8a, logger, stringify, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { AbstractArray } from '../abstract/AbstractArray';
|
||||
import { Enum } from '../base/Enum';
|
||||
@@ -16,8 +16,7 @@ const l = logger('Map');
|
||||
/** @internal */
|
||||
function decodeMapFromU8a<K extends Codec, V extends Codec> (registry: Registry, KeyClass: CodecClass<K>, ValClass: CodecClass<V>, u8a: Uint8Array): [CodecClass<K>, CodecClass<V>, Map<K, V>, number] {
|
||||
const output = new Map<K, V>();
|
||||
const [offset, length] = compactFromU8a(u8a);
|
||||
const count = length.toNumber();
|
||||
const [offset, count] = compactFromU8aLim(u8a);
|
||||
const types = [];
|
||||
|
||||
for (let i = 0; i < count; i++) {
|
||||
@@ -231,6 +230,6 @@ export class CodecMap<K extends Codec = Codec, V extends Codec = Codec> extends
|
||||
encoded.push(k.toU8a(isBare), v.toU8a(isBare));
|
||||
}
|
||||
|
||||
return u8aConcat(...encoded);
|
||||
return u8aConcatStrict(encoded);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { AnyJson, BareOpts, Codec, CodecClass, Inspect, IStruct, IU8a, Registry } from '../types';
|
||||
|
||||
import { assert, isBoolean, isFunction, isHex, isObject, isU8a, isUndefined, objectProperties, stringCamelCase, stringify, u8aConcat, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
import { assert, isBoolean, isFunction, isHex, isObject, isU8a, isUndefined, objectProperties, stringCamelCase, stringify, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { compareMap, decodeU8a, mapToTypeMap, typesToMap } from '../utils';
|
||||
|
||||
@@ -321,6 +321,6 @@ export class Struct<
|
||||
}
|
||||
}
|
||||
|
||||
return u8aConcat(...encoded);
|
||||
return u8aConcatStrict(encoded);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { AnyString, AnyU8a, Inspect, IText, IU8a, Registry } from '../types';
|
||||
|
||||
import { assert, compactAddLength, compactFromU8a, compactToU8a, hexToU8a, isHex, isString, isU8a, stringToU8a, u8aToHex, u8aToString } from '@polkadot/util';
|
||||
import { assert, compactAddLength, compactFromU8aLim, compactToU8a, hexToU8a, isHex, isString, isU8a, stringToU8a, u8aToHex, u8aToString } from '@polkadot/util';
|
||||
|
||||
import { Raw } from './Raw';
|
||||
|
||||
@@ -23,10 +23,10 @@ function decodeText (value?: null | AnyString | AnyU8a | { toString: () => strin
|
||||
return [u8aToString(value), 0];
|
||||
}
|
||||
|
||||
const [offset, length] = compactFromU8a(value);
|
||||
const total = offset + length.toNumber();
|
||||
const [offset, length] = compactFromU8aLim(value);
|
||||
const total = offset + length;
|
||||
|
||||
assert(length.lten(MAX_LENGTH), () => `Text: length ${length.toString()} exceeds ${MAX_LENGTH}`);
|
||||
assert(length <= MAX_LENGTH, () => `Text: length ${length.toString()} exceeds ${MAX_LENGTH}`);
|
||||
assert(total <= value.length, () => `Text: required length less than remainder, expected at least ${total}, found ${value.length}`);
|
||||
|
||||
return [u8aToString(value.subarray(offset, total)), total];
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
"@polkadot/util": "^9.2.2-15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "8.5.2-7"
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/networks": "^9.2.1",
|
||||
"@polkadot/networks": "^9.2.2-15",
|
||||
"@polkadot/types": "8.5.2-7",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/types-create": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
"@polkadot/util": "^9.2.2-15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
"@polkadot/util": "^9.2.2-15"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,16 +24,16 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.0",
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/keyring": "^9.2.2-15",
|
||||
"@polkadot/types-augment": "8.5.2-7",
|
||||
"@polkadot/types-codec": "8.5.2-7",
|
||||
"@polkadot/types-create": "8.5.2-7",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"@polkadot/util": "^9.2.2-15",
|
||||
"@polkadot/util-crypto": "^9.2.2-15",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/keyring": "^9.2.2-15",
|
||||
"@polkadot/types-support": "8.5.2-7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -368,7 +368,7 @@ export class PortableRegistry extends Struct implements ILookup {
|
||||
#types: Record<number, PortableType>;
|
||||
|
||||
constructor (registry: Registry, value?: Uint8Array, isContract?: boolean) {
|
||||
// console.time('PortableRegistry')
|
||||
console.time('PortableRegistry');
|
||||
|
||||
super(registry, {
|
||||
types: 'Vec<PortableType>'
|
||||
@@ -382,7 +382,7 @@ export class PortableRegistry extends Struct implements ILookup {
|
||||
this.#params = params;
|
||||
this.#types = types;
|
||||
|
||||
// console.timeEnd('PortableRegistry')
|
||||
console.timeEnd('PortableRegistry');
|
||||
}
|
||||
|
||||
public get names (): string[] {
|
||||
|
||||
@@ -1963,7 +1963,7 @@ __metadata:
|
||||
"@polkadot/types-augment": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/types-support": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -1974,7 +1974,7 @@ __metadata:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/rpc-core": 8.5.2-7
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -1986,12 +1986,12 @@ __metadata:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/api": 8.5.2-7
|
||||
"@polkadot/api-augment": 8.5.2-7
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/keyring": ^9.2.2-15
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/types-create": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
"@polkadot/util-crypto": ^9.2.2-15
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -2010,8 +2010,8 @@ __metadata:
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/types-support": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
"@polkadot/util-crypto": ^9.2.2-15
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -2024,7 +2024,7 @@ __metadata:
|
||||
"@polkadot/api-augment": 8.5.2-7
|
||||
"@polkadot/api-base": 8.5.2-7
|
||||
"@polkadot/api-derive": 8.5.2-7
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/keyring": ^9.2.2-15
|
||||
"@polkadot/rpc-augment": 8.5.2-7
|
||||
"@polkadot/rpc-core": 8.5.2-7
|
||||
"@polkadot/rpc-provider": 8.5.2-7
|
||||
@@ -2034,16 +2034,16 @@ __metadata:
|
||||
"@polkadot/types-create": 8.5.2-7
|
||||
"@polkadot/types-known": 8.5.2-7
|
||||
"@polkadot/types-support": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
"@polkadot/util-crypto": ^9.2.2-15
|
||||
eventemitter3: ^4.0.7
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/dev@npm:^0.66.28":
|
||||
version: 0.66.28
|
||||
resolution: "@polkadot/dev@npm:0.66.28"
|
||||
"@polkadot/dev@npm:^0.66.29":
|
||||
version: 0.66.29
|
||||
resolution: "@polkadot/dev@npm:0.66.29"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.17.10
|
||||
"@babel/core": ^7.18.0
|
||||
@@ -2067,8 +2067,8 @@ __metadata:
|
||||
"@rollup/plugin-json": ^4.1.0
|
||||
"@rollup/plugin-node-resolve": ^13.3.0
|
||||
"@rushstack/eslint-patch": ^1.1.3
|
||||
"@typescript-eslint/eslint-plugin": 5.25.0
|
||||
"@typescript-eslint/parser": 5.25.0
|
||||
"@typescript-eslint/eslint-plugin": 5.26.0
|
||||
"@typescript-eslint/parser": 5.26.0
|
||||
"@vue/component-compiler-utils": ^3.3.0
|
||||
babel-jest: ^28.1.0
|
||||
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
|
||||
@@ -2130,32 +2130,32 @@ __metadata:
|
||||
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
|
||||
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
|
||||
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
|
||||
checksum: 9b4b480b42edddb62209f89442bad78c090c3f60e4ad7d874089ec7b0d2f03ed01bee2c53bff327b0fb62e8a5f532ec0ee1ef39f03f7cfcd98c246a465552cc6
|
||||
checksum: 3386018368d71772b0277bec5504f767faf0c81668cb7bf6c4dd490004691cc6f60b546529cdf5c1a76351c7713d6897eea3cf908dd3267766f4c93cad02d8b8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/keyring@npm:^9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/keyring@npm:9.2.1"
|
||||
"@polkadot/keyring@npm:^9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/keyring@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/util": 9.2.1
|
||||
"@polkadot/util-crypto": 9.2.1
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/util": 9.2.2-15
|
||||
"@polkadot/util-crypto": 9.2.2-15
|
||||
peerDependencies:
|
||||
"@polkadot/util": 9.2.1
|
||||
"@polkadot/util-crypto": 9.2.1
|
||||
checksum: edc930cbdc001b82ab4f604f0f7cb79bec038f8d628f5168f5dbbc1f3ad7b727d103a6db7a4092ee1de54eb6957f5b0a342de0a8e00054675262b4119b2c0e29
|
||||
"@polkadot/util": 9.2.2-15
|
||||
"@polkadot/util-crypto": 9.2.2-15
|
||||
checksum: b259040993e1507ba83828000fcd1e2e84951f27fae010aaba53776d053aa6459a6d7cdc71eae25c3eaa038105acfd5c4d71e4166823559a88bc06b14396921a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/networks@npm:9.2.1, @polkadot/networks@npm:^9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/networks@npm:9.2.1"
|
||||
"@polkadot/networks@npm:9.2.2-15, @polkadot/networks@npm:^9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/networks@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/util": 9.2.1
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/util": 9.2.2-15
|
||||
"@substrate/ss58-registry": ^1.18.0
|
||||
checksum: 606d4deaa11cbffc755a7e53b911b72a0457312d0dec0c984364e68a1986fc614a4c02d8bf27ef5bb25077325e963f024d156dc47ef3068d82783b28ce0dc7b8
|
||||
checksum: 52dfe502c66765d12606485cdc80e3ece51f764544bf9377d52266bbd45a7a865409be67ce06e418caf02ffbffcb9b8bedf0847feea35a785dc629ebede0f81b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2167,7 +2167,7 @@ __metadata:
|
||||
"@polkadot/rpc-core": 8.5.2-7
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -2176,11 +2176,11 @@ __metadata:
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/keyring": ^9.2.2-15
|
||||
"@polkadot/rpc-augment": 8.5.2-7
|
||||
"@polkadot/rpc-provider": 8.5.2-7
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -2190,14 +2190,14 @@ __metadata:
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/keyring": ^9.2.2-15
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-support": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
"@polkadot/x-fetch": ^9.2.1
|
||||
"@polkadot/x-global": ^9.2.1
|
||||
"@polkadot/x-ws": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
"@polkadot/util-crypto": ^9.2.2-15
|
||||
"@polkadot/x-fetch": ^9.2.2-15
|
||||
"@polkadot/x-global": ^9.2.2-15
|
||||
"@polkadot/x-ws": ^9.2.2-15
|
||||
"@substrate/connect": 0.7.5
|
||||
eventemitter3: ^4.0.7
|
||||
mock-socket: ^9.1.3
|
||||
@@ -2221,8 +2221,8 @@ __metadata:
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/types-create": 8.5.2-7
|
||||
"@polkadot/types-support": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/x-ws": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
"@polkadot/x-ws": ^9.2.2-15
|
||||
"@types/websocket": ^1.0.5
|
||||
"@types/yargs": ^17.0.10
|
||||
handlebars: ^4.7.7
|
||||
@@ -2244,7 +2244,7 @@ __metadata:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -2256,8 +2256,8 @@ __metadata:
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-augment": 8.5.2-7
|
||||
"@polkadot/types-support": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
"@polkadot/util-crypto": ^9.2.2-15
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -2268,7 +2268,7 @@ __metadata:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -2277,11 +2277,11 @@ __metadata:
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/networks": ^9.2.1
|
||||
"@polkadot/networks": ^9.2.2-15
|
||||
"@polkadot/types": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/types-create": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -2290,7 +2290,7 @@ __metadata:
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -2299,51 +2299,51 @@ __metadata:
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/keyring": ^9.2.2-15
|
||||
"@polkadot/types-augment": 8.5.2-7
|
||||
"@polkadot/types-codec": 8.5.2-7
|
||||
"@polkadot/types-create": 8.5.2-7
|
||||
"@polkadot/types-support": 8.5.2-7
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
"@polkadot/util": ^9.2.2-15
|
||||
"@polkadot/util-crypto": ^9.2.2-15
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util-crypto@npm:9.2.1, @polkadot/util-crypto@npm:^9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/util-crypto@npm:9.2.1"
|
||||
"@polkadot/util-crypto@npm:9.2.2-15, @polkadot/util-crypto@npm:^9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/util-crypto@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@noble/hashes": 1.0.0
|
||||
"@noble/secp256k1": 1.5.5
|
||||
"@polkadot/networks": 9.2.1
|
||||
"@polkadot/util": 9.2.1
|
||||
"@polkadot/networks": 9.2.2-15
|
||||
"@polkadot/util": 9.2.2-15
|
||||
"@polkadot/wasm-crypto": ^6.1.1
|
||||
"@polkadot/x-bigint": 9.2.1
|
||||
"@polkadot/x-randomvalues": 9.2.1
|
||||
"@polkadot/x-bigint": 9.2.2-15
|
||||
"@polkadot/x-randomvalues": 9.2.2-15
|
||||
"@scure/base": 1.0.0
|
||||
ed2curve: ^0.3.0
|
||||
tweetnacl: ^1.0.3
|
||||
peerDependencies:
|
||||
"@polkadot/util": 9.2.1
|
||||
checksum: 606fadb8246c53823160bb83ccc6941d84b598f0ab14be8fe4764179cd725df5eb4eb8616ddcbb06a03ba7013d0c40758980547e2154d454a8f4069084ad1d7c
|
||||
"@polkadot/util": 9.2.2-15
|
||||
checksum: a4d5a3921c7d3739408669e9022def1d9d5081f208f360e96f88cee7acc6799f5e5c1f3362f81b159704dfcba830b28ad4c85e3a5d38b51f2d80a6a67a6ab51f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/util@npm:9.2.1, @polkadot/util@npm:^9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/util@npm:9.2.1"
|
||||
"@polkadot/util@npm:9.2.2-15, @polkadot/util@npm:^9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/util@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/x-bigint": 9.2.1
|
||||
"@polkadot/x-global": 9.2.1
|
||||
"@polkadot/x-textdecoder": 9.2.1
|
||||
"@polkadot/x-textencoder": 9.2.1
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/x-bigint": 9.2.2-15
|
||||
"@polkadot/x-global": 9.2.2-15
|
||||
"@polkadot/x-textdecoder": 9.2.2-15
|
||||
"@polkadot/x-textencoder": 9.2.2-15
|
||||
"@types/bn.js": ^5.1.0
|
||||
bn.js: ^5.2.0
|
||||
ip-regex: ^4.3.0
|
||||
checksum: 1a1f50e74ae5cd39e2e9e6a7c926370688653cb092cdc2ac1e573e1e09113f792d64af02c85d4bc056c1dcf955b3de9f0db0dcb2115c97e7511b4e2bef9daddd
|
||||
checksum: 2a91b75c3e812c04b073e72dd8169f528d5e8004780bbf67427971f03d9a2b8439b7d1a655f9338d6a7090da66e9e195b31ab3d48088460c16408365424816af
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2423,76 +2423,76 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-bigint@npm:9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/x-bigint@npm:9.2.1"
|
||||
"@polkadot/x-bigint@npm:9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/x-bigint@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/x-global": 9.2.1
|
||||
checksum: a508c2c694a3869c90447095868c17af6eab2e0d592b0c7018e18d8812b324a6fb68f0a3d922423e389b71e0192c15488c6a215a7af5dca1c3b1814a1bbf8126
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/x-global": 9.2.2-15
|
||||
checksum: 5c8e80f6b00be2d9999d2049a0a1abecb59af514c0cbaca9df2b33595034801e61ecb5f0c1fbf516e4611008188e6a3073bb2f78b153d5633c94d9a9300f7ae8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-fetch@npm:^9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/x-fetch@npm:9.2.1"
|
||||
"@polkadot/x-fetch@npm:^9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/x-fetch@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/x-global": 9.2.1
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/x-global": 9.2.2-15
|
||||
"@types/node-fetch": ^2.6.1
|
||||
node-fetch: ^2.6.7
|
||||
checksum: 553913ba543d909bf3ebb6d4277d7117c3a1735defe19b23e680a8aa3ffe7809cd46033019d02e16a1b6550a893d929322bd0992c6b24b60089a7ff5082447a9
|
||||
checksum: 38e9c12746c696a52b72dc4bd3f424d87864577bd08b41ea3d99526269ac185c20d34ebec1bd7074635b4e550e3cdc8f54794220f54082d0d1d63070d15871f1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-global@npm:9.2.1, @polkadot/x-global@npm:^9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/x-global@npm:9.2.1"
|
||||
"@polkadot/x-global@npm:9.2.2-15, @polkadot/x-global@npm:^9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/x-global@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
checksum: 54c4cce0557276e2664ae4829be9ca346eccd069543d7a84c000974458c146f8eda9af8bc3849ada65e26f7fd70f49b23026d551f239056af6235ac13e2679b4
|
||||
"@babel/runtime": ^7.18.0
|
||||
checksum: e3d0e936d455d294e1ca0787fe3e590b554386dc3b470e31317ce50effa57c9d85ab5d0859abce68a0b5f6bc7c110c1dabf1be70482cb5ac2ee8b34f1a9cbc54
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-randomvalues@npm:9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/x-randomvalues@npm:9.2.1"
|
||||
"@polkadot/x-randomvalues@npm:9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/x-randomvalues@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/x-global": 9.2.1
|
||||
checksum: 91a633c4db068d420a6d6dd5f352042a68c589769705ad931e2c3919896cb55d4b15868f2601b1e8d6932a6c5d0c1958a46321659c6ccc9e9dc9ef7f1a48aae0
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/x-global": 9.2.2-15
|
||||
checksum: b86c9a11aa9395e5cfedc02f1d3ee957d64abb42512bfa60d72beec47a52564251c4f19118d8c5ef1de1030d9d2fe92722d5b9c54880ae656199effea3fa753a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textdecoder@npm:9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/x-textdecoder@npm:9.2.1"
|
||||
"@polkadot/x-textdecoder@npm:9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/x-textdecoder@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/x-global": 9.2.1
|
||||
checksum: 8ae0748595f2311eaad53ac803a3deff7ccac61cd54118a7727958b2022b483451d5221c8d380ff260f01d732b2deab27e0100143d156cbd84addf1c1f4591a9
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/x-global": 9.2.2-15
|
||||
checksum: b40f6c693247a1d2e2071da53860b20394cbb89ef27fbe1545634087ec79a4e7f0b60c14ecb868cda21888c9ccaa303e25a18daad6caf91ed2069d4c6a304679
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textencoder@npm:9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/x-textencoder@npm:9.2.1"
|
||||
"@polkadot/x-textencoder@npm:9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/x-textencoder@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/x-global": 9.2.1
|
||||
checksum: 9f2690a4b4cb9c02a9626b24580556349d85650e54e04ed4a4a7fa75afa7a89a209e649851f2fffb38c31c3e62515fd17a190ebb84ae6872dd2a4b6f0d2ce279
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/x-global": 9.2.2-15
|
||||
checksum: dfc56de2e636831d5a00240d629782c1cb726150339266cd9544d21a6255a545b8f4e064e968912dbf2264911c432a21a5bac7e31e252cde579cc8e2f520c286
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-ws@npm:^9.2.1":
|
||||
version: 9.2.1
|
||||
resolution: "@polkadot/x-ws@npm:9.2.1"
|
||||
"@polkadot/x-ws@npm:^9.2.2-15":
|
||||
version: 9.2.2-15
|
||||
resolution: "@polkadot/x-ws@npm:9.2.2-15"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/x-global": 9.2.1
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/x-global": 9.2.2-15
|
||||
"@types/websocket": ^1.0.5
|
||||
websocket: ^1.0.34
|
||||
checksum: 493e003088b29eb36797c60b68515cfa8edb54920271fd7de96d85db5c28e1d936f5316f9d2fbf1beb87d2d01b30b4497a880192146583b97d9066c0547fee22
|
||||
checksum: 1f47be24e00b23d534ccb30197f9755aa021e076ff71b5385ea1b9e6ccbbbe69dfbb307838b7b94b1db726eccaad29abd0c5596dab6c809b8f567b758f4be133
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2905,13 +2905,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/eslint-plugin@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:5.25.0"
|
||||
"@typescript-eslint/eslint-plugin@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:5.26.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/scope-manager": 5.25.0
|
||||
"@typescript-eslint/type-utils": 5.25.0
|
||||
"@typescript-eslint/utils": 5.25.0
|
||||
"@typescript-eslint/scope-manager": 5.26.0
|
||||
"@typescript-eslint/type-utils": 5.26.0
|
||||
"@typescript-eslint/utils": 5.26.0
|
||||
debug: ^4.3.4
|
||||
functional-red-black-tree: ^1.0.1
|
||||
ignore: ^5.2.0
|
||||
@@ -2924,42 +2924,42 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 7a47dc9b95031ab9e8d94a062b95c124486d471fa385335ef0129eff0854043b1894233fe28a2832cbf1c2be235242cf1eba087f4da1f4262599f18147ee1edd
|
||||
checksum: ea75e57dfb6f95f39d7a4a90f25d5618548ca6026e8836c0962c141908f3bfb6d4a744d7597934572fa25e88c97efb8b9cd25e85785474256d5ebe58f9c1df30
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/parser@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/parser@npm:5.25.0"
|
||||
"@typescript-eslint/parser@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/parser@npm:5.26.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/scope-manager": 5.25.0
|
||||
"@typescript-eslint/types": 5.25.0
|
||||
"@typescript-eslint/typescript-estree": 5.25.0
|
||||
"@typescript-eslint/scope-manager": 5.26.0
|
||||
"@typescript-eslint/types": 5.26.0
|
||||
"@typescript-eslint/typescript-estree": 5.26.0
|
||||
debug: ^4.3.4
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 9bd53d6f5f5e7b64282760a4f68411f6f6e272754aa8b4c54951bd03c18981183277dfefff1207c3d549d25d34dbe162472f7fa102ec5306113a7811f263fc00
|
||||
checksum: 3c13a989d1c5aa3d9050203ca53fa28642fe49b9f09b668b7c424f13bfc8352e0a57d2ae16c55cd9b4f9fb98d730a440b0270a94c827938579df8097f90bdfac
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/scope-manager@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/scope-manager@npm:5.25.0"
|
||||
"@typescript-eslint/scope-manager@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/scope-manager@npm:5.26.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.25.0
|
||||
"@typescript-eslint/visitor-keys": 5.25.0
|
||||
checksum: 0616bad66bd3fe885df3401bbc3ab6631dca3b70ca3d2e8a9881d9a27654e3df9fd219abc9b7e1c23668c113d54bbb049c6231af3a2d86abcd919329b1cb4ff4
|
||||
"@typescript-eslint/types": 5.26.0
|
||||
"@typescript-eslint/visitor-keys": 5.26.0
|
||||
checksum: 56db69b8dc3502261c403c1217f32fb7e8244c1f192c3b486733ad8cd3e7672b365d2c6da7ec8ff40113c4da507c04f4e00b6104ca68579c19525cac828a631b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/type-utils@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/type-utils@npm:5.25.0"
|
||||
"@typescript-eslint/type-utils@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/type-utils@npm:5.26.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/utils": 5.25.0
|
||||
"@typescript-eslint/utils": 5.26.0
|
||||
debug: ^4.3.4
|
||||
tsutils: ^3.21.0
|
||||
peerDependencies:
|
||||
@@ -2967,7 +2967,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: f733b42437e7a023985ad9324e57171c8b358f54a0c5a3be3b7bc7f317f1eeee4a60d14a1873efd820a3f9011c395f5e3a75eac4eaac520948aeba4d3e4e4953
|
||||
checksum: cafd9fba76df8b184adcb5e6f66e3f0c3b8c6e98debe585abde9d3c4372feee0bc156ed5eed89cd0747938e45c8a4d3d65c43dd561b47e8e12a0207c85e2dc6f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2978,19 +2978,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/types@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/types@npm:5.25.0"
|
||||
checksum: 0fa7eba1e35bbc32d865ce38cc5800aedf2b1d8aa17e8a20ff1cf05b59a92a684c0727f7ac2a26ecdf17483957bea163fe03fc1556503f23e0d974a8d9c33b82
|
||||
"@typescript-eslint/types@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/types@npm:5.26.0"
|
||||
checksum: 98798616d832da8e5ef61f050e4e72ed921a162cb4ce2b2dfe0a317c66998157e832f449aeab21a1fdfd806e7134091bc1a9446b1089f4687786b646ad8738e7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:5.25.0"
|
||||
"@typescript-eslint/typescript-estree@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:5.26.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.25.0
|
||||
"@typescript-eslint/visitor-keys": 5.25.0
|
||||
"@typescript-eslint/types": 5.26.0
|
||||
"@typescript-eslint/visitor-keys": 5.26.0
|
||||
debug: ^4.3.4
|
||||
globby: ^11.1.0
|
||||
is-glob: ^4.0.3
|
||||
@@ -2999,7 +2999,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 72638b1a9826a3062f629e23d3c9147646dc2740add1aa8bb2e63131215eed3309bc86647f7e52acecf3c169e94677d869690a050de37b7cd880ea89c63bde2a
|
||||
checksum: 2cf147629474952725593da64827a7e4e39f79614019529d0d6e5b89236c55f3607c6b4a24f160dbc5978f4cfd60f96fcb573a770c2877f8e29d7552b40e2135
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3021,19 +3021,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/utils@npm:5.25.0"
|
||||
"@typescript-eslint/utils@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/utils@npm:5.26.0"
|
||||
dependencies:
|
||||
"@types/json-schema": ^7.0.9
|
||||
"@typescript-eslint/scope-manager": 5.25.0
|
||||
"@typescript-eslint/types": 5.25.0
|
||||
"@typescript-eslint/typescript-estree": 5.25.0
|
||||
"@typescript-eslint/scope-manager": 5.26.0
|
||||
"@typescript-eslint/types": 5.26.0
|
||||
"@typescript-eslint/typescript-estree": 5.26.0
|
||||
eslint-scope: ^5.1.1
|
||||
eslint-utils: ^3.0.0
|
||||
peerDependencies:
|
||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||
checksum: 744ab15cf003882db2f63b4cef1b788d5f3ab0f4b2f2fb0c1eee942cf899df9c66a34e2f6f614f1c562257041119ec03c12446f4ae72147b5f7cc0a2e5276ea6
|
||||
checksum: c16828ba6bfbe3b0b6e9dadeece1cfd2345141bcd13824f99fe210c76e5ddb11f6f79e61705cafa421c549657da12d1700a1316d24c2eeaee6179b08f512b5fb
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3047,13 +3047,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/visitor-keys@npm:5.25.0":
|
||||
version: 5.25.0
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:5.25.0"
|
||||
"@typescript-eslint/visitor-keys@npm:5.26.0":
|
||||
version: 5.26.0
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:5.26.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": 5.25.0
|
||||
"@typescript-eslint/types": 5.26.0
|
||||
eslint-visitor-keys: ^3.3.0
|
||||
checksum: ec4d0558cf53305703c18dfd7e1cd53fc0736303a51d93a875227896a230fd049951cc0600c539719cc351d2c96cb4abc6aa9dd9b3a8401f27bb8033093f35b7
|
||||
checksum: 4a5085d19e677f3b44ca4455bba85fd1a3be4d7d2e96bb22738a7497f6f4d16bfdee51059454a78b1e108d8e1593b1a31be40764a66448945118277cff5eff02
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9260,7 +9260,7 @@ resolve@^2.0.0-next.3:
|
||||
"@babel/core": ^7.18.0
|
||||
"@babel/register": ^7.17.7
|
||||
"@babel/runtime": ^7.18.0
|
||||
"@polkadot/dev": ^0.66.28
|
||||
"@polkadot/dev": ^0.66.29
|
||||
"@polkadot/typegen": "workspace:packages/typegen"
|
||||
"@types/jest": ^27.5.1
|
||||
copyfiles: ^2.4.1
|
||||
|
||||
Reference in New Issue
Block a user