diff --git a/package.json b/package.json index b41f17609..218c57d41 100644 --- a/package.json +++ b/package.json @@ -49,9 +49,9 @@ "test:test-release": "yarn start:test-release" }, "dependencies": { - "@polkadot/api": "^6.12.1", - "@polkadot/apps-config": "0.98.2-124", - "@polkadot/util-crypto": "^8.1.2", + "@polkadot/api": "^7.0.1", + "@polkadot/apps-config": "0.98.2-164", + "@polkadot/util-crypto": "^8.2.2", "@polkadot/x-rxjs": "^6.11.1", "@substrate/calc": "^0.2.6", "argparse": "^2.0.1", @@ -75,14 +75,14 @@ "tsc-watch": "^4.4.0" }, "resolutions": { - "@polkadot/api": "6.12.1", - "@polkadot/keyring": "8.1.2", - "@polkadot/networks": "8.1.2", - "@polkadot/types": "6.12.1", - "@polkadot/types-known": "6.12.1", - "@polkadot/util": "8.1.2", - "@polkadot/util-crypto": "8.1.2", - "@polkadot/wasm-crypto": "4.4.1", + "@polkadot/api": "7.0.1", + "@polkadot/keyring": "8.2.2", + "@polkadot/networks": "8.2.2", + "@polkadot/types": "7.0.1", + "@polkadot/types-known": "7.0.1", + "@polkadot/util": "8.2.2", + "@polkadot/util-crypto": "8.2.2", + "@polkadot/wasm-crypto": "4.5.1", "bn.js": "4.12.0", "node-forge": ">=0.10.0", "node-fetch": ">=2.6.1", diff --git a/src/controllers/blocks/BlocksTraceController.ts b/src/controllers/blocks/BlocksTraceController.ts index 2d991e9fe..b0e60a6a8 100644 --- a/src/controllers/blocks/BlocksTraceController.ts +++ b/src/controllers/blocks/BlocksTraceController.ts @@ -44,10 +44,11 @@ export default class BlocksTraceController extends AbstractController => { const hash = await this.api.rpc.chain.getFinalizedHead(); const includeActions = actions === 'true'; + const historicApi = await this.api.at(hash); BlocksController.sanitizedSend( res, - await this.service.operations(hash, includeActions) + await this.service.operations(hash, historicApi, includeActions) ); }; @@ -57,10 +58,11 @@ export default class BlocksTraceController extends AbstractController => { const hash = await this.getHashForBlock(number); const includeActions = actions === 'true'; + const historicApi = await this.api.at(hash); BlocksController.sanitizedSend( res, - await this.service.operations(hash, includeActions) + await this.service.operations(hash, historicApi, includeActions) ); }; } diff --git a/src/main.ts b/src/main.ts index dfe961a80..7051643a8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,6 +16,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +// Introduced via `@polkadot/api v7.0.1`. +import '@polkadot/api-augment'; + import { ApiPromise } from '@polkadot/api'; import * as apps from '@polkadot/apps-config/api'; import { WsProvider } from '@polkadot/rpc-provider'; diff --git a/src/sanitize/sanitizeNumbers.spec.ts b/src/sanitize/sanitizeNumbers.spec.ts index 76b3892e9..51205045e 100644 --- a/src/sanitize/sanitizeNumbers.spec.ts +++ b/src/sanitize/sanitizeNumbers.spec.ts @@ -25,8 +25,7 @@ import { Vec, VecFixed, } from '@polkadot/types'; -import { CodecDate } from '@polkadot/types/codec/Date'; -import { UInt } from '@polkadot/types/codec/UInt'; +import { CodecDate, UInt } from '@polkadot/types-codec'; import BN from 'bn.js'; import { diff --git a/src/sanitize/sanitizeNumbers.ts b/src/sanitize/sanitizeNumbers.ts index 64e595789..7d9be4d04 100644 --- a/src/sanitize/sanitizeNumbers.ts +++ b/src/sanitize/sanitizeNumbers.ts @@ -6,10 +6,12 @@ import { Set as CodecSet, Struct, } from '@polkadot/types'; -import { AbstractArray } from '@polkadot/types/codec/AbstractArray'; -import { AbstractInt } from '@polkadot/types/codec/AbstractInt'; -import { Json } from '@polkadot/types/codec/Json'; -import { CodecMap } from '@polkadot/types/codec/Map'; +import { + AbstractArray, + AbstractInt, + CodecMap, + Json, +} from '@polkadot/types-codec'; import { isObject, stringCamelCase } from '@polkadot/util'; import BN from 'bn.js'; import { InternalServerError } from 'http-errors'; diff --git a/src/services/blocks/BlocksService.spec.ts b/src/services/blocks/BlocksService.spec.ts index a382e8896..5fa6277f9 100644 --- a/src/services/blocks/BlocksService.spec.ts +++ b/src/services/blocks/BlocksService.spec.ts @@ -1,7 +1,7 @@ import { ApiPromise } from '@polkadot/api'; import { ApiDecoration } from '@polkadot/api/types'; import { AugmentedConst } from '@polkadot/api/types'; -import { PromiseRpcResult } from '@polkadot/api/types/rpc'; +import { PromiseRpcResult } from '@polkadot/api-base/types/rpc'; import { GenericExtrinsic, u128 } from '@polkadot/types'; import { GenericCall } from '@polkadot/types/generic'; import { BlockHash, Hash, SignedBlock } from '@polkadot/types/interfaces'; @@ -360,14 +360,14 @@ describe('BlocksService', () => { expect(() => blocksService['parseGenericCall']( {} as unknown as GenericCall, - mockBlock789629.registry + mockHistoricApi.registry ) ).toThrow()); it('parses a simple balances.transfer', () => { expect( JSON.stringify( - blocksService['parseGenericCall'](transfer, mockBlock789629.registry) + blocksService['parseGenericCall'](transfer, mockHistoricApi.registry) ) ).toBe(JSON.stringify(transferOutput)); }); @@ -401,7 +401,7 @@ describe('BlocksService', () => { expect( JSON.stringify( - blocksService['parseGenericCall'](batch4, mockBlock789629.registry) + blocksService['parseGenericCall'](batch4, mockHistoricApi.registry) ) ).toBe( JSON.stringify({ @@ -461,7 +461,7 @@ describe('BlocksService', () => { expect( JSON.stringify( - blocksService['parseGenericCall'](batch, mockBlock789629.registry) + blocksService['parseGenericCall'](batch, mockHistoricApi.registry) ) ).toEqual( JSON.stringify({ diff --git a/src/services/blocks/BlocksService.ts b/src/services/blocks/BlocksService.ts index 237315909..068306b7c 100644 --- a/src/services/blocks/BlocksService.ts +++ b/src/services/blocks/BlocksService.ts @@ -2,7 +2,6 @@ import { ApiPromise } from '@polkadot/api'; import { ApiDecoration } from '@polkadot/api/types'; import { extractAuthor } from '@polkadot/api-derive/type/util'; import { Compact, GenericCall, Struct, Vec } from '@polkadot/types'; -import { AbstractInt } from '@polkadot/types/codec/AbstractInt'; import { AccountId32, Block, @@ -15,6 +14,7 @@ import { Header, } from '@polkadot/types/interfaces'; import { AnyJson, Codec, Registry } from '@polkadot/types/types'; +import { AbstractInt } from '@polkadot/types-codec'; import { u8aToHex } from '@polkadot/util'; import { blake2AsU8a } from '@polkadot/util-crypto'; import { CalcFee } from '@substrate/calc'; @@ -126,6 +126,7 @@ export class BlocksService extends AbstractService { const nonSanitizedExtrinsics = this.extractExtrinsics( block, events, + historicApi.registry, extrinsicDocs ); @@ -353,21 +354,16 @@ export class BlocksService extends AbstractService { * * @param block Block * @param events events fetched by `fetchEvents` + * @param regsitry The corresponding blocks runtime registry + * @param extrinsicDocs To include the extrinsic docs or not */ private extractExtrinsics( block: Block, events: Vec | string, + registry: Registry, extrinsicDocs: boolean ) { const defaultSuccess = typeof events === 'string' ? events : false; - // Note, if events is a string then there was an issue getting them from the node. - // In this case we try and create the calls with the registry on `block`. - // The block from `api.derive.chain.getBlock` has the most recent registry, - // which could cause issues with historical querries. - // On the other hand, we know `events` will have the correctly dated query - // since it is a storage query. - const registry = - typeof events === 'string' ? block.registry : events.registry; return block.extrinsics.map((extrinsic) => { const { method, nonce, signature, signer, isSigned, tip, era } = diff --git a/src/services/blocks/BlocksTraceService.spec.ts b/src/services/blocks/BlocksTraceService.spec.ts index c7cd8f359..7266198cb 100644 --- a/src/services/blocks/BlocksTraceService.spec.ts +++ b/src/services/blocks/BlocksTraceService.spec.ts @@ -1,10 +1,8 @@ +import { ApiDecoration } from '@polkadot/api/types'; + import { sanitizeNumbers } from '../../sanitize/sanitizeNumbers'; import { kusamRegistryV2025 } from '../../test-helpers/registries'; -import { - blockHash789629, - defaultMockApi, - mockBlock789629, -} from '../test-helpers/mock'; +import { blockHash789629, defaultMockApi } from '../test-helpers/mock'; import { keyNames } from '../test-helpers/mock/data/getKeyNames'; import operationsResponse from '../test-helpers/responses/blocks/operations.json'; import tracesResponse from '../test-helpers/responses/blocks/traces.json'; @@ -16,11 +14,13 @@ import { Trace } from './trace'; * for testing and then reassign it back to the original after this test suite is done. */ const tempGetKeyNames = Trace['getKeyNames'].bind(Trace); + /** - * Save the refference to the mockBlock789629's registry so we can reassign it back once - * the tests are over. + * HistoricApi used in order to create the correct types per the blocks runtime. */ -const tempMockBlock789629Registry = mockBlock789629.registry; +const mockHistoricApi = { + registry: kusamRegistryV2025, +} as unknown as ApiDecoration<'promise'>; /** * BlocksTraceService mock @@ -28,17 +28,12 @@ const tempMockBlock789629Registry = mockBlock789629.registry; const blocksTraceService = new BlocksTraceService(defaultMockApi); beforeAll(() => { - // Override registry so we correctly create kusama types. - // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any - (mockBlock789629 as any).registry = kusamRegistryV2025; Trace['getKeyNames'] = () => keyNames; }); afterAll(() => { // Clean up our test specific overrides Trace['getKeyNames'] = tempGetKeyNames; - // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any - (mockBlock789629 as any).registry = tempMockBlock789629Registry; }); describe('BlocksTraceService', () => { @@ -54,7 +49,11 @@ describe('BlocksTraceService', () => { it('works when ApiPromise works (without `actions`)', async () => { expect( sanitizeNumbers( - await blocksTraceService.operations(blockHash789629, false) + await blocksTraceService.operations( + blockHash789629, + mockHistoricApi, + false + ) ) ).toMatchObject(operationsResponse); }); diff --git a/src/services/blocks/BlocksTraceService.ts b/src/services/blocks/BlocksTraceService.ts index 76c50160f..2d54350f6 100644 --- a/src/services/blocks/BlocksTraceService.ts +++ b/src/services/blocks/BlocksTraceService.ts @@ -1,3 +1,4 @@ +import { ApiDecoration } from '@polkadot/api/types'; import { BlockHash } from '@polkadot/types/interfaces'; import { BlockTrace as PdJsBlockTrace } from '@polkadot/types/interfaces'; import { InternalServerError } from 'http-errors'; @@ -74,10 +75,12 @@ export class BlocksTraceService extends AbstractService { * Get the balance changing operations induced by a block. * * @param hash `BlockHash` to get balance transfer operations at. + * @param historicApi ApiDecoration used to retrieve the correct registry * @param includeActions whether or not to include `actions` field in the response. */ async operations( hash: BlockHash, + historicApi: ApiDecoration<'promise'>, includeActions: boolean ): Promise { const [{ block }, traceResponse] = await Promise.all([ @@ -93,7 +96,7 @@ export class BlocksTraceService extends AbstractService { const trace = new Trace( this.api, BlocksTraceService.formatBlockTrace(traceResponse.asBlockTrace), - block.registry + historicApi.registry ); const { operations, actions } = trace.actionsAndOps(); diff --git a/src/services/paras/ParasService.spec.ts b/src/services/paras/ParasService.spec.ts index b5e694a81..12f509d1f 100644 --- a/src/services/paras/ParasService.spec.ts +++ b/src/services/paras/ParasService.spec.ts @@ -1,9 +1,9 @@ import { ApiPromise } from '@polkadot/api'; import { ApiDecoration } from '@polkadot/api/types'; import { Option, Tuple, Vec } from '@polkadot/types'; -import { AbstractInt } from '@polkadot/types/codec/AbstractInt'; import { BlockNumber, Hash } from '@polkadot/types/interfaces'; import { Codec } from '@polkadot/types/types'; +import { AbstractInt } from '@polkadot/types-codec'; import BN from 'bn.js'; import { sanitizeNumbers } from '../../sanitize/sanitizeNumbers'; diff --git a/src/types/responses/Paras.ts b/src/types/responses/Paras.ts index d0a5cc157..52fee20ec 100644 --- a/src/types/responses/Paras.ts +++ b/src/types/responses/Paras.ts @@ -1,5 +1,4 @@ import { Option } from '@polkadot/types/codec'; -import { AbstractInt } from '@polkadot/types/codec/AbstractInt'; import { AccountId, BalanceOf, @@ -7,6 +6,7 @@ import { ParaId, ParaLifecycle, } from '@polkadot/types/interfaces'; +import { AbstractInt } from '@polkadot/types-codec/abstract'; import BN from 'bn.js'; import { IOption } from '../util'; diff --git a/yarn.lock b/yarn.lock index 1c7e9e3a9..22a719408 100644 --- a/yarn.lock +++ b/yarn.lock @@ -407,12 +407,12 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.9.6": - version: 7.16.3 - resolution: "@babel/runtime@npm:7.16.3" +"@babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.16.5, @babel/runtime@npm:^7.9.6": + version: 7.16.5 + resolution: "@babel/runtime@npm:7.16.5" dependencies: regenerator-runtime: ^0.13.4 - checksum: ab8ac887096d76185ddbf291d28fb976cd32473696dc497ad4905b784acbd5aa462533ad83a5c5104e10ead28c2e0e119840ee28ed8eff90dcdde9d57f916eda + checksum: b96e67280efe581c6147b4fe984dfe08a8fbea048934a092f3cbf4dcf61725f6b221cb0c879b6e6e98671f83a104c9e8cfbd24c683e5ebcc886a731aa8984ad0 languageName: node linkType: hard @@ -461,12 +461,12 @@ __metadata: languageName: node linkType: hard -"@bifrost-finance/type-definitions@npm:1.3.12": - version: 1.3.12 - resolution: "@bifrost-finance/type-definitions@npm:1.3.12" +"@bifrost-finance/type-definitions@npm:1.3.15": + version: 1.3.15 + resolution: "@bifrost-finance/type-definitions@npm:1.3.15" dependencies: "@open-web3/orml-type-definitions": ^0.9.4-7 - checksum: b2566bac328000150dcfb134b823f26c7aa7cfd2659509fdd3d8e1e707866402d2138a512e2cdf3b6aa8f8c9db232d4df198a61b5ca0aaef2f40cfd58c18bd5c + checksum: 51e00ed329032bd5f5db4209476542518d492b7b6fc05f4cb63bf29ea55d9fb4a246b71ba62f0142de7b450df115df2b590be34a137b11331ae77f14c1d22b36 languageName: node linkType: hard @@ -490,24 +490,24 @@ __metadata: languageName: node linkType: hard -"@darwinia/types-known@npm:^2.6.100-1": - version: 2.6.100 - resolution: "@darwinia/types-known@npm:2.6.100" +"@darwinia/types-known@npm:^2.6.100-2": + version: 2.7.2 + resolution: "@darwinia/types-known@npm:2.7.2" dependencies: "@babel/runtime": ^7.9.6 "@polkadot/types": 4.0.4-5 "@polkadot/util": 6.0.5 bn.js: ^5.1.2 - checksum: 83b593827ca60ae82f1965f59cad0e00f296ada2723768073c0c4d630b4c9619e88e7591cee522d879157e02c973979d8773bc758f233e96784e76a0d3052278 + checksum: a88c4c20836fa1b405dcc5bb8adef77fd936cd4aa5d418337382fbb0d8652cb9671d646ce00926044b9418dadd64f5e72931156c83e4c0a5ff0ece18390ea8e7 languageName: node linkType: hard -"@darwinia/types@npm:2.6.100-1": - version: 2.6.100-1 - resolution: "@darwinia/types@npm:2.6.100-1" +"@darwinia/types@npm:2.6.100-2": + version: 2.6.100-2 + resolution: "@darwinia/types@npm:2.6.100-2" dependencies: - "@darwinia/types-known": ^2.6.100-1 - checksum: cba49fe5974ddf8143bf173c4f62b9aa0af90656aed9d3a647203cdc272146763304a8c93e980cf5d24028a4f80fb474164d25fb043cbbbffe33681dfc88d291 + "@darwinia/types-known": ^2.6.100-2 + checksum: acc4b75711600ba6320afa72b2229195989173b51c7243bdc6eaa3e8e648edbab3deeb859287ec69139ee96369472342f56b733ebae3901d1e4706a21a9efce8 languageName: node linkType: hard @@ -535,10 +535,10 @@ __metadata: languageName: node linkType: hard -"@equilab/definitions@npm:1.4.4": - version: 1.4.4 - resolution: "@equilab/definitions@npm:1.4.4" - checksum: 54c37eb96a3d8aab931b835ddb5087c85ae3313e78e4b85039a658a13c4a7841ac65212a442a43cdcde4cd1221e3132800c2e540ed3194bdecc95d280f1c4dda +"@equilab/definitions@npm:1.4.6": + version: 1.4.6 + resolution: "@equilab/definitions@npm:1.4.6" + checksum: 58428932d57f7049925c053d9baf0f14d58d7fc3cf80aafb8829fc8a1848ae63268608525bc46ee1945c7a8b894db33c6ffabb86aec6949e8e4bd9e20738e5c5 languageName: node linkType: hard @@ -577,10 +577,10 @@ __metadata: languageName: node linkType: hard -"@interlay/interbtc-types@npm:1.1.1": - version: 1.1.1 - resolution: "@interlay/interbtc-types@npm:1.1.1" - checksum: 48a25655be96c4371ed1227bc9462b10d28e525a6b54b6b22a24c6b60b0c63592a0eed19d0ebe50d9818850e8bf967f0646da1c765b1966458965e8abae3d78b +"@interlay/interbtc-types@npm:1.3.0": + version: 1.3.0 + resolution: "@interlay/interbtc-types@npm:1.3.0" + checksum: 824bf57853c13102d7dd1fbd23b35419f5de360cd3698a792661dd85c0061fb82023eb00923b908d68c8a5e75235129b2f0d08c4cfe6c5d49729e6e60dec8b3d languageName: node linkType: hard @@ -830,17 +830,17 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:0.4.1": - version: 0.4.1 - resolution: "@noble/hashes@npm:0.4.1" - checksum: 3c706beec3bcd9e43f2b88c0791f022b645b5c0a9dd76889dfc189e51da2f0c692ef846b5889e074338353e335269c14f4c0ea34329b4d7dd45ae82c482b4605 +"@noble/hashes@npm:^0.4.5": + version: 0.4.5 + resolution: "@noble/hashes@npm:0.4.5" + checksum: 0de28bda5517989d4893db2f1913ca052d22f549a530965599b36f946753bef1d552d60a4be831723a0d81f9bcca3a5f7c9a1d30d4308d11657f9879ad288d03 languageName: node linkType: hard -"@noble/secp256k1@npm:^1.3.0": - version: 1.3.0 - resolution: "@noble/secp256k1@npm:1.3.0" - checksum: 4bf5e2a905e0dacbf3b557da74e4073d208b8407f4e1fc95e244c17c6af686fd1870668d231b9f2e774091d72be79baf1c0e50f5ddc9db6fb82b206e23b9b335 +"@noble/secp256k1@npm:^1.3.4": + version: 1.3.4 + resolution: "@noble/secp256k1@npm:1.3.4" + checksum: af1f1e76387f1a081315550a938b6cee58ea9d844472eadde0a3cb42ad317bd5d824748e7ff96bcf23e45a346bd5a2aed536b450c635f664f3a1dce674ce7648 languageName: node linkType: hard @@ -924,289 +924,377 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-derive@npm:6.12.1": - version: 6.12.1 - resolution: "@polkadot/api-derive@npm:6.12.1" +"@polkadot/api-augment@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/api-augment@npm:7.0.1" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/api": 6.12.1 - "@polkadot/rpc-core": 6.12.1 - "@polkadot/types": 6.12.1 - "@polkadot/util": ^8.1.2 - "@polkadot/util-crypto": ^8.1.2 - rxjs: ^7.4.0 - checksum: 95499263c6f16a7bde2b75123ef78d75e194dcf7aa16b6366bf9048cb4b6ff2194a0c6ab337a8de82067dac58f6884f0f772d4d30a8465a2dad116ea59c19fd7 + "@babel/runtime": ^7.16.5 + "@polkadot/api-base": 7.0.1 + "@polkadot/rpc-augment": 7.0.1 + "@polkadot/types": 7.0.1 + "@polkadot/types-augment": 7.0.1 + "@polkadot/types-codec": 7.0.1 + "@polkadot/util": ^8.2.2 + checksum: 2f1b17150b45133c296dd5b98f1be846b2cd5ad9e802c534a8fec4c0e95bfe59deeaca1ef7054e3ab8ff70ba44e89b4ff549329cf3cdd839396e2a1cd6788f4b languageName: node linkType: hard -"@polkadot/api@npm:6.12.1": - version: 6.12.1 - resolution: "@polkadot/api@npm:6.12.1" +"@polkadot/api-base@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/api-base@npm:7.0.1" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/api-derive": 6.12.1 - "@polkadot/keyring": ^8.1.2 - "@polkadot/rpc-core": 6.12.1 - "@polkadot/rpc-provider": 6.12.1 - "@polkadot/types": 6.12.1 - "@polkadot/types-known": 6.12.1 - "@polkadot/util": ^8.1.2 - "@polkadot/util-crypto": ^8.1.2 + "@babel/runtime": ^7.16.5 + "@polkadot/rpc-core": 7.0.1 + "@polkadot/types": 7.0.1 + "@polkadot/util": ^8.2.2 + rxjs: ^7.4.0 + checksum: c89765470389524a7c1d74591bb93e3c9d102af7cb1168edd1ef9892fc92c1609cadb765bacaf894522dc90f558a555a3a84bbb315614aef11794908db3f8a64 + languageName: node + linkType: hard + +"@polkadot/api-derive@npm:7.0.1, @polkadot/api-derive@npm:^7.0.1": + version: 7.0.1 + resolution: "@polkadot/api-derive@npm:7.0.1" + dependencies: + "@babel/runtime": ^7.16.5 + "@polkadot/api": 7.0.1 + "@polkadot/api-base": 7.0.1 + "@polkadot/rpc-core": 7.0.1 + "@polkadot/types": 7.0.1 + "@polkadot/types-codec": 7.0.1 + "@polkadot/util": ^8.2.2 + "@polkadot/util-crypto": ^8.2.2 + rxjs: ^7.4.0 + checksum: be1c4af5acb4370ec45d2083ddc56723c6b13f30b6e53f96c3ae3052fe551974ec63ac33b46bd6214902bf749cd9a256fb2aa549ad9de45e0e221a77dd0edf92 + languageName: node + linkType: hard + +"@polkadot/api@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/api@npm:7.0.1" + dependencies: + "@babel/runtime": ^7.16.5 + "@polkadot/api-augment": 7.0.1 + "@polkadot/api-base": 7.0.1 + "@polkadot/api-derive": 7.0.1 + "@polkadot/keyring": ^8.2.2 + "@polkadot/rpc-augment": 7.0.1 + "@polkadot/rpc-core": 7.0.1 + "@polkadot/rpc-provider": 7.0.1 + "@polkadot/types": 7.0.1 + "@polkadot/types-augment": 7.0.1 + "@polkadot/types-codec": 7.0.1 + "@polkadot/types-create": 7.0.1 + "@polkadot/types-known": 7.0.1 + "@polkadot/util": ^8.2.2 + "@polkadot/util-crypto": ^8.2.2 eventemitter3: ^4.0.7 rxjs: ^7.4.0 - checksum: de64607d58338e113e567e38fef9ac684ba1e31c66503928999d067e6aae6531ba7e898f166d245fbc57fb9da27d51090353aa13cb91b7ed0b4864f58d33484f + checksum: 5d1d62b7736047f2c3b150895bb820f1a4cede32ff4991afd827b00a0b3ad6665706e91b0f1d282517dfa3c5b8253489ca89b6c431731dddf4566e6a0469b5eb languageName: node linkType: hard -"@polkadot/apps-config@npm:0.98.2-124": - version: 0.98.2-124 - resolution: "@polkadot/apps-config@npm:0.98.2-124" +"@polkadot/apps-config@npm:0.98.2-164": + version: 0.98.2-164 + resolution: "@polkadot/apps-config@npm:0.98.2-164" dependencies: "@acala-network/type-definitions": ^3.0.2-4 - "@babel/runtime": ^7.16.3 - "@bifrost-finance/type-definitions": 1.3.12 + "@babel/runtime": ^7.16.5 + "@bifrost-finance/type-definitions": 1.3.15 "@crustio/type-definitions": 1.2.0 - "@darwinia/types": 2.6.100-1 + "@darwinia/types": 2.6.100-2 "@digitalnative/type-definitions": 1.1.26 "@docknetwork/node-types": 0.6.0 "@edgeware/node-types": 3.6.2-wako - "@equilab/definitions": 1.4.4 - "@interlay/interbtc-types": 1.1.1 + "@equilab/definitions": 1.4.6 + "@interlay/interbtc-types": 1.3.0 "@kiltprotocol/type-definitions": 0.1.23 "@laminar/type-definitions": 0.3.1 "@metaverse-network-sdk/type-definitions": ^0.0.1-6 "@parallel-finance/type-definitions": 1.4.4 "@phala/typedefs": 0.2.29 - "@polkadot/networks": ^8.1.2 + "@polkadot/api": ^7.0.1 + "@polkadot/api-derive": ^7.0.1 + "@polkadot/networks": ^8.2.2 + "@polkadot/types": ^7.0.1 + "@polkadot/util": ^8.2.2 + "@polkadot/x-fetch": ^8.2.2 "@polymathnetwork/polymesh-types": 0.0.2 "@snowfork/snowbridge-types": 0.2.6 - "@sora-substrate/type-definitions": 1.6.22 - "@subsocial/types": 0.6.5-dev.6 + "@sora-substrate/type-definitions": 1.6.30 + "@subsocial/types": 0.6.5 "@unique-nft/types": 0.2.0 - "@zeitgeistpm/type-defs": 0.3.5 - "@zeroio/type-definitions": 0.0.13 + "@zeitgeistpm/type-defs": 0.3.7 + "@zeroio/type-definitions": 0.0.14 + i18next: ^21.6.0 lodash: ^4.17.21 - moonbeam-types-bundle: 2.0.1 + moonbeam-types-bundle: 2.0.2 pontem-types-bundle: 1.0.15 rxjs: ^7.4.0 - checksum: 82f3431b95894ac9522e0c6216db0db12d28c7a1fae10910f71b232dd7fd9f802d215e62583db584f95bdb215c2473f44d7717b4ee45d1de01dd86a973f78d72 + checksum: 36bb8eed16c69b2da3a7890568990d183b35474edccd7f2d9bf4f5578e154d1c9445e4e6e9ec6d79e998b62ae2e16017e65193eea50f859d7f3774eaf7023bdf languageName: node linkType: hard -"@polkadot/keyring@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/keyring@npm:8.1.2" +"@polkadot/keyring@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/keyring@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/util": 8.1.2 - "@polkadot/util-crypto": 8.1.2 + "@babel/runtime": ^7.16.5 + "@polkadot/util": 8.2.2 + "@polkadot/util-crypto": 8.2.2 peerDependencies: - "@polkadot/util": 8.1.2 - "@polkadot/util-crypto": 8.1.2 - checksum: 72a2f53190b00f4483f32da97ce678b8f334d0f43022237d360b1f6a934ec647ef664cca8185b14d078b490852fd7e9e7cb90f60598ebbf6937b07e8e4d4ec9e + "@polkadot/util": 8.2.2 + "@polkadot/util-crypto": 8.2.2 + checksum: 9ed75d2dbe69adac418c3f4f26932eea381c3a90ff7b55b42a0b73ad2525ae628f5673eb95cbf784aeafcbdbd10c650ee301740391a4cb63b8d5616a479489c8 languageName: node linkType: hard -"@polkadot/networks@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/networks@npm:8.1.2" +"@polkadot/networks@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/networks@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - checksum: 3b6b4ab7fb3117d51d032200b41bacb8123c1b4a7d1b76e998ad69200bbb9f429cf18f261b761007be709ace348af790614043c7a18715f97ab3bd0434203795 + "@babel/runtime": ^7.16.5 + checksum: 0aa898b80d5effa4099bea93ae5de5ed9abbe87f38b1d0d36a6c55470ea3bd0e84c1941a51fd2960f8063aa3e03ef242d26576eeaa5ab8368d9f9f912bb41dd1 languageName: node linkType: hard -"@polkadot/rpc-core@npm:6.12.1": - version: 6.12.1 - resolution: "@polkadot/rpc-core@npm:6.12.1" +"@polkadot/rpc-augment@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/rpc-augment@npm:7.0.1" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/rpc-provider": 6.12.1 - "@polkadot/types": 6.12.1 - "@polkadot/util": ^8.1.2 - rxjs: ^7.4.0 - checksum: b994c705de098905b5bfd9648feac6bb7dda05f7d4211d40cd958ac5288e0a2f59a5b96fc67fa1dee33c975045decba224a0f0a91fad8fa1ce7b22b011fae9d7 + "@babel/runtime": ^7.16.5 + "@polkadot/rpc-core": 7.0.1 + "@polkadot/types": 7.0.1 + "@polkadot/types-codec": 7.0.1 + "@polkadot/util": ^8.2.2 + checksum: 5f9cc91c001d3db87b5aaf6410b50d88c79a768a7dceb0e8b893dd9771d78b9befe6137687a27e094a3e573f42ad5b710dae86324c44b851866254608ec7cf04 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:6.12.1": - version: 6.12.1 - resolution: "@polkadot/rpc-provider@npm:6.12.1" +"@polkadot/rpc-core@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/rpc-core@npm:7.0.1" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/types": 6.12.1 - "@polkadot/util": ^8.1.2 - "@polkadot/util-crypto": ^8.1.2 - "@polkadot/x-fetch": ^8.1.2 - "@polkadot/x-global": ^8.1.2 - "@polkadot/x-ws": ^8.1.2 + "@babel/runtime": ^7.16.5 + "@polkadot/rpc-augment": 7.0.1 + "@polkadot/rpc-provider": 7.0.1 + "@polkadot/types": 7.0.1 + "@polkadot/util": ^8.2.2 + rxjs: ^7.4.0 + checksum: 307731a92bfda9020e029f1e27744b724407f312896550937bba97b2c3098b0ca5a40a8d7df5c1aa969f142e180bbd824989691e190cfffa992654a193ba0d87 + languageName: node + linkType: hard + +"@polkadot/rpc-provider@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/rpc-provider@npm:7.0.1" + dependencies: + "@babel/runtime": ^7.16.5 + "@polkadot/keyring": ^8.2.2 + "@polkadot/types": 7.0.1 + "@polkadot/types-support": 7.0.1 + "@polkadot/util": ^8.2.2 + "@polkadot/util-crypto": ^8.2.2 + "@polkadot/x-fetch": ^8.2.2 + "@polkadot/x-global": ^8.2.2 + "@polkadot/x-ws": ^8.2.2 eventemitter3: ^4.0.7 - checksum: 30648f646c541506d328281122ac29b18ffabeea97682ba762d2db159f198b218fa007f963c84e910de6d67a7ca24851b4eec6327feee597fa1137aebcdf62e1 + mock-socket: ^9.0.8 + nock: ^13.2.1 + checksum: a11db3103a905e83013394e105a24cbb36dd3552bbc793f3b1486bfacca2c1ecfdc1fb87fd43ef1b7806ffddaf43baf067b552bb76a0ff5c0f8638a11009b3a3 languageName: node linkType: hard -"@polkadot/types-known@npm:6.12.1": - version: 6.12.1 - resolution: "@polkadot/types-known@npm:6.12.1" +"@polkadot/types-augment@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/types-augment@npm:7.0.1" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/networks": ^8.1.2 - "@polkadot/types": 6.12.1 - "@polkadot/util": ^8.1.2 - checksum: a15ad68e9c19fefc70d74e216b5fa3c53410ef69494bf514a8128853354f1dd87bdf338fef303f1474adacff044eef24fb59f2a78f59b85134a7139d4f089eb2 + "@babel/runtime": ^7.16.5 + "@polkadot/types": 7.0.1 + "@polkadot/types-codec": 7.0.1 + "@polkadot/util": ^8.2.2 + checksum: 2a8ca48e04cfd676a7aa891a4d32f1fe4d9b7765af34b7b48a5087c83b9e51b34a528152dee538dc0dfe4eb050214eb6eeb1048e1bc0d0a4fe91157450d9565b languageName: node linkType: hard -"@polkadot/types-support@npm:6.6.1": - version: 6.6.1 - resolution: "@polkadot/types-support@npm:6.6.1" +"@polkadot/types-codec@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/types-codec@npm:7.0.1" dependencies: - "@babel/runtime": ^7.15.4 - "@polkadot/util": ^7.7.1 - checksum: 3d4d316430a5407c3b0caaf016903b066cc5dd1d6ef93da8a9763ff73033a8be443e5248a48e1d0242b6067ee8bc61d93352f1f38469a87ad92743400cf8a3c6 + "@babel/runtime": ^7.16.5 + "@polkadot/util": ^8.2.2 + checksum: 0824d9fba349dfd8df43cd8e8c2d8bf2c421c29151ef4628bb983465faf01524cb0fc374ddf962d395e9d0f4add6a5987caad81dadd62e26c66e2349250210fe languageName: node linkType: hard -"@polkadot/types@npm:6.12.1": - version: 6.12.1 - resolution: "@polkadot/types@npm:6.12.1" +"@polkadot/types-create@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/types-create@npm:7.0.1" + dependencies: + "@babel/runtime": ^7.16.5 + "@polkadot/types-codec": 7.0.1 + "@polkadot/util": ^8.2.2 + checksum: 9180d351baac10d67523ed9fd1be6b66f8a767eb30751ecfff5a8d1d2fc396c08a02ec0e28ebb473ce09c250cf4f5d059bc563abcb467ee6f462b6960da08945 + languageName: node + linkType: hard + +"@polkadot/types-known@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/types-known@npm:7.0.1" + dependencies: + "@babel/runtime": ^7.16.5 + "@polkadot/networks": ^8.2.2 + "@polkadot/types": 7.0.1 + "@polkadot/types-codec": 7.0.1 + "@polkadot/types-create": 7.0.1 + "@polkadot/util": ^8.2.2 + checksum: 91defef12ca77ba0db1207187094c771fc893285824dccbef6644582e6a3120a58c52bf8d68cf7d5ce655beb7a29a71135068e5b385c5651f57f983e3d3d5f76 + languageName: node + linkType: hard + +"@polkadot/types-support@npm:6.9.2": + version: 6.9.2 + resolution: "@polkadot/types-support@npm:6.9.2" dependencies: "@babel/runtime": ^7.16.3 - "@polkadot/types-known": 6.12.1 - "@polkadot/util": ^8.1.2 - "@polkadot/util-crypto": ^8.1.2 + "@polkadot/util": ^7.9.2 + checksum: 379819a3a9e40c22b30ecb95c9e39742696ad1e1e2e68cfa5a456d81e76066520f187d0a8fba02a805217121405504af75286284004befcaf6b5447d50eb77cc + languageName: node + linkType: hard + +"@polkadot/types-support@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/types-support@npm:7.0.1" + dependencies: + "@babel/runtime": ^7.16.5 + "@polkadot/util": ^8.2.2 + checksum: 9864571e378b50e80f7b975be4c8a786591350f53ab77b0a5747e78097ad69330b41bb2985a43a25ae34cffa988ff65ec0be83ed2175788e29b262a961005266 + languageName: node + linkType: hard + +"@polkadot/types@npm:7.0.1": + version: 7.0.1 + resolution: "@polkadot/types@npm:7.0.1" + dependencies: + "@babel/runtime": ^7.16.5 + "@polkadot/keyring": ^8.2.2 + "@polkadot/types-augment": 7.0.1 + "@polkadot/types-codec": 7.0.1 + "@polkadot/types-create": 7.0.1 + "@polkadot/util": ^8.2.2 + "@polkadot/util-crypto": ^8.2.2 rxjs: ^7.4.0 - checksum: 0c067505e175c31231d083ce06f693d043e4a937075402ff6a67c84a280c8c1526ec8845f3c75fbba193464d9790bb34d65027c5c627521989b892d6e5fcb9b2 + checksum: 0f35c0f6f2e0ececeeab9981f0232e72e4809b3a4ad22236b42be9e7925807a831527709291cba7f6cb11f54bb5bf9496db63bdea360f7a2e4830f6693e055d1 languageName: node linkType: hard -"@polkadot/util-crypto@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/util-crypto@npm:8.1.2" +"@polkadot/util-crypto@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/util-crypto@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@noble/hashes": 0.4.1 - "@noble/secp256k1": ^1.3.0 - "@polkadot/networks": 8.1.2 - "@polkadot/util": 8.1.2 + "@babel/runtime": ^7.16.5 + "@noble/hashes": ^0.4.5 + "@noble/secp256k1": ^1.3.4 + "@polkadot/networks": 8.2.2 + "@polkadot/util": 8.2.2 "@polkadot/wasm-crypto": ^4.5.1 - "@polkadot/x-bigint": 8.1.2 - "@polkadot/x-noble-hashes": 8.1.2 - "@polkadot/x-noble-secp256k1": 8.1.2 - "@polkadot/x-randomvalues": 8.1.2 + "@polkadot/x-bigint": 8.2.2 + "@polkadot/x-randomvalues": 8.2.2 ed2curve: ^0.3.0 - micro-base: ^0.9.0 + micro-base: ^0.10.0 tweetnacl: ^1.0.3 peerDependencies: - "@polkadot/util": 8.1.2 - checksum: 9cbbb34e99377e4ea312671d6736aee2399ee3dafcc1b34204fe6b98196e97b650ec26bc0b2d278a4c74a676098e8d1cad7a0385a196968950768f76123f10d4 + "@polkadot/util": 8.2.2 + checksum: 04b358937570498428cd78f642cf0d8f25e44315dbfb54cfaf2de10806252f20aa8df2eda1d139d58e2efd5b1fb4d5bdc5d5756b1d25017b98fe03d2beeefbc6 languageName: node linkType: hard -"@polkadot/util@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/util@npm:8.1.2" +"@polkadot/util@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/util@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/x-bigint": 8.1.2 - "@polkadot/x-global": 8.1.2 - "@polkadot/x-textdecoder": 8.1.2 - "@polkadot/x-textencoder": 8.1.2 + "@babel/runtime": ^7.16.5 + "@polkadot/x-bigint": 8.2.2 + "@polkadot/x-global": 8.2.2 + "@polkadot/x-textdecoder": 8.2.2 + "@polkadot/x-textencoder": 8.2.2 "@types/bn.js": ^4.11.6 bn.js: ^4.12.0 ip-regex: ^4.3.0 - checksum: caf0271d1a665fc2dbe2e655effbef12c4dc81326c147e4afc8fc183e7f3f96824111c8e0747d2a9bd9f031a0d32038879016e3f94f1d0414194ebef131fe08d + checksum: c8eb0e6278557735e9785a1a81fed14c05c65a790238470763537f27fb601cbf350a8362ecc36469de08d9d61485ab7409da35fcf5acffb0c6cc88fe0ba929bf languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:^4.4.1": - version: 4.4.1 - resolution: "@polkadot/wasm-crypto-asmjs@npm:4.4.1" +"@polkadot/wasm-crypto-asmjs@npm:^4.5.1": + version: 4.5.1 + resolution: "@polkadot/wasm-crypto-asmjs@npm:4.5.1" dependencies: "@babel/runtime": ^7.16.3 - checksum: 3df73641ec52d69e91be56f6010db0960556ee26ea2a43586d0dd1a2b7ec483b6bea1c7b1cf6aa6b16a88f771d3ba55b38e1b685a9d9b9a18b861de6b1e837b7 + checksum: 93233bc91043c0023466def87a4559b98908841f0628544fcc77f4599acda1d4a0c2673948021de8b5da0c5dd10ef10a01141dfb960d5c32d95b81ac1060cfe5 languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:^4.4.1": - version: 4.4.1 - resolution: "@polkadot/wasm-crypto-wasm@npm:4.4.1" +"@polkadot/wasm-crypto-wasm@npm:^4.5.1": + version: 4.5.1 + resolution: "@polkadot/wasm-crypto-wasm@npm:4.5.1" dependencies: "@babel/runtime": ^7.16.3 - checksum: 315696bfe78e45ef46e6f484b59eeb29afea68f635bec2916123bdba2a414c6ba557d7c8eb547c4541d663580c41ae925e839ba80a7c7f25e5ceaf53de780e15 + checksum: b44833a47f87af19b8724d310e64a10c8a3a4499d6af247d48e76dfe0dbbf5c40a21681dbb97297f1ea31a0d66518093ed14509ace16087293cf93e97b28ee73 languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:4.4.1": - version: 4.4.1 - resolution: "@polkadot/wasm-crypto@npm:4.4.1" +"@polkadot/wasm-crypto@npm:4.5.1": + version: 4.5.1 + resolution: "@polkadot/wasm-crypto@npm:4.5.1" dependencies: "@babel/runtime": ^7.16.3 - "@polkadot/wasm-crypto-asmjs": ^4.4.1 - "@polkadot/wasm-crypto-wasm": ^4.4.1 + "@polkadot/wasm-crypto-asmjs": ^4.5.1 + "@polkadot/wasm-crypto-wasm": ^4.5.1 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 853d4e4cf291de73830cb7398f3fdcdbdb277b98f8c66f7f8555fe10e75cdfed2669df2201c361ef7a7a5972d92bc594777e08ac138660512c10c7fbf51dd920 + checksum: d73b8696c3aa9b9bb18a1914b11ca0133d9189fd9264170912228c497517997d2b8f5f8b19eb5b1a8ef1be9edbdd63d2013633c0262167b61e2afc6333feef91 languageName: node linkType: hard -"@polkadot/x-bigint@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-bigint@npm:8.1.2" +"@polkadot/x-bigint@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/x-bigint@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/x-global": 8.1.2 - checksum: 01724fd4a80f34f889baa99c3d824d521d628a05a89d82f370f3045ef1b44feb7e9ec1e4e7463ba0b3dcd5e52a5ea3aacb2b1a16679f3ba5f77bff03eb1a3034 + "@babel/runtime": ^7.16.5 + "@polkadot/x-global": 8.2.2 + checksum: 1fd0d05848d65e6d171be0974a23c552ac14c898798ab7474d473843d4fad79cf3dc77df42673a69220904f51261c256d559d4b515fbfd8edaf8371df6b5644c languageName: node linkType: hard -"@polkadot/x-fetch@npm:^8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-fetch@npm:8.1.2" +"@polkadot/x-fetch@npm:^8.2.2": + version: 8.2.2 + resolution: "@polkadot/x-fetch@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/x-global": 8.1.2 + "@babel/runtime": ^7.16.5 + "@polkadot/x-global": 8.2.2 "@types/node-fetch": ^2.5.12 node-fetch: ^2.6.6 - checksum: 37590d2d7f1b174a44c0ab9509e59d4a5ba037b6b43c5719e216c742e98906d0e6c660b9ea8fdd056693b619d52dd03e82e5f930cb2a97ed6c50ab01c92223aa + checksum: 4dbcd0449c51679140e3d37086ea753a1ebe750aeb62e81a7d2c9d78a0aae9101387009bde8f196f203bebdcfb59ba3e997d4c1e403f7c137b79d801d9a9650b languageName: node linkType: hard -"@polkadot/x-global@npm:8.1.2, @polkadot/x-global@npm:^8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-global@npm:8.1.2" +"@polkadot/x-global@npm:8.2.2, @polkadot/x-global@npm:^8.2.2": + version: 8.2.2 + resolution: "@polkadot/x-global@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - checksum: d61d4e02e1f27e70ffb6d2d373dd03ee49859e608b7172570bfc75e7eed0620c78baf40cf3c89491fc8bec829e2cefa7fd15192ff8719ad16e6aa6a653ffea6d + "@babel/runtime": ^7.16.5 + checksum: a41760e01e21c6b9c9f2412da2e73e4762c9fbf2275776204abb2bcc486f5537f857836218cffa3603eecb2e36a9e130370aabbb816c088acd50733cc09ee6b5 languageName: node linkType: hard -"@polkadot/x-noble-hashes@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-noble-hashes@npm:8.1.2" +"@polkadot/x-randomvalues@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/x-randomvalues@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - checksum: 8f5152843ff55fd3d431b477905cb70b4de2fc5255223d055af649f7e4c5f53592c72314e3201d9ff87f8e5f762cd06a5552da8e9ddb3060b807b70e0472d433 - languageName: node - linkType: hard - -"@polkadot/x-noble-secp256k1@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-noble-secp256k1@npm:8.1.2" - dependencies: - "@babel/runtime": ^7.16.3 - checksum: 4e88f9a740457f4617e1c688a146502f9942d96533ae5d2936a46502de93956d2f185d949a32cbc463670a0e352075aec8328e02eb60dfbd0a7a50d634177646 - languageName: node - linkType: hard - -"@polkadot/x-randomvalues@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-randomvalues@npm:8.1.2" - dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/x-global": 8.1.2 - checksum: 08d81f49437710b899f72de04900fb2e273b5d94ec23e39f7c9042ea88ad88be05d72ecad956511119938c66370a4bfbc90f1cb781912a99a4a048cc8d86aecc + "@babel/runtime": ^7.16.5 + "@polkadot/x-global": 8.2.2 + checksum: 18817fe2374b3e0e2bebd2df98d68720df037cbc29363d2e4701f1e894c52ddaabd41d16022cef532860b0ccbb5e6d51f6245b47f5aafc4d0eeb7285736b0309 languageName: node linkType: hard @@ -1220,35 +1308,35 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-textdecoder@npm:8.1.2" +"@polkadot/x-textdecoder@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/x-textdecoder@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/x-global": 8.1.2 - checksum: 8575115503adb9abdb9e7a9cd76837aeeba9ee76a8b58e3bd3adbe556bbf1b72b47efd8f650edad73092b36eda07e750750028bf955c74a0d0425db3b1e18848 + "@babel/runtime": ^7.16.5 + "@polkadot/x-global": 8.2.2 + checksum: 3e6ba49e71f927c1dacb352ca7d8cb4cc570a95ce51e1c6b9e4e390d454d795a8887d556a44df29359c14193ef0a1424564099acd2fd1ca2ff3561f1729940e3 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-textencoder@npm:8.1.2" +"@polkadot/x-textencoder@npm:8.2.2": + version: 8.2.2 + resolution: "@polkadot/x-textencoder@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/x-global": 8.1.2 - checksum: 28fc2afddf1c412efbcab03dedd4fc4503355eeb48292bf37567646f2857e14d29edf96dff5341575c4d4306a60d02592cfe1c1caa76c6d1214312439e899228 + "@babel/runtime": ^7.16.5 + "@polkadot/x-global": 8.2.2 + checksum: 260cfbe56490ffd1966e30e02243b95217085598dddcf2e05bae48ef42621a3bb76ec2d31acde451693889f308b3c8a7a8fd8f7f16a7f16f724dc51d7aeee3c8 languageName: node linkType: hard -"@polkadot/x-ws@npm:^8.1.2": - version: 8.1.2 - resolution: "@polkadot/x-ws@npm:8.1.2" +"@polkadot/x-ws@npm:^8.2.2": + version: 8.2.2 + resolution: "@polkadot/x-ws@npm:8.2.2" dependencies: - "@babel/runtime": ^7.16.3 - "@polkadot/x-global": 8.1.2 + "@babel/runtime": ^7.16.5 + "@polkadot/x-global": 8.2.2 "@types/websocket": ^1.0.4 websocket: ^1.0.34 - checksum: 07d581634ce7f009c9e8bf50d4d177e1e814f80a6f68daed41bdbbd247a759b47395e7304182ca1cc71f059f91e91d9cb38bc7a7024985c43e37d263f43a7797 + checksum: 0f9afac4a8c84b7b1282ad761a168bec2e450c5a39b61de1ee6c745e31ea6c1225f8e60d7c5404c4b6c09a51a68be16c51ed9939138442ff7a0dccd89af8f518 languageName: node linkType: hard @@ -1307,33 +1395,33 @@ __metadata: languageName: node linkType: hard -"@sora-substrate/type-definitions@npm:1.6.22": - version: 1.6.22 - resolution: "@sora-substrate/type-definitions@npm:1.6.22" +"@sora-substrate/type-definitions@npm:1.6.30": + version: 1.6.30 + resolution: "@sora-substrate/type-definitions@npm:1.6.30" dependencies: "@open-web3/orml-type-definitions": ^0.9.4-35 - checksum: ac224941c1ba18e0a8b649f8a59c0c74101d2f8dbee5a5f4f0370a06d9eac858e49c95d419a9288c23c3be39f566882b659aded5e555c868ed458419a7cf5cf6 + checksum: 8eeabc49cb2fbec1a1641463422de632ed4f2d79f175e4b6b19e567e65d1f8f2cb12161e19686950c0a271193cd9b25a7612766d964d9568a7882fc345f973ae languageName: node linkType: hard -"@subsocial/types@npm:0.6.5-dev.6": - version: 0.6.5-dev.6 - resolution: "@subsocial/types@npm:0.6.5-dev.6" +"@subsocial/types@npm:0.6.5": + version: 0.6.5 + resolution: "@subsocial/types@npm:0.6.5" dependencies: - "@polkadot/types": 6.6.1 - "@polkadot/types-known": 6.6.1 - "@polkadot/types-support": 6.6.1 - "@subsocial/utils": ^0.6.5-dev.6 + "@polkadot/types": 6.9.2 + "@polkadot/types-known": 6.9.2 + "@polkadot/types-support": 6.9.2 + "@subsocial/utils": ^0.6.5 cids: ^0.7.1 - checksum: 008f1a15c95ad87c71da1aa7cdedee99eb99566201a5cfc2a33bd1eec51e1acffea7840d049c1a5868efed7d37548d61fe5ca9bd50dcfa73d894938f93cb4ed5 + checksum: 4a02a6a19c449bab19b6ecbac89359562e1461c76020d5f4b53a1dc9471f361f0f2f364ab48c3c852a1b8db3cd82cdbc0b6bbf08cbe268038907cbc7ca2697f3 languageName: node linkType: hard -"@subsocial/utils@npm:^0.6.5-dev.6": - version: 0.6.5-dev.7 - resolution: "@subsocial/utils@npm:0.6.5-dev.7" +"@subsocial/utils@npm:^0.6.5": + version: 0.6.5 + resolution: "@subsocial/utils@npm:0.6.5" dependencies: - "@polkadot/util-crypto": 6.6.1 + "@polkadot/util-crypto": 7.8.2 "@sindresorhus/slugify": ^1.1.0 bn.js: ^5.1.1 chalk: ^3.0.0 @@ -1346,7 +1434,7 @@ __metadata: remark-gfm: ^1.0.0 remark-html: ^13.0.1 strip-markdown: ^4.0.0 - checksum: e1c259cdc7ca675a8f913fb15725d51e1fd23ecf5b12c960a975f0ef22ccb4ec1a0b2ac404711ad7e8c5d8f6cb0f74e7545697a9dafc227180194a466759351a + checksum: e303c6c8d5fa8ece95779800cf469084e5654c771119f049c1041a91e6a575420b885120e4e0bfea691d14919ce3dbb8e53ac612f26910cc9bc876f4ee149161 languageName: node linkType: hard @@ -1354,9 +1442,9 @@ __metadata: version: 0.0.0-use.local resolution: "@substrate/api-sidecar@workspace:." dependencies: - "@polkadot/api": ^6.12.1 - "@polkadot/apps-config": 0.98.2-124 - "@polkadot/util-crypto": ^8.1.2 + "@polkadot/api": ^7.0.1 + "@polkadot/apps-config": 0.98.2-164 + "@polkadot/util-crypto": ^8.2.2 "@polkadot/x-rxjs": ^6.11.1 "@substrate/calc": ^0.2.6 "@substrate/dev": ^0.5.6 @@ -1839,17 +1927,17 @@ __metadata: languageName: node linkType: hard -"@zeitgeistpm/type-defs@npm:0.3.5": - version: 0.3.5 - resolution: "@zeitgeistpm/type-defs@npm:0.3.5" - checksum: 08a783beedd91ca466ee36510a2edf813644235414324102f46c6f90b8c1d7ac8221b543af5efd99ee0ff64192d9cb03c474d32b92e1a41bedbd60b6b8700cbf +"@zeitgeistpm/type-defs@npm:0.3.7": + version: 0.3.7 + resolution: "@zeitgeistpm/type-defs@npm:0.3.7" + checksum: 361ea59705c0acbe88f1e9f01afe79a757cde4de30cd4562b6044b23d7c6ee32d6de1f3a840804c81a7cb1956903d3e0fc82e7a34c047db9c519938c04ca1b45 languageName: node linkType: hard -"@zeroio/type-definitions@npm:0.0.13": - version: 0.0.13 - resolution: "@zeroio/type-definitions@npm:0.0.13" - checksum: 995b21c7e224d1b912503895f678e67028f0a0ec72efbc0b158fc095e3af90d6496a5d2cd02666f72dfa895b3a49d31aff0cd0f09e49a5768c0bb7dee429d724 +"@zeroio/type-definitions@npm:0.0.14": + version: 0.0.14 + resolution: "@zeroio/type-definitions@npm:0.0.14" + checksum: b2729f034fbd865385309ffd9c33ec0f75eb0affdef66e970da8dc98b339c0351700c9ba6dd8d488acbd87fa2321c5061571cc2664da0ab4f0e5fe23ea805a49 languageName: node linkType: hard @@ -4475,6 +4563,15 @@ fsevents@^2.3.2: languageName: node linkType: hard +"i18next@npm:^21.6.0": + version: 21.6.3 + resolution: "i18next@npm:21.6.3" + dependencies: + "@babel/runtime": ^7.12.0 + checksum: c3de927a3aa64b9c17a5b348b7a9f30fd9c88074a0c92b1eef2a879a71398e32c9cdbf660a689fc6d04ea9d6126cb8efe1f13317172625608b0d09b53b3b35c4 + languageName: node + linkType: hard + "iconv-lite@npm:0.4.24": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" @@ -5658,6 +5755,13 @@ fsevents@^2.3.2: languageName: node linkType: hard +"lodash.set@npm:^4.3.2": + version: 4.3.2 + resolution: "lodash.set@npm:4.3.2" + checksum: a9122f49eef9f2d0fc9061a33d87f8e5b8c6b23d46e8b9e9ce1529d3588d79741bd1145a3abdfa3b13082703e65af27ff18d8a07bfc22b9be32f3fc36f763f70 + languageName: node + linkType: hard + "lodash.truncate@npm:^4.4.2": version: 4.4.2 resolution: "lodash.truncate@npm:4.4.2" @@ -6004,10 +6108,10 @@ fsevents@^2.3.2: languageName: node linkType: hard -"micro-base@npm:^0.9.0": - version: 0.9.0 - resolution: "micro-base@npm:0.9.0" - checksum: a223a83239782189fbc281c7836f30491ec120ace2a2c634290a9dc3efb82edc591ffd68e375e2c60c2fde64b84f9576a3064a42ece25e98b6ac4ff2610d6ad7 +"micro-base@npm:^0.10.0": + version: 0.10.0 + resolution: "micro-base@npm:0.10.0" + checksum: b8892630e8fd9749f9695733a751233ade68f1fde469725d0bb52c0ac36d6ac94f51897a908adde4be4d0e3e65fc0d3ec2cf4c7b3ed6e386c7aab5eb662aa97f languageName: node linkType: hard @@ -6233,6 +6337,13 @@ fsevents@^2.3.2: languageName: node linkType: hard +"mock-socket@npm:^9.0.8": + version: 9.0.8 + resolution: "mock-socket@npm:9.0.8" + checksum: 4a8e890f6e17d22636936af84015af151f791cccd430842d4d8329a95d90d9b3db7b7da9ae9fcf0f2b0254f94bb9269d0b4c35184b09e3e9bcaeeb69ddeb1358 + languageName: node + linkType: hard + "modify-values@npm:^1.0.0": version: 1.0.1 resolution: "modify-values@npm:1.0.1" @@ -6240,15 +6351,15 @@ fsevents@^2.3.2: languageName: node linkType: hard -"moonbeam-types-bundle@npm:2.0.1": - version: 2.0.1 - resolution: "moonbeam-types-bundle@npm:2.0.1" +"moonbeam-types-bundle@npm:2.0.2": + version: 2.0.2 + resolution: "moonbeam-types-bundle@npm:2.0.2" dependencies: - "@polkadot/api": ^6.8.1 + "@polkadot/api": ^6.11.1 "@polkadot/keyring": ^7.8.2 - "@polkadot/types": ^5.9.1 - typescript: ^4.3.5 - checksum: d203be23d26c3dce8bd4d063d00bf4bb32511d665a339e2635ad3cf052c04a119e40c53d3e94c425591539704fdc601e7bba16386517050d6e168d62178fa813 + "@polkadot/types": ^6.11.1 + typescript: ^4.5.2 + checksum: 105b61e76bab276fe6e5e0a5e0f8e42c285eeefdfd6f6af54db279c16748b57a8c19772354f2e9d7cf1ba228bd4d8a1670ca6994edeedd7316e6f7eed85d21b2 languageName: node linkType: hard @@ -6349,6 +6460,18 @@ fsevents@^2.3.2: languageName: node linkType: hard +"nock@npm:^13.2.1": + version: 13.2.1 + resolution: "nock@npm:13.2.1" + dependencies: + debug: ^4.1.0 + json-stringify-safe: ^5.0.1 + lodash.set: ^4.3.2 + propagate: ^2.0.0 + checksum: b401fb8143ca88095ee34c715e2806eda2813dace4f4c4798961ad961c18003d1529f4507a79c429d2c3c768e136632ee19ee9ebfef71f0cb022df152594df1d + languageName: node + linkType: hard + "node-cleanup@npm:^2.1.2": version: 2.1.2 resolution: "node-cleanup@npm:2.1.2" @@ -6988,6 +7111,13 @@ fsevents@^2.3.2: languageName: node linkType: hard +"propagate@npm:^2.0.0": + version: 2.0.1 + resolution: "propagate@npm:2.0.1" + checksum: c4febaee2be0979e82fb6b3727878fd122a98d64a7fa3c9d09b0576751b88514a9e9275b1b92e76b364d488f508e223bd7e1dcdc616be4cdda876072fbc2a96c + languageName: node + linkType: hard + "property-information@npm:^5.0.0": version: 5.6.0 resolution: "property-information@npm:5.6.0" @@ -8390,13 +8520,13 @@ typescript@4.3.5: languageName: node linkType: hard -"typescript@^4.3.5, typescript@^4.4.3": - version: 4.4.3 - resolution: "typescript@npm:4.4.3" +"typescript@^4.4.3, typescript@npm:^4.5.2": + version: 4.5.4 + resolution: "typescript@npm:4.5.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 05823f21796d450531a7e4ab299715d38fd9ded0e4ce7400876053f4b5166ca3dde7a68cecfe72d9086039f03c0b6edba36516fb10ed83c5837d9600532ea4c2 + checksum: 59f3243f9cd6fe3161e6150ff6bf795fc843b4234a655dbd938a310515e0d61afd1ac942799e7415e4334255e41c2c49b7dd5d9fd38a17acd25a6779ca7e0961 languageName: node linkType: hard @@ -8410,13 +8540,13 @@ typescript@4.3.5: languageName: node linkType: hard -"typescript@patch:typescript@^4.3.5#~builtin, typescript@patch:typescript@^4.4.3#~builtin": - version: 4.4.3 - resolution: "typescript@patch:typescript@npm%3A4.4.3#~builtin::version=4.4.3&hash=ddd1e8" +"typescript@patch:typescript@^4.4.3#~builtin, typescript@patch:typescript@^4.5.2#~builtin": + version: 4.5.4 + resolution: "typescript@patch:typescript@npm%3A4.5.4#~builtin::version=4.5.4&hash=ddd1e8" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 79f5c13d21c9dea3eb44d2b7002ff25a0569fefc432e083d65a360e3aca990aca25fc733e14aa6883b5e9a68e3e2f0330a34123e048806f91d701732ece00e6f + checksum: 270255355c3236076dbbd0900ff0b7b159fac7e6a95f9ed8c59f57361c7dace9f1fbffd3b5eb21377c7f636027382ad89eb64b2acfbcd9e08574f04cfc75ca3d languageName: node linkType: hard