Bump common (#5095)

This commit is contained in:
Jaco
2022-07-21 08:54:49 +03:00
committed by GitHub
parent b8d4b034ab
commit fcb317d65b
18 changed files with 386 additions and 344 deletions
+1
View File
@@ -12,6 +12,7 @@ Changes:
- Add `toPrimitive()` to all base `Codec` interfaces (string/boolean/number)
- Adjust metadata conversion with `objectSpread` (where missing)
- Support for `TransactionPaymentCallApi` runtime interface
- Update to `@polkadot/util` 10.1.1
## 8.13.1 Jul 16, 2022
+1 -1
View File
@@ -29,7 +29,7 @@
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-augment": "8.13.2-8-x",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/util": "^10.0.2"
"@polkadot/util": "^10.1.1"
},
"devDependencies": {
"@polkadot/types-support": "8.13.2-8-x"
+1 -1
View File
@@ -26,7 +26,7 @@
"@babel/runtime": "^7.18.9",
"@polkadot/rpc-core": "8.13.2-8-x",
"@polkadot/types": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util": "^10.1.1",
"rxjs": "^7.5.6"
}
}
+3 -3
View File
@@ -28,12 +28,12 @@
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/types-create": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util-crypto": "^10.0.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/api-augment": "8.13.2-8-x",
"@polkadot/keyring": "^10.0.2"
"@polkadot/keyring": "^10.1.1"
}
}
+2 -2
View File
@@ -30,8 +30,8 @@
"@polkadot/rpc-core": "8.13.2-8-x",
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util-crypto": "^10.0.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"rxjs": "^7.5.6"
},
"devDependencies": {
+3 -3
View File
@@ -27,7 +27,7 @@
"@polkadot/api-augment": "8.13.2-8-x",
"@polkadot/api-base": "8.13.2-8-x",
"@polkadot/api-derive": "8.13.2-8-x",
"@polkadot/keyring": "^10.0.2",
"@polkadot/keyring": "^10.1.1",
"@polkadot/rpc-augment": "8.13.2-8-x",
"@polkadot/rpc-core": "8.13.2-8-x",
"@polkadot/rpc-provider": "8.13.2-8-x",
@@ -36,8 +36,8 @@
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/types-create": "8.13.2-8-x",
"@polkadot/types-known": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util-crypto": "^10.0.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"eventemitter3": "^4.0.7",
"rxjs": "^7.5.6"
},
+1 -1
View File
@@ -27,6 +27,6 @@
"@polkadot/rpc-core": "8.13.2-8-x",
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/util": "^10.0.2"
"@polkadot/util": "^10.1.1"
}
}
+2 -2
View File
@@ -27,11 +27,11 @@
"@polkadot/rpc-augment": "8.13.2-8-x",
"@polkadot/rpc-provider": "8.13.2-8-x",
"@polkadot/types": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util": "^10.1.1",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/keyring": "^10.0.2",
"@polkadot/keyring": "^10.1.1",
"@polkadot/rpc-augment": "8.13.2-8-x"
}
}
+6 -6
View File
@@ -24,14 +24,14 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/keyring": "^10.0.2",
"@polkadot/keyring": "^10.1.1",
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-support": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util-crypto": "^10.0.2",
"@polkadot/x-fetch": "^10.0.2",
"@polkadot/x-global": "^10.0.2",
"@polkadot/x-ws": "^10.0.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"@polkadot/x-fetch": "^10.1.1",
"@polkadot/x-global": "^10.1.1",
"@polkadot/x-ws": "^10.1.1",
"@substrate/connect": "0.7.9",
"eventemitter3": "^4.0.7",
"mock-socket": "^9.1.5",
+3 -3
View File
@@ -42,9 +42,9 @@
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/types-create": "8.13.2-8-x",
"@polkadot/types-support": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util-crypto": "^10.0.2",
"@polkadot/x-ws": "^10.0.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"@polkadot/x-ws": "^10.1.1",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
"yargs": "^17.5.1"
+1 -1
View File
@@ -26,6 +26,6 @@
"@babel/runtime": "^7.18.9",
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/util": "^10.0.2"
"@polkadot/util": "^10.1.1"
}
}
+3 -3
View File
@@ -24,13 +24,13 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/util": "^10.0.2",
"@polkadot/x-bigint": "^10.0.2"
"@polkadot/util": "^10.1.1",
"@polkadot/x-bigint": "^10.1.1"
},
"devDependencies": {
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-augment": "8.13.2-8-x",
"@polkadot/types-support": "8.13.2-8-x",
"@polkadot/util-crypto": "^10.0.2"
"@polkadot/util-crypto": "^10.1.1"
}
}
+187 -146
View File
@@ -33,6 +33,116 @@ describe('Struct', (): void => {
testDecode('hex', '0x1c62617a7a696e6745000000');
testDecode('object', { foo: 'bazzing', bar: 69 });
testDecode('Uint8Array', Uint8Array.from([28, 98, 97, 122, 122, 105, 110, 103, 69, 0, 0, 0]));
it('decodes null/undefined/empty correctly (& equivalent)', (): void => {
const Clazz = Struct.with({
txt: Text,
u32: U32
});
const expected = { txt: '', u32: '0' };
expect(new Clazz(registry, {}).toHuman()).toEqual(expected);
expect(new Clazz(registry, null).toHuman()).toEqual(expected);
expect(new Clazz(registry, undefined).toHuman()).toEqual(expected);
});
it('decodes with Optionals', (): void => {
const Clazz = Struct.with({
a: 'Option<Bool>',
b: 'Option<Bool>'
});
const c = new Clazz(registry, { a: false }) as unknown as { a: Option<Bool>, b: Option<Bool> };
expect(c.a.isSome).toEqual(true);
expect(c.a.unwrap().isTrue).toEqual(false);
expect(c.b.isSome).toEqual(false);
});
it('decodes reusing instantiated inputs', (): void => {
const foo = new Text(registry, 'bar');
expect(
(new Struct(
registry,
{ foo: Text },
{ foo }
)).get('foo')
).toBe(foo);
});
it('decodes a more complicated type', (): void => {
const s = new Struct(registry, {
foo: Vec.with(Struct.with({
bar: Text
}))
}, { foo: [{ bar: 1 }, { bar: 2 }] });
expect(s.toString()).toBe('{"foo":[{"bar":"1"},{"bar":"2"}]}');
});
it('decodes a previously problematic input', (): void => {
let data;
try {
data = new Struct(registry, {
a: 'u32',
b: 'H256',
c: 'H256',
swap: Enum.with({
A: 'u256',
B: 'u256'
}),
d: Vec.with('u8'),
e: 'u8'
}, TEST_A);
} catch (error) {
console.error(error);
throw error;
}
expect(data.get('d')).toHaveLength(50000);
});
it('decodes from a Map input', (): void => {
const s = new Struct(registry, {
txt: Text,
foo: U32,
bar: U32
}, new Map<string, unknown>([['a', 42], ['txt', 'fubar']]));
expect(s.toString()).toEqual('{"txt":"fubar","foo":0,"bar":0}');
});
it('decodes from a snake_case input', (): void => {
const input = new Struct(registry, {
snakeCaseA: U32,
snakeCaseB: Text,
other: U32
}, { snake_case_a: 42, snake_case_b: 'fubar', other: 69 } as any);
expect(input.toString()).toEqual('{"snakeCaseA":42,"snakeCaseB":"fubar","other":69}');
});
it('throws when it cannot decode', (): void => {
expect(
(): Struct<any> => new (
Struct.with({
txt: Text,
u32: U32
})
)(registry, 'ABC')
).toThrowError(/Cannot decode value/);
});
it('throws a sensical error on incorrect array values passed to structs', (): void => {
expect(
() => new Struct(registry, {
_: 'Vec<u32>'
}, [123, 456])
).toThrow(/array to object with known keys/);
});
});
describe('encoding', (): void => {
@@ -52,116 +162,6 @@ describe('Struct', (): void => {
testEncode('toString', '{"foo":"bazzing","bar":69}');
});
it('decodes null/undefined/empty correctly (& equivalently)', (): void => {
const Clazz = Struct.with({
txt: Text,
u32: U32
});
const expected = { txt: '', u32: '0' };
expect(new Clazz(registry, {}).toHuman()).toEqual(expected);
expect(new Clazz(registry, null).toHuman()).toEqual(expected);
expect(new Clazz(registry, undefined).toHuman()).toEqual(expected);
});
it('decodes with Optionals', (): void => {
const Clazz = Struct.with({
a: 'Option<Bool>',
b: 'Option<Bool>'
});
const c = new Clazz(registry, { a: false }) as unknown as { a: Option<Bool>, b: Option<Bool> };
expect(c.a.isSome).toEqual(true);
expect(c.a.unwrap().isTrue).toEqual(false);
expect(c.b.isSome).toEqual(false);
});
it('decodes reusing instantiated inputs', (): void => {
const foo = new Text(registry, 'bar');
expect(
(new Struct(
registry,
{ foo: Text },
{ foo }
)).get('foo')
).toBe(foo);
});
it('decodes a more complicated type', (): void => {
const s = new Struct(registry, {
foo: Vec.with(Struct.with({
bar: Text
}))
}, { foo: [{ bar: 1 }, { bar: 2 }] });
expect(s.toString()).toBe('{"foo":[{"bar":"1"},{"bar":"2"}]}');
});
it('decodes a previously problematic input', (): void => {
let data;
try {
data = new Struct(registry, {
a: 'u32',
b: 'H256',
c: 'H256',
swap: Enum.with({
A: 'u256',
B: 'u256'
}),
d: Vec.with('u8'),
e: 'u8'
}, TEST_A);
} catch (error) {
console.error(error);
throw error;
}
expect(data.get('d')).toHaveLength(50000);
});
it('decodes from a Map input', (): void => {
const s = new Struct(registry, {
txt: Text,
foo: U32,
bar: U32
}, new Map<string, unknown>([['a', 42], ['txt', 'fubar']]));
expect(s.toString()).toEqual('{"txt":"fubar","foo":0,"bar":0}');
});
it('decodes from a snake_case input', (): void => {
const input = new Struct(registry, {
snakeCaseA: U32,
snakeCaseB: Text,
other: U32
}, { snake_case_a: 42, snake_case_b: 'fubar', other: 69 } as any);
expect(input.toString()).toEqual('{"snakeCaseA":42,"snakeCaseB":"fubar","other":69}');
});
it('throws when it cannot decode', (): void => {
expect(
(): Struct<any> => new (
Struct.with({
txt: Text,
u32: U32
})
)(registry, 'ABC')
).toThrowError(/Cannot decode value/);
});
it('throws a sensical error on incorrect array values passed to structs', (): void => {
expect(
() => new Struct(registry, {
_: 'Vec<u32>'
}, [123, 456])
).toThrow(/array to object with known keys/);
});
it('provides a clean toString()', (): void => {
expect(
new (
@@ -257,6 +257,83 @@ describe('Struct', (): void => {
}, test).eq(test)
).toBe(true);
});
it('has a sane toPrimitive', (): void => {
const S = Struct.with({
name: 'Text',
description: 'Vec<Text>',
fooA: 'Bytes',
fooB: 'Bytes',
fooC: Struct.with({
a: 'u32',
b: 'u128',
c: 'Compact<u128>',
d: 'bool'
})
});
expect(
new S(registry, {
name: 'Something',
description: ['One line', 'Another line'],
fooA: 'hello world!',
fooB: '0x123456',
fooC: {
a: 1234,
b: BigInt('1234567890111213141516'),
c: 123456,
d: true
}
}).toPrimitive()
).toEqual({
name: 'Something',
description: ['One line', 'Another line'],
fooA: 'hello world!',
fooB: '0x123456',
fooC: {
a: 1234,
b: '1234567890111213141516',
c: 123456,
d: true
}
});
});
it('generates sane toRawType', (): void => {
expect(
new Struct(registry, {
accountId: 'AccountId',
balanceCompact: registry.createClass('Compact<Balance>'),
blockNumber: registry.createClass('BlockNumber'),
compactNumber: registry.createClass('Compact<BlockNumber>'),
optionNumber: registry.createClass('Option<BlockNumber>'),
counter: U32,
vector: Vec.with('AccountId')
}).toRawType()
).toEqual(JSON.stringify({
accountId: 'AccountId',
balanceCompact: 'Compact<Balance>', // Override in Uint
blockNumber: 'BlockNumber',
compactNumber: 'Compact<BlockNumber>',
optionNumber: 'Option<BlockNumber>',
counter: 'u32',
vector: 'Vec<AccountId>'
}));
});
it('generates sane toRawType (via with)', (): void => {
const Type = Struct.with({
accountId: 'AccountId',
balance: registry.createClass('Balance')
});
expect(
new Type(registry).toRawType()
).toEqual(JSON.stringify({
accountId: 'AccountId',
balance: 'Balance' // Override in Uint
}));
});
});
it('allows toString with large numbers', (): void => {
@@ -268,42 +345,6 @@ describe('Struct', (): void => {
).toEqual('{"blockNumber":279694831}');
});
it('generates sane toRawType', (): void => {
expect(
new Struct(registry, {
accountId: 'AccountId',
balanceCompact: registry.createClass('Compact<Balance>'),
blockNumber: registry.createClass('BlockNumber'),
compactNumber: registry.createClass('Compact<BlockNumber>'),
optionNumber: registry.createClass('Option<BlockNumber>'),
counter: U32,
vector: Vec.with('AccountId')
}).toRawType()
).toEqual(JSON.stringify({
accountId: 'AccountId',
balanceCompact: 'Compact<Balance>', // Override in Uint
blockNumber: 'BlockNumber',
compactNumber: 'Compact<BlockNumber>',
optionNumber: 'Option<BlockNumber>',
counter: 'u32',
vector: 'Vec<AccountId>'
}));
});
it('generates sane toRawType (via with)', (): void => {
const Type = Struct.with({
accountId: 'AccountId',
balance: registry.createClass('Balance')
});
expect(
new Type(registry).toRawType()
).toEqual(JSON.stringify({
accountId: 'AccountId',
balance: 'Balance' // Override in Uint
}));
});
describe('toU8a', (): void => {
const def: Record<string, any> = {
foo: 'Bytes',
+1 -1
View File
@@ -25,7 +25,7 @@
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/util": "^10.0.2"
"@polkadot/util": "^10.1.1"
},
"devDependencies": {
"@polkadot/types": "8.13.2-8-x"
+2 -2
View File
@@ -24,10 +24,10 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/networks": "^10.0.2",
"@polkadot/networks": "^10.1.1",
"@polkadot/types": "8.13.2-8-x",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/types-create": "8.13.2-8-x",
"@polkadot/util": "^10.0.2"
"@polkadot/util": "^10.1.1"
}
}
+1 -1
View File
@@ -24,6 +24,6 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/util": "^10.0.2"
"@polkadot/util": "^10.1.1"
}
}
+4 -4
View File
@@ -24,16 +24,16 @@
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.9",
"@polkadot/keyring": "^10.0.2",
"@polkadot/keyring": "^10.1.1",
"@polkadot/types-augment": "8.13.2-8-x",
"@polkadot/types-codec": "8.13.2-8-x",
"@polkadot/types-create": "8.13.2-8-x",
"@polkadot/util": "^10.0.2",
"@polkadot/util-crypto": "^10.0.2",
"@polkadot/util": "^10.1.1",
"@polkadot/util-crypto": "^10.1.1",
"rxjs": "^7.5.6"
},
"devDependencies": {
"@polkadot/keyring": "^10.0.2",
"@polkadot/keyring": "^10.1.1",
"@polkadot/types-support": "8.13.2-8-x"
}
}
+164 -164
View File
@@ -1391,7 +1391,7 @@ __metadata:
languageName: node
linkType: hard
"@babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.8.4":
"@babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.8.4":
version: 7.18.9
resolution: "@babel/runtime@npm:7.18.9"
dependencies:
@@ -1788,10 +1788,10 @@ __metadata:
languageName: node
linkType: hard
"@noble/secp256k1@npm:1.6.0":
version: 1.6.0
resolution: "@noble/secp256k1@npm:1.6.0"
checksum: e99df3b776515e6a8b3193870e69ff3a7d22c6a4733245dceb9d1d229d5b0859bd478b7213f31d556ba3745647ec07262d0f9df845d79204b7ce4ae1648b27c7
"@noble/secp256k1@npm:1.6.3":
version: 1.6.3
resolution: "@noble/secp256k1@npm:1.6.3"
checksum: 16eb3242533e645deb64444c771515f66bdc2ee0759894efd42fdeed4ab226ed29827aaaf6caa27d3d95b831452fd4246aa1007cd688aa462ad48fc084ab76e6
languageName: node
linkType: hard
@@ -1966,7 +1966,7 @@ __metadata:
"@polkadot/types-augment": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/types-support": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
languageName: unknown
linkType: soft
@@ -1977,7 +1977,7 @@ __metadata:
"@babel/runtime": ^7.18.9
"@polkadot/rpc-core": 8.13.2-8-x
"@polkadot/types": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
rxjs: ^7.5.6
languageName: unknown
linkType: soft
@@ -1989,12 +1989,12 @@ __metadata:
"@babel/runtime": ^7.18.9
"@polkadot/api": 8.13.2-8-x
"@polkadot/api-augment": 8.13.2-8-x
"@polkadot/keyring": ^10.0.2
"@polkadot/keyring": ^10.1.1
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/types-create": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util-crypto": ^10.0.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
rxjs: ^7.5.6
languageName: unknown
linkType: soft
@@ -2013,8 +2013,8 @@ __metadata:
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/types-support": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util-crypto": ^10.0.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
rxjs: ^7.5.6
languageName: unknown
linkType: soft
@@ -2027,7 +2027,7 @@ __metadata:
"@polkadot/api-augment": 8.13.2-8-x
"@polkadot/api-base": 8.13.2-8-x
"@polkadot/api-derive": 8.13.2-8-x
"@polkadot/keyring": ^10.0.2
"@polkadot/keyring": ^10.1.1
"@polkadot/rpc-augment": 8.13.2-8-x
"@polkadot/rpc-core": 8.13.2-8-x
"@polkadot/rpc-provider": 8.13.2-8-x
@@ -2037,8 +2037,8 @@ __metadata:
"@polkadot/types-create": 8.13.2-8-x
"@polkadot/types-known": 8.13.2-8-x
"@polkadot/types-support": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util-crypto": ^10.0.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
eventemitter3: ^4.0.7
rxjs: ^7.5.6
languageName: unknown
@@ -2139,28 +2139,28 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/keyring@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/keyring@npm:10.0.2"
"@polkadot/keyring@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/keyring@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/util": 10.0.2
"@polkadot/util-crypto": 10.0.2
"@babel/runtime": ^7.18.9
"@polkadot/util": 10.1.1
"@polkadot/util-crypto": 10.1.1
peerDependencies:
"@polkadot/util": 10.0.2
"@polkadot/util-crypto": 10.0.2
checksum: 69b4ab52f9b57f42195fcfb4141f70ff4a52a7dc0ad1f17627535d120a2a01bca01a632b79c7908d289da9999cb5d96273b5332e80c014c3781fb88ac0a70b6d
"@polkadot/util": 10.1.1
"@polkadot/util-crypto": 10.1.1
checksum: 17be1a118dd6bd4e5698e3624d8533cb2785635b7e66696ebf7d88e9d97d8006dab04f63187778cc5c2453bb4cf2a21718763c2f171c03468753a2aa981faf34
languageName: node
linkType: hard
"@polkadot/networks@npm:10.0.2, @polkadot/networks@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/networks@npm:10.0.2"
"@polkadot/networks@npm:10.1.1, @polkadot/networks@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/networks@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/util": 10.0.2
"@substrate/ss58-registry": ^1.23.0
checksum: d8ab6c706f3059e925cadfe9801c097c657bb8f41293514fca7fd7edb20b0bae941d2cd1ecd24615d68e626b751b13ba3fe47d916a8968225771d0f936e7c043
"@babel/runtime": ^7.18.9
"@polkadot/util": 10.1.1
"@substrate/ss58-registry": ^1.24.0
checksum: 78ec99c6d54981418659c2785e24815536ebf6745b32c1956159bb4510e587a8cb726cb7f35a64f589fa4f65b1de0eb12599ebe7f41442266e9b3030fe2f26da
languageName: node
linkType: hard
@@ -2172,7 +2172,7 @@ __metadata:
"@polkadot/rpc-core": 8.13.2-8-x
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
languageName: unknown
linkType: soft
@@ -2181,11 +2181,11 @@ __metadata:
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/keyring": ^10.0.2
"@polkadot/keyring": ^10.1.1
"@polkadot/rpc-augment": 8.13.2-8-x
"@polkadot/rpc-provider": 8.13.2-8-x
"@polkadot/types": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
rxjs: ^7.5.6
languageName: unknown
linkType: soft
@@ -2195,14 +2195,14 @@ __metadata:
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/keyring": ^10.0.2
"@polkadot/keyring": ^10.1.1
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-support": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util-crypto": ^10.0.2
"@polkadot/x-fetch": ^10.0.2
"@polkadot/x-global": ^10.0.2
"@polkadot/x-ws": ^10.0.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
"@polkadot/x-fetch": ^10.1.1
"@polkadot/x-global": ^10.1.1
"@polkadot/x-ws": ^10.1.1
"@substrate/connect": 0.7.9
eventemitter3: ^4.0.7
mock-socket: ^9.1.5
@@ -2226,9 +2226,9 @@ __metadata:
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/types-create": 8.13.2-8-x
"@polkadot/types-support": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util-crypto": ^10.0.2
"@polkadot/x-ws": ^10.0.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
"@polkadot/x-ws": ^10.1.1
"@types/websocket": ^1.0.5
"@types/yargs": ^17.0.10
handlebars: ^4.7.7
@@ -2250,7 +2250,7 @@ __metadata:
"@babel/runtime": ^7.18.9
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
languageName: unknown
linkType: soft
@@ -2262,9 +2262,9 @@ __metadata:
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-augment": 8.13.2-8-x
"@polkadot/types-support": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util-crypto": ^10.0.2
"@polkadot/x-bigint": ^10.0.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
"@polkadot/x-bigint": ^10.1.1
languageName: unknown
linkType: soft
@@ -2275,7 +2275,7 @@ __metadata:
"@babel/runtime": ^7.18.9
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
languageName: unknown
linkType: soft
@@ -2284,11 +2284,11 @@ __metadata:
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/networks": ^10.0.2
"@polkadot/networks": ^10.1.1
"@polkadot/types": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/types-create": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
languageName: unknown
linkType: soft
@@ -2297,7 +2297,7 @@ __metadata:
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/util": ^10.0.2
"@polkadot/util": ^10.1.1
languageName: unknown
linkType: soft
@@ -2306,201 +2306,201 @@ __metadata:
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.18.9
"@polkadot/keyring": ^10.0.2
"@polkadot/keyring": ^10.1.1
"@polkadot/types-augment": 8.13.2-8-x
"@polkadot/types-codec": 8.13.2-8-x
"@polkadot/types-create": 8.13.2-8-x
"@polkadot/types-support": 8.13.2-8-x
"@polkadot/util": ^10.0.2
"@polkadot/util-crypto": ^10.0.2
"@polkadot/util": ^10.1.1
"@polkadot/util-crypto": ^10.1.1
rxjs: ^7.5.6
languageName: unknown
linkType: soft
"@polkadot/util-crypto@npm:10.0.2, @polkadot/util-crypto@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/util-crypto@npm:10.0.2"
"@polkadot/util-crypto@npm:10.1.1, @polkadot/util-crypto@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/util-crypto@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@babel/runtime": ^7.18.9
"@noble/hashes": 1.1.2
"@noble/secp256k1": 1.6.0
"@polkadot/networks": 10.0.2
"@polkadot/util": 10.0.2
"@polkadot/wasm-crypto": ^6.2.3
"@polkadot/x-bigint": 10.0.2
"@polkadot/x-randomvalues": 10.0.2
"@noble/secp256k1": 1.6.3
"@polkadot/networks": 10.1.1
"@polkadot/util": 10.1.1
"@polkadot/wasm-crypto": ^6.3.1
"@polkadot/x-bigint": 10.1.1
"@polkadot/x-randomvalues": 10.1.1
"@scure/base": 1.1.1
ed2curve: ^0.3.0
tweetnacl: ^1.0.3
peerDependencies:
"@polkadot/util": 10.0.2
checksum: 472e5678fcd9e6ed0bc39f203af56d62dc82f1dcb708c5cd0678fd85e3407090a335f70d16e2afb42136d9e007cc190057bede8ac5f9c772e2c395cddf9c0dec
"@polkadot/util": 10.1.1
checksum: f42345d1e0118a4544d88ac331a8bbff401195b48c02b4bd4a9e4df12527ea31c86852d700bbce391c3fd3ccfec3932b63c1596d808c10fde13e4ef898353ec0
languageName: node
linkType: hard
"@polkadot/util@npm:10.0.2, @polkadot/util@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/util@npm:10.0.2"
"@polkadot/util@npm:10.1.1, @polkadot/util@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/util@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/x-bigint": 10.0.2
"@polkadot/x-global": 10.0.2
"@polkadot/x-textdecoder": 10.0.2
"@polkadot/x-textencoder": 10.0.2
"@babel/runtime": ^7.18.9
"@polkadot/x-bigint": 10.1.1
"@polkadot/x-global": 10.1.1
"@polkadot/x-textdecoder": 10.1.1
"@polkadot/x-textencoder": 10.1.1
"@types/bn.js": ^5.1.0
bn.js: ^5.2.1
checksum: dbcc331da2e3383225266ae00163d73641fdecaa3e2b994df62d77a268d86dc3c0b725836b7073bd5673707974b0a21f929a6bac6a6bb3e213b5967053c96c0a
checksum: 360b29bd70315c354742605b0f461416d23a9971e3af7cd80d11c9a49c020b7834ebf6e2a3064f2e120c274f0844b1f56ed13ce1e963c58c7255d04f9f666516
languageName: node
linkType: hard
"@polkadot/wasm-bridge@npm:6.2.3":
version: 6.2.3
resolution: "@polkadot/wasm-bridge@npm:6.2.3"
"@polkadot/wasm-bridge@npm:6.3.1":
version: 6.3.1
resolution: "@polkadot/wasm-bridge@npm:6.3.1"
dependencies:
"@babel/runtime": ^7.18.6
"@babel/runtime": ^7.18.9
peerDependencies:
"@polkadot/util": "*"
"@polkadot/x-randomvalues": "*"
checksum: 878fddf29280569c33d3097b322cf0749f7f034e5200a239d80cd877f09f49c40db8a3e67b3b83eedc93362ad67a1eaa82b672c8f725fa3865a902abfbec3fc6
checksum: ce8ed81dd6c670345211caa0a8cacf316113836fd716deb59f10a49acdf5629cf6bf1ec4d353e0c3e7542ba5494bd4ce3550e08978372c04523eb1b669c2fbdf
languageName: node
linkType: hard
"@polkadot/wasm-crypto-asmjs@npm:6.2.3":
version: 6.2.3
resolution: "@polkadot/wasm-crypto-asmjs@npm:6.2.3"
"@polkadot/wasm-crypto-asmjs@npm:6.3.1":
version: 6.3.1
resolution: "@polkadot/wasm-crypto-asmjs@npm:6.3.1"
dependencies:
"@babel/runtime": ^7.18.6
"@babel/runtime": ^7.18.9
peerDependencies:
"@polkadot/util": "*"
checksum: 6d51ddedf7b25913d54203f172f28dd093d25b5130a75d3d99433257b7533c827056ba99f9d56a530a00febcd5a3d8be5a8ef26d8948f57ddbb8a0456bf819fa
checksum: 42d59c9e218455e95acbf9301be51a69d299204971177cd34b4b4ea8a1a14f02e18031d9e4fafa1de4d82a0f7c3c627e0490d804dadab5d82a7fa9e09176a927
languageName: node
linkType: hard
"@polkadot/wasm-crypto-init@npm:6.2.3":
version: 6.2.3
resolution: "@polkadot/wasm-crypto-init@npm:6.2.3"
"@polkadot/wasm-crypto-init@npm:6.3.1":
version: 6.3.1
resolution: "@polkadot/wasm-crypto-init@npm:6.3.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/wasm-bridge": 6.2.3
"@polkadot/wasm-crypto-asmjs": 6.2.3
"@polkadot/wasm-crypto-wasm": 6.2.3
"@babel/runtime": ^7.18.9
"@polkadot/wasm-bridge": 6.3.1
"@polkadot/wasm-crypto-asmjs": 6.3.1
"@polkadot/wasm-crypto-wasm": 6.3.1
peerDependencies:
"@polkadot/util": "*"
"@polkadot/x-randomvalues": "*"
checksum: 21049298513d1e6008f367be271b6343159aecfc35fce68282dd55a27881b57822151da077b0886555cf30abd2889a038a4ede05d05f8cb0cda31f2afc445af4
checksum: c1ece641a95df111213af74088ee7a75e87fba0520711d33b629a7132c6171a4eb51831b496a742c9ee5a248f87079531a8963ef252552d47d7f9d046e042132
languageName: node
linkType: hard
"@polkadot/wasm-crypto-wasm@npm:6.2.3":
version: 6.2.3
resolution: "@polkadot/wasm-crypto-wasm@npm:6.2.3"
"@polkadot/wasm-crypto-wasm@npm:6.3.1":
version: 6.3.1
resolution: "@polkadot/wasm-crypto-wasm@npm:6.3.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/wasm-util": 6.2.3
"@babel/runtime": ^7.18.9
"@polkadot/wasm-util": 6.3.1
peerDependencies:
"@polkadot/util": "*"
checksum: 67ccbf19c374f98770180c43cd8ce14304174fbd1ef78afba2268023f897e264de36d7e579f680e1e4a8874692c4418d4f4fa4d6e17ffde91fb219a10712e8a1
checksum: a8f032ebe5c094a2eca0d93748457c4e28d0d1d84bc8bfa48d9eacbb6333d65db2a5927b3997dad12cf9621780786c752a6c626a410c323e1f9b8fd773d8bff8
languageName: node
linkType: hard
"@polkadot/wasm-crypto@npm:^6.2.3":
version: 6.2.3
resolution: "@polkadot/wasm-crypto@npm:6.2.3"
"@polkadot/wasm-crypto@npm:^6.3.1":
version: 6.3.1
resolution: "@polkadot/wasm-crypto@npm:6.3.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/wasm-bridge": 6.2.3
"@polkadot/wasm-crypto-asmjs": 6.2.3
"@polkadot/wasm-crypto-init": 6.2.3
"@polkadot/wasm-crypto-wasm": 6.2.3
"@polkadot/wasm-util": 6.2.3
"@babel/runtime": ^7.18.9
"@polkadot/wasm-bridge": 6.3.1
"@polkadot/wasm-crypto-asmjs": 6.3.1
"@polkadot/wasm-crypto-init": 6.3.1
"@polkadot/wasm-crypto-wasm": 6.3.1
"@polkadot/wasm-util": 6.3.1
peerDependencies:
"@polkadot/util": "*"
"@polkadot/x-randomvalues": "*"
checksum: f7f119f3bb8fc0223058bb4929f1da32bb517d83b058c1349a934266a07925a47da092c147dc38965d0f2e45c267675199bcbfe0e745ee287f672014c9615af4
checksum: 36ecc015e8930f3cc908dcde433d538084f8ef1f812853ac8245734af6f79fc8b337d5226c1dc983a4c6aa28b256d7fde1860f9613fcdec09c43b10d7f3a0d6b
languageName: node
linkType: hard
"@polkadot/wasm-util@npm:6.2.3":
version: 6.2.3
resolution: "@polkadot/wasm-util@npm:6.2.3"
"@polkadot/wasm-util@npm:6.3.1":
version: 6.3.1
resolution: "@polkadot/wasm-util@npm:6.3.1"
dependencies:
"@babel/runtime": ^7.18.6
"@babel/runtime": ^7.18.9
peerDependencies:
"@polkadot/util": "*"
checksum: 41ca92114eb8fa373da8c6620394d4eac083f95f54804e507662728759e235a825de9817c444d1ce9a9f57fa7ef42cc002db0542c7875288a702274865682ee3
checksum: 3cab3b86c6659f133db84823a92539006fc19a194a6831bbb346aa9498b4831f717852ac76ed2b485356abf33eaa39a2267f4ab8ff777a7b7f530c138fb0efbe
languageName: node
linkType: hard
"@polkadot/x-bigint@npm:10.0.2, @polkadot/x-bigint@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/x-bigint@npm:10.0.2"
"@polkadot/x-bigint@npm:10.1.1, @polkadot/x-bigint@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/x-bigint@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/x-global": 10.0.2
checksum: 77bf8554d74591750bb0c8afad9da1a5b754fb749233daf44c7aee9773819b61e6125544e116d96b157bd774b20145acbce2e6f5fdd51ecc0e4cab8de0161126
"@babel/runtime": ^7.18.9
"@polkadot/x-global": 10.1.1
checksum: 81d565ecc95b68cd37ce90b94049f35a3f9dda19e3d97497d7c615a793dd4cfe075ad0ac505332f738888cb97b8d4ac55160dfe736b528ced1e08f49bbac7634
languageName: node
linkType: hard
"@polkadot/x-fetch@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/x-fetch@npm:10.0.2"
"@polkadot/x-fetch@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/x-fetch@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/x-global": 10.0.2
"@babel/runtime": ^7.18.9
"@polkadot/x-global": 10.1.1
"@types/node-fetch": ^2.6.2
node-fetch: ^3.2.6
checksum: c7ecc29345ff4feab7cfa1d9282c172dc7f63254f52786725c8c89e9bded138ad311c2f18fb42eb39c891090e00fbd006ec2bff7dab00ab84507991f8da54615
node-fetch: ^3.2.9
checksum: a953b309fc97b4f766226c00f6e1d6e82cd1e2ff7a2bdf5f614162737139e2db1ae7b568757c533ff001fffef9f19e72cac34bf0e51831234ec5da956dd18ff9
languageName: node
linkType: hard
"@polkadot/x-global@npm:10.0.2, @polkadot/x-global@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/x-global@npm:10.0.2"
"@polkadot/x-global@npm:10.1.1, @polkadot/x-global@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/x-global@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
checksum: 2f2416f3796a2708e04a9b73ae68b29c5dd00ad800b74c674e2df3eb8d070403443a5fa0f29e08d0c1e889628e45e09e36765f8cad7c2a6c6bebf40fbae2d669
"@babel/runtime": ^7.18.9
checksum: bc928fc10ff1e12694fbec68ecca129169397b326dd4aaaf0342bd7be198a0f2907a232ce33b3ad2ca06d9c54e6e8d9190e1fef12696111d98ead53882e144fa
languageName: node
linkType: hard
"@polkadot/x-randomvalues@npm:10.0.2":
version: 10.0.2
resolution: "@polkadot/x-randomvalues@npm:10.0.2"
"@polkadot/x-randomvalues@npm:10.1.1":
version: 10.1.1
resolution: "@polkadot/x-randomvalues@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/x-global": 10.0.2
checksum: a8febcde1e09e3686d9165ac699c6a606b0411536adab522e98deef2433875236adac696f6dce2f887c202b1304cf5e512de1fe0b689bec3f5f7aeeedb03a6fe
"@babel/runtime": ^7.18.9
"@polkadot/x-global": 10.1.1
checksum: 5d38e54d7b473c91b3e85779f8c4eb361066d38ee8ea3cbded641f85e24c5e4bf176a8b50d751b0f8e76132e564e2691c21bce668b2b2fd86b437a2ee07acf9b
languageName: node
linkType: hard
"@polkadot/x-textdecoder@npm:10.0.2":
version: 10.0.2
resolution: "@polkadot/x-textdecoder@npm:10.0.2"
"@polkadot/x-textdecoder@npm:10.1.1":
version: 10.1.1
resolution: "@polkadot/x-textdecoder@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/x-global": 10.0.2
checksum: 93a47cc3082c2d6ca6a45552f05a5e29d33c4ca0891af2585e5e09db7e054a754faaf359fbc89b18a2c897dbd792f84b5a86fa3d98831ff0ba15015ed960f093
"@babel/runtime": ^7.18.9
"@polkadot/x-global": 10.1.1
checksum: f632c203ad83fa7a33e87c955da4da4ab448d2798186fe15490d0419af9f26458ec5afea73e51ec08c704031daa2a1b1bae6aa1aa133b5057806a739bde79279
languageName: node
linkType: hard
"@polkadot/x-textencoder@npm:10.0.2":
version: 10.0.2
resolution: "@polkadot/x-textencoder@npm:10.0.2"
"@polkadot/x-textencoder@npm:10.1.1":
version: 10.1.1
resolution: "@polkadot/x-textencoder@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/x-global": 10.0.2
checksum: 24600fb003e48b030b610e404964630c901c65c8d1e9be95c1d0c4f385a9b40ae118d881ac50061e87ff2c4bbf1a80b3017a18ff03fd82e12b3b6102b508e6fc
"@babel/runtime": ^7.18.9
"@polkadot/x-global": 10.1.1
checksum: 528e768ca9b28b73b2564c0140aa9473492f30f2580c70b4ad549de34460271030b8cd24a93f567f982222705c0fca58cccf0fec3ace3f8191e292f5d5701794
languageName: node
linkType: hard
"@polkadot/x-ws@npm:^10.0.2":
version: 10.0.2
resolution: "@polkadot/x-ws@npm:10.0.2"
"@polkadot/x-ws@npm:^10.1.1":
version: 10.1.1
resolution: "@polkadot/x-ws@npm:10.1.1"
dependencies:
"@babel/runtime": ^7.18.6
"@polkadot/x-global": 10.0.2
"@babel/runtime": ^7.18.9
"@polkadot/x-global": 10.1.1
"@types/websocket": ^1.0.5
websocket: ^1.0.34
checksum: e53c645d1ff7fe309076c8cbb81a2a30a35ac5c20c9e0700abec109ea00bcf912666a7253e44c801c2f15eb621c8eafd23681764e99d342c0b0b251de8bf27da
checksum: 35882293d39fe09d484db84735bfb70186bfb420462854c354313fdcb583cca747ffb74a5d6efe12fc1f45cde3c6336d4214a8d6e3b0bdd462d096fb2735ec9b
languageName: node
linkType: hard
@@ -2658,10 +2658,10 @@ __metadata:
languageName: node
linkType: hard
"@substrate/ss58-registry@npm:^1.23.0":
version: 1.23.0
resolution: "@substrate/ss58-registry@npm:1.23.0"
checksum: 6544c713f4200c32ed8cdc3dfe6296bbc5f6f32c27f05c725004eab10f2c0e17f56a44631c35ab58612b5e143de98321aa599b3bdc8c2a9ff6fc41e6e9b8c26b
"@substrate/ss58-registry@npm:^1.24.0":
version: 1.25.0
resolution: "@substrate/ss58-registry@npm:1.25.0"
checksum: 87f6e29702154ace790489342a1157afd9b855bd79a5061472564fb0843addfe0c11c8cc46c7a35fddd5106bce8c1c9a9cace19822185ae5a1975f0f7504b9be
languageName: node
linkType: hard
@@ -7999,14 +7999,14 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"node-fetch@npm:^3.2.6":
version: 3.2.6
resolution: "node-fetch@npm:3.2.6"
"node-fetch@npm:^3.2.9":
version: 3.2.9
resolution: "node-fetch@npm:3.2.9"
dependencies:
data-uri-to-buffer: ^4.0.0
fetch-blob: ^3.1.4
formdata-polyfill: ^4.0.10
checksum: ece307ace3a3ff28638ccb0fa0545bb5c0cfd673a9d06fc314d937a73ae6a55917d5bacd7f080f9a9f1449ca20a5c01b1281d0e616acb20315e5ac315971da46
checksum: ba421350b2dbab67d8068f9d24f30ef8b9a37a3f83388d2efaf79628de754c85df81829c009579ea5562a2b11d9f07ecd21d27b5b8bed0cb393b92abe4817a75
languageName: node
linkType: hard