diff --git a/package.json b/package.json index 285c32bf84..6aa9028454 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@babel/register": "^7.14.5", "@babel/runtime": "^7.14.6", "@polkadot/dev": "^0.62.43", - "@polkadot/ts": "^0.3.91", + "@polkadot/ts": "^0.4.1", "@polkadot/typegen": "workspace:packages/typegen", "@types/jest": "^26.0.23", "copyfiles": "^2.4.1" diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index e565858b07..d53b025116 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -22,7 +22,7 @@ "@babel/runtime": "^7.14.6", "@polkadot/api": "4.15.2-5", "@polkadot/types": "4.15.2-5", - "@polkadot/util": "^6.9.1", - "@polkadot/x-rxjs": "^6.9.1" + "@polkadot/util": "^6.9.2-9", + "@polkadot/x-rxjs": "^6.9.2-9" } } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 650b4ce7f9..a37a207a21 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -23,12 +23,12 @@ "@polkadot/api": "4.15.2-5", "@polkadot/rpc-core": "4.15.2-5", "@polkadot/types": "4.15.2-5", - "@polkadot/util": "^6.9.1", - "@polkadot/util-crypto": "^6.9.1", - "@polkadot/x-rxjs": "^6.9.1" + "@polkadot/util": "^6.9.2-9", + "@polkadot/util-crypto": "^6.9.2-9", + "@polkadot/x-rxjs": "^6.9.2-9" }, "devDependencies": { - "@polkadot/keyring": "^6.9.1", + "@polkadot/keyring": "^6.9.2-9", "@polkadot/rpc-provider": "4.15.2-5" } } diff --git a/packages/api/package.json b/packages/api/package.json index f8e3d0f744..98cd938d8c 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -21,15 +21,15 @@ "dependencies": { "@babel/runtime": "^7.14.6", "@polkadot/api-derive": "4.15.2-5", - "@polkadot/keyring": "^6.9.1", + "@polkadot/keyring": "^6.9.2-9", "@polkadot/metadata": "4.15.2-5", "@polkadot/rpc-core": "4.15.2-5", "@polkadot/rpc-provider": "4.15.2-5", "@polkadot/types": "4.15.2-5", "@polkadot/types-known": "4.15.2-5", - "@polkadot/util": "^6.9.1", - "@polkadot/util-crypto": "^6.9.1", - "@polkadot/x-rxjs": "^6.9.1", + "@polkadot/util": "^6.9.2-9", + "@polkadot/util-crypto": "^6.9.2-9", + "@polkadot/x-rxjs": "^6.9.2-9", "eventemitter3": "^4.0.7" } } diff --git a/packages/metadata/package.json b/packages/metadata/package.json index 3dfe488256..42dacbb264 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -22,10 +22,10 @@ "@babel/runtime": "^7.14.6", "@polkadot/types": "4.15.2-5", "@polkadot/types-known": "4.15.2-5", - "@polkadot/util": "^6.9.1", - "@polkadot/util-crypto": "^6.9.1" + "@polkadot/util": "^6.9.2-9", + "@polkadot/util-crypto": "^6.9.2-9" }, "devDependencies": { - "@polkadot/keyring": "^6.9.1" + "@polkadot/keyring": "^6.9.2-9" } } diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 8445c04264..8948b29101 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -23,10 +23,10 @@ "@polkadot/metadata": "4.15.2-5", "@polkadot/rpc-provider": "4.15.2-5", "@polkadot/types": "4.15.2-5", - "@polkadot/util": "^6.9.1", - "@polkadot/x-rxjs": "^6.9.1" + "@polkadot/util": "^6.9.2-9", + "@polkadot/x-rxjs": "^6.9.2-9" }, "devDependencies": { - "@polkadot/keyring": "^6.9.1" + "@polkadot/keyring": "^6.9.2-9" } } diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index c29b171fee..1290326c4e 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -21,15 +21,15 @@ "dependencies": { "@babel/runtime": "^7.14.6", "@polkadot/types": "4.15.2-5", - "@polkadot/util": "^6.9.1", - "@polkadot/util-crypto": "^6.9.1", - "@polkadot/x-fetch": "^6.9.1", - "@polkadot/x-global": "^6.9.1", - "@polkadot/x-ws": "^6.9.1", + "@polkadot/util": "^6.9.2-9", + "@polkadot/util-crypto": "^6.9.2-9", + "@polkadot/x-fetch": "^6.9.2-9", + "@polkadot/x-global": "^6.9.2-9", + "@polkadot/x-ws": "^6.9.2-9", "eventemitter3": "^4.0.7" }, "devDependencies": { - "@polkadot/keyring": "^6.9.1", + "@polkadot/keyring": "^6.9.2-9", "@polkadot/metadata": "4.15.2-5", "mock-socket": "^9.0.3", "nock": "^13.1.0" diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 04f8e6eacb..ed0ab412d3 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -33,7 +33,7 @@ "@polkadot/metadata": "4.15.2-5", "@polkadot/rpc-provider": "4.15.2-5", "@polkadot/types": "4.15.2-5", - "@polkadot/util": "^6.9.1", + "@polkadot/util": "^6.9.2-9", "handlebars": "^4.7.7", "websocket": "^1.0.34", "yargs": "^17.0.1" diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 2a36875f2d..dacdbc97ee 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -20,8 +20,8 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme", "dependencies": { "@babel/runtime": "^7.14.6", - "@polkadot/networks": "^6.9.1", + "@polkadot/networks": "^6.9.2-9", "@polkadot/types": "4.15.2-5", - "@polkadot/util": "^6.9.1" + "@polkadot/util": "^6.9.2-9" } } diff --git a/packages/types/package.json b/packages/types/package.json index 2469293d83..d09c7fa49b 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -21,12 +21,12 @@ "dependencies": { "@babel/runtime": "^7.14.6", "@polkadot/metadata": "4.15.2-5", - "@polkadot/util": "^6.9.1", - "@polkadot/util-crypto": "^6.9.1", - "@polkadot/x-rxjs": "^6.9.1" + "@polkadot/util": "^6.9.2-9", + "@polkadot/util-crypto": "^6.9.2-9", + "@polkadot/x-rxjs": "^6.9.2-9" }, "devDependencies": { - "@polkadot/keyring": "^6.9.1", + "@polkadot/keyring": "^6.9.2-9", "@types/bn.js": "^4.11.6", "bn.js": "^4.11.9" } diff --git a/packages/types/src/codec/Struct.ts b/packages/types/src/codec/Struct.ts index 6d58ea439c..665c7694a4 100644 --- a/packages/types/src/codec/Struct.ts +++ b/packages/types/src/codec/Struct.ts @@ -99,7 +99,7 @@ function decodeStructFromObject (registry: Registry, Types: ConstructorDef, */ function decodeStruct (registry: Registry, Types: ConstructorDef, value: unknown, jsonMap: Map): T { if (isHex(value)) { - return decodeStruct(registry, Types, hexToU8a(value.toString()), jsonMap); + return decodeStruct(registry, Types, hexToU8a(value), jsonMap); } else if (isU8a(value)) { const keys = Object.keys(Types); const values = decodeU8a(registry, value, Object.values(Types), keys); diff --git a/packages/types/src/create/createType.ts b/packages/types/src/create/createType.ts index 45d989434a..56f4a7310d 100644 --- a/packages/types/src/create/createType.ts +++ b/packages/types/src/create/createType.ts @@ -40,7 +40,7 @@ function initType (registry: if (isU8a(value)) { checkInstance(value, created); } else if (isHex(value)) { - checkInstance(u8aToU8a(value.toString()), created); + checkInstance(u8aToU8a(value), created); } } diff --git a/packages/types/src/ethereum/AccountId.ts b/packages/types/src/ethereum/AccountId.ts index 372183a22c..683a458f18 100644 --- a/packages/types/src/ethereum/AccountId.ts +++ b/packages/types/src/ethereum/AccountId.ts @@ -13,9 +13,9 @@ function decodeAccountId (value: AnyU8a | AnyString): AnyU8a { if (isU8a(value) || Array.isArray(value)) { return u8aToU8a(value); } else if (isHex(value) || isEthereumAddress(value)) { - return hexToU8a(value.toString()); + return hexToU8a(value); } else if (isString(value)) { - return u8aToU8a((value as string).toString()); + return u8aToU8a(value); } return value; diff --git a/packages/types/src/generic/AccountId.ts b/packages/types/src/generic/AccountId.ts index c740342577..efe82f71b1 100644 --- a/packages/types/src/generic/AccountId.ts +++ b/packages/types/src/generic/AccountId.ts @@ -14,10 +14,10 @@ function decodeAccountId (value?: AnyU8a | AnyString): Uint8Array { return new Uint8Array(); } else if (isU8a(value) || Array.isArray(value)) { return u8aToU8a(value); + } else if (isHex(value)) { + return hexToU8a(value); } else if (isString(value)) { - return isHex(value) - ? hexToU8a(value.toString()) - : decodeAddress((value as string).toString()); + return decodeAddress(value); } throw new Error(`Unknown type passed to AccountId constructor, found typeof ${typeof value}`); diff --git a/packages/types/src/generic/Call.ts b/packages/types/src/generic/Call.ts index 68d0791cd0..322f863e61 100644 --- a/packages/types/src/generic/Call.ts +++ b/packages/types/src/generic/Call.ts @@ -93,7 +93,7 @@ function decodeCallViaU8a (registry: Registry, value: Uint8Array, _meta?: Functi */ function decodeCall (registry: Registry, value: unknown | DecodedMethod | Uint8Array | string = new Uint8Array(), _meta?: FunctionMetadataLatest): DecodedMethod { if (isHex(value) || isU8a(value)) { - return decodeCallViaU8a(registry, u8aToU8a(value as string), _meta); + return decodeCallViaU8a(registry, u8aToU8a(value), _meta); } else if (isObject(value) && value.callIndex && value.args) { return decodeCallViaObject(registry, value as DecodedMethod, _meta); } diff --git a/packages/types/src/primitive/Text.ts b/packages/types/src/primitive/Text.ts index d221a2878a..b97119e121 100644 --- a/packages/types/src/primitive/Text.ts +++ b/packages/types/src/primitive/Text.ts @@ -13,7 +13,7 @@ const MAX_LENGTH = 128 * 1024; /** @internal */ function decodeText (value?: null | Text | string | AnyU8a | { toString: () => string }): string { if (isHex(value)) { - return u8aToString(hexToU8a(value.toString())); + return u8aToString(hexToU8a(value)); } else if (value instanceof Uint8Array) { if (!value.length) { return ''; diff --git a/yarn.lock b/yarn.lock index 860e7d304c..06c13b2044 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1360,7 +1360,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.13.9, @babel/runtime@npm:^7.14.5, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.8.4": +"@babel/runtime@npm:^7.13.9, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.8.4": version: 7.14.6 resolution: "@babel/runtime@npm:7.14.6" dependencies: @@ -1851,8 +1851,8 @@ __metadata: "@babel/runtime": ^7.14.6 "@polkadot/api": 4.15.2-5 "@polkadot/types": 4.15.2-5 - "@polkadot/util": ^6.9.1 - "@polkadot/x-rxjs": ^6.9.1 + "@polkadot/util": ^6.9.2-9 + "@polkadot/x-rxjs": ^6.9.2-9 languageName: unknown linkType: soft @@ -1862,13 +1862,13 @@ __metadata: dependencies: "@babel/runtime": ^7.14.6 "@polkadot/api": 4.15.2-5 - "@polkadot/keyring": ^6.9.1 + "@polkadot/keyring": ^6.9.2-9 "@polkadot/rpc-core": 4.15.2-5 "@polkadot/rpc-provider": 4.15.2-5 "@polkadot/types": 4.15.2-5 - "@polkadot/util": ^6.9.1 - "@polkadot/util-crypto": ^6.9.1 - "@polkadot/x-rxjs": ^6.9.1 + "@polkadot/util": ^6.9.2-9 + "@polkadot/util-crypto": ^6.9.2-9 + "@polkadot/x-rxjs": ^6.9.2-9 languageName: unknown linkType: soft @@ -1878,15 +1878,15 @@ __metadata: dependencies: "@babel/runtime": ^7.14.6 "@polkadot/api-derive": 4.15.2-5 - "@polkadot/keyring": ^6.9.1 + "@polkadot/keyring": ^6.9.2-9 "@polkadot/metadata": 4.15.2-5 "@polkadot/rpc-core": 4.15.2-5 "@polkadot/rpc-provider": 4.15.2-5 "@polkadot/types": 4.15.2-5 "@polkadot/types-known": 4.15.2-5 - "@polkadot/util": ^6.9.1 - "@polkadot/util-crypto": ^6.9.1 - "@polkadot/x-rxjs": ^6.9.1 + "@polkadot/util": ^6.9.2-9 + "@polkadot/util-crypto": ^6.9.2-9 + "@polkadot/x-rxjs": ^6.9.2-9 eventemitter3: ^4.0.7 languageName: unknown linkType: soft @@ -1977,17 +1977,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/keyring@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/keyring@npm:6.9.1" +"@polkadot/keyring@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/keyring@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/util": 6.9.1 - "@polkadot/util-crypto": 6.9.1 + "@babel/runtime": ^7.14.6 + "@polkadot/util": 6.9.2-9 + "@polkadot/util-crypto": 6.9.2-9 peerDependencies: - "@polkadot/util": 6.9.1 - "@polkadot/util-crypto": 6.9.1 - checksum: 7fd43ed3cd93b6e0ff650c1ceaa08e6dd93426b2c417cef6411b1fd4fef5e7e263c5c464b8fcd9d3efdea7ebb0630aff161b79df1d5af46f178968f0b9dc0403 + "@polkadot/util": 6.9.2-9 + "@polkadot/util-crypto": 6.9.2-9 + checksum: e1802d7eaeacd65e0de0743812b58d268efc4afa333c9937aa91e4318e86c6de8f7bf0b18b0fbe7e174bec9757ce0c41d3d385a9f0575825b1f59996243dd54b languageName: node linkType: hard @@ -1996,20 +1996,20 @@ __metadata: resolution: "@polkadot/metadata@workspace:packages/metadata" dependencies: "@babel/runtime": ^7.14.6 - "@polkadot/keyring": ^6.9.1 + "@polkadot/keyring": ^6.9.2-9 "@polkadot/types": 4.15.2-5 "@polkadot/types-known": 4.15.2-5 - "@polkadot/util": ^6.9.1 - "@polkadot/util-crypto": ^6.9.1 + "@polkadot/util": ^6.9.2-9 + "@polkadot/util-crypto": ^6.9.2-9 languageName: unknown linkType: soft -"@polkadot/networks@npm:6.9.1, @polkadot/networks@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/networks@npm:6.9.1" +"@polkadot/networks@npm:6.9.2-9, @polkadot/networks@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/networks@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - checksum: 204fa83cef8433d4f634c98e8d638cf3c309848678b4f769f75d53687af7169b8b6c3e58552bf534daab8b5305c73c9ae036229c708aaa124f4b3e70853ba3fa + "@babel/runtime": ^7.14.6 + checksum: 958e00e4111dffa36d2e8cfbc467add6ddbe61ca96a4d4be1c4f57679750b1aeb180aaf4993e178b5eeefad3c34a590a76760052609f53f658fd64c00cb2fed1 languageName: node linkType: hard @@ -2018,12 +2018,12 @@ __metadata: resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" dependencies: "@babel/runtime": ^7.14.6 - "@polkadot/keyring": ^6.9.1 + "@polkadot/keyring": ^6.9.2-9 "@polkadot/metadata": 4.15.2-5 "@polkadot/rpc-provider": 4.15.2-5 "@polkadot/types": 4.15.2-5 - "@polkadot/util": ^6.9.1 - "@polkadot/x-rxjs": ^6.9.1 + "@polkadot/util": ^6.9.2-9 + "@polkadot/x-rxjs": ^6.9.2-9 languageName: unknown linkType: soft @@ -2032,26 +2032,26 @@ __metadata: resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" dependencies: "@babel/runtime": ^7.14.6 - "@polkadot/keyring": ^6.9.1 + "@polkadot/keyring": ^6.9.2-9 "@polkadot/metadata": 4.15.2-5 "@polkadot/types": 4.15.2-5 - "@polkadot/util": ^6.9.1 - "@polkadot/util-crypto": ^6.9.1 - "@polkadot/x-fetch": ^6.9.1 - "@polkadot/x-global": ^6.9.1 - "@polkadot/x-ws": ^6.9.1 + "@polkadot/util": ^6.9.2-9 + "@polkadot/util-crypto": ^6.9.2-9 + "@polkadot/x-fetch": ^6.9.2-9 + "@polkadot/x-global": ^6.9.2-9 + "@polkadot/x-ws": ^6.9.2-9 eventemitter3: ^4.0.7 mock-socket: ^9.0.3 nock: ^13.1.0 languageName: unknown linkType: soft -"@polkadot/ts@npm:^0.3.91": - version: 0.3.91 - resolution: "@polkadot/ts@npm:0.3.91" +"@polkadot/ts@npm:^0.4.1": + version: 0.4.1 + resolution: "@polkadot/ts@npm:0.4.1" dependencies: "@types/chrome": ^0.0.145 - checksum: 1ab644ebac9a1263b28f7bd21b7a2ae3243e472248e61049550849242a8ddd3643db622f41c0b82b694a273fea80ed996fba2b48d5c26232194aab4bd1ae5b6f + checksum: 12698097281fdaf13b627bf992dad3c700512963353dab348498d53fd980292d1e24c7406560e5e7e1b07add77fe79e430d10f5c0da643019a24783c0974e5b7 languageName: node linkType: hard @@ -2066,7 +2066,7 @@ __metadata: "@polkadot/metadata": 4.15.2-5 "@polkadot/rpc-provider": 4.15.2-5 "@polkadot/types": 4.15.2-5 - "@polkadot/util": ^6.9.1 + "@polkadot/util": ^6.9.2-9 "@types/websocket": ^1.0.2 "@types/yargs": ^17.0.0 handlebars: ^4.7.7 @@ -2086,9 +2086,9 @@ __metadata: resolution: "@polkadot/types-known@workspace:packages/types-known" dependencies: "@babel/runtime": ^7.14.6 - "@polkadot/networks": ^6.9.1 + "@polkadot/networks": ^6.9.2-9 "@polkadot/types": 4.15.2-5 - "@polkadot/util": ^6.9.1 + "@polkadot/util": ^6.9.2-9 languageName: unknown linkType: soft @@ -2097,28 +2097,28 @@ __metadata: resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.14.6 - "@polkadot/keyring": ^6.9.1 + "@polkadot/keyring": ^6.9.2-9 "@polkadot/metadata": 4.15.2-5 - "@polkadot/util": ^6.9.1 - "@polkadot/util-crypto": ^6.9.1 - "@polkadot/x-rxjs": ^6.9.1 + "@polkadot/util": ^6.9.2-9 + "@polkadot/util-crypto": ^6.9.2-9 + "@polkadot/x-rxjs": ^6.9.2-9 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 languageName: unknown linkType: soft -"@polkadot/util-crypto@npm:6.9.1, @polkadot/util-crypto@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/util-crypto@npm:6.9.1" +"@polkadot/util-crypto@npm:6.9.2-9, @polkadot/util-crypto@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/util-crypto@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/networks": 6.9.1 - "@polkadot/util": 6.9.1 + "@babel/runtime": ^7.14.6 + "@polkadot/networks": 6.9.2-9 + "@polkadot/util": 6.9.2-9 "@polkadot/wasm-crypto": ^4.0.2 - "@polkadot/x-randomvalues": 6.9.1 + "@polkadot/x-randomvalues": 6.9.2-9 base-x: ^3.0.8 base64-js: ^1.5.1 - blakejs: ^1.1.0 + blakejs: ^1.1.1 bn.js: ^4.11.9 create-hash: ^1.2.0 elliptic: ^6.5.4 @@ -2128,23 +2128,23 @@ __metadata: tweetnacl: ^1.0.3 xxhashjs: ^0.2.2 peerDependencies: - "@polkadot/util": 6.9.1 - checksum: 11a3a4d2a223e700096e8f153679dd6865918faa3e9bef54865354d3836ae563b9a078b2fb5733c625a60fe410ce2b2f8306970dfac2f224970c17822e8dadc6 + "@polkadot/util": 6.9.2-9 + checksum: 3baed2621e89185d2d2231c807c900490d22ca6d50ab61a0cd16b57eb77c15dbfebf8abb63535ff4e9d1f5c39657cff6a0e15b08c37ae43f97677428a1b6edee languageName: node linkType: hard -"@polkadot/util@npm:6.9.1, @polkadot/util@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/util@npm:6.9.1" +"@polkadot/util@npm:6.9.2-9, @polkadot/util@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/util@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/x-textdecoder": 6.9.1 - "@polkadot/x-textencoder": 6.9.1 + "@babel/runtime": ^7.14.6 + "@polkadot/x-textdecoder": 6.9.2-9 + "@polkadot/x-textencoder": 6.9.2-9 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 camelcase: ^5.3.1 ip-regex: ^4.3.0 - checksum: 709482f8bdbb6fe6737c3e1ac0fb9a7c637f5524d8cb8015cedffe3b5b84f46a02ee241db0935993f8117bd7fec3981f03638069007f14f12053fdd7ce4b1a6e + checksum: b4366243ae51771a0c18553c289cf76834ab0adbf4ab83c4307a80a0281e65d05f5c6d3d2ce563f3b0e1708587b02f72e63993bad69d9ae91334ba918a300df7 languageName: node linkType: hard @@ -2180,78 +2180,78 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/x-fetch@npm:6.9.1" +"@polkadot/x-fetch@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/x-fetch@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/x-global": 6.9.1 + "@babel/runtime": ^7.14.6 + "@polkadot/x-global": 6.9.2-9 "@types/node-fetch": ^2.5.10 node-fetch: ^2.6.1 - checksum: d5522011cfadaea2ab2ce9a3baeda7c3ea2bc189250720f07234134430c4fc9d34420cd33d849cb93ea18a948083e2e069d733897b0cb751ef5d5ca962a3ac5d + checksum: 5ebb95d3c16aa829e9c768a946e5ae44c24b1729eaf031547588615c7a001e36bd1598742fd082e837fdf21e776b7e754c80db777f3ba2cbc870d5738715ee7f languageName: node linkType: hard -"@polkadot/x-global@npm:6.9.1, @polkadot/x-global@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/x-global@npm:6.9.1" +"@polkadot/x-global@npm:6.9.2-9, @polkadot/x-global@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/x-global@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 + "@babel/runtime": ^7.14.6 "@types/node-fetch": ^2.5.10 node-fetch: ^2.6.1 - checksum: ba16d9875592dff8c60478089567988c521cce7ea008916325ead97d3aec683d2ebaf950f31de3be45358f2c54f8aa0f0155a4676321dc9d3d1f986cb06bc84d + checksum: 7cb28c73bd1ccdb53411ece97c91cc6e98f598c1284cb31ba9f646c06bd4c022f3aec6d7dad02d701a93bccecf13bf0f94ccef3302e249d41bd478f5914043fe languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:6.9.1": - version: 6.9.1 - resolution: "@polkadot/x-randomvalues@npm:6.9.1" +"@polkadot/x-randomvalues@npm:6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/x-randomvalues@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/x-global": 6.9.1 - checksum: fbd36b00c07b1f2656094f4032d4638e83d5591c86c9528ab10705633133746aa85bdbab18d6ebe21ef7bc95a03b57022512542400938ae0bf56e4ca0b650392 + "@babel/runtime": ^7.14.6 + "@polkadot/x-global": 6.9.2-9 + checksum: f7340233fd0b30b67c55461fe00de193487edfdc543cc54652566fd15ab12141dc3fffdab8cf4cdc14e5eb4e5ce4d31c3346a43d01fbd3cec713e372a6af98ac languageName: node linkType: hard -"@polkadot/x-rxjs@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/x-rxjs@npm:6.9.1" +"@polkadot/x-rxjs@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/x-rxjs@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 + "@babel/runtime": ^7.14.6 rxjs: ^6.6.7 - checksum: f76da1b52ea29e34b8625b2ad4b98592e0430e86e48cbccd048b6a8a882e89518341ac4605e3327d8da382b74d184f884df45e0ccf4a3912e021090d1ce9eb2a + checksum: 96989e4050c9a349b26423c3f4fd12a5ea73eac13854786235e8913a5ff30e7e9829e3a61e0d6e1dcfa777e19e3c493af8499593049aef066eb64bfb96c7b457 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:6.9.1": - version: 6.9.1 - resolution: "@polkadot/x-textdecoder@npm:6.9.1" +"@polkadot/x-textdecoder@npm:6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/x-textdecoder@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/x-global": 6.9.1 - checksum: 16e42e15448025fbcd4b4419f14c7fddd29cd179dd61c26a9b76cb3378c307694bcca171c616aed7c4c89d5807e45c02fbf0435380e9197a525469ec2389c76a + "@babel/runtime": ^7.14.6 + "@polkadot/x-global": 6.9.2-9 + checksum: be0215cbd1dcc4727958a0b9563163748a7462f7b938771f88a3e0404a7e071348ec4a982a72a4597f2e1f3f19d5d20236a26e37bf0eb2bafff56ed9cbb36e01 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:6.9.1": - version: 6.9.1 - resolution: "@polkadot/x-textencoder@npm:6.9.1" +"@polkadot/x-textencoder@npm:6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/x-textencoder@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/x-global": 6.9.1 - checksum: 7c0ea24cc49c103b782d169ad6647a179834a6539aaa835ca040926db071f64e703d0ce830a17a84ed1ddd5631340525192ad272c95a5137d7e8eb056abccc04 + "@babel/runtime": ^7.14.6 + "@polkadot/x-global": 6.9.2-9 + checksum: 7b5c90dc913d467bf685b05aebb90cd4c375aa134ded6f0e97bd687140a6ac6b463bd6fb74d8c149bf7d66a0c8f83d347f95e04514e772635ec4ad5847500ea1 languageName: node linkType: hard -"@polkadot/x-ws@npm:^6.9.1": - version: 6.9.1 - resolution: "@polkadot/x-ws@npm:6.9.1" +"@polkadot/x-ws@npm:^6.9.2-9": + version: 6.9.2-9 + resolution: "@polkadot/x-ws@npm:6.9.2-9" dependencies: - "@babel/runtime": ^7.14.5 - "@polkadot/x-global": 6.9.1 + "@babel/runtime": ^7.14.6 + "@polkadot/x-global": 6.9.2-9 "@types/websocket": ^1.0.2 websocket: ^1.0.34 - checksum: 0101b449615eac3eb8f2997f03e50cc8076c9fc118804bb49f6f3169e430542f79766ba33598c5d6076c5a4cb3fc55094058bcd48408b8a7552511e10592b799 + checksum: c3943a4e1325fe87868738291ccebbacd0cd6c4096ee2ecd318607e7ecd70d906659cb2bda20ce684b9bab6b7aac3f85f53bfbbd15becf4faf64edfccf5bb5c2 languageName: node linkType: hard @@ -3314,10 +3314,10 @@ __metadata: languageName: node linkType: hard -"blakejs@npm:^1.1.0": - version: 1.1.0 - resolution: "blakejs@npm:1.1.0" - checksum: 69df62aee27e30ff2af8d709dd4676e037f2e92ded09b0d1a8187d1a69edaf05f4e63f3f473a0e44576e517196e54193641eec345bcc505c8a221940ec491141 +"blakejs@npm:^1.1.1": + version: 1.1.1 + resolution: "blakejs@npm:1.1.1" + checksum: 77a0875af41fe0a6b15feacc69a4a730063df697b2932adbde15aa2c9c58a592870cd511a494ceee59cc8143ae64964dfa1bf301dab275b330debcd12c2b3db9 languageName: node linkType: hard @@ -9446,7 +9446,7 @@ resolve@^2.0.0-next.3: "@babel/register": ^7.14.5 "@babel/runtime": ^7.14.6 "@polkadot/dev": ^0.62.43 - "@polkadot/ts": ^0.3.91 + "@polkadot/ts": ^0.4.1 "@polkadot/typegen": "workspace:packages/typegen" "@types/jest": ^26.0.23 copyfiles: ^2.4.1