diff --git a/examples/delegator/package.json b/examples/delegator/package.json index 0999b2b5..9e07f5f9 100644 --- a/examples/delegator/package.json +++ b/examples/delegator/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "resolutions": { - "@polkadot/api": "^7.10.1", - "@polkadot/api-contract": "^7.10.1", + "@polkadot/api": "^8.11.3", + "@polkadot/api-contract": "^8.11.3", "typescript": "^4.5.4" }, "dependencies": { diff --git a/examples/erc20/package.json b/examples/erc20/package.json index f8f0334c..6b43fcac 100644 --- a/examples/erc20/package.json +++ b/examples/erc20/package.json @@ -6,13 +6,13 @@ "node": ">=14.x" }, "resolutions": { - "@polkadot/api": "7.10.1", - "@polkadot/api-contract": "7.10.1", - "@polkadot/types": "7.10.1", - "@polkadot/keyring": "8.4.1", - "@polkadot/util": "8.4.1", + "@polkadot/api": "8.11.3", + "@polkadot/api-contract": "8.11.3", + "@polkadot/types": "8.11.3", + "@polkadot/keyring": "9.7.2", + "@polkadot/util": "9.7.2", "@polkadot/wasm-crypto": "4.5.1", - "@polkadot/util-crypto": "8.4.1", + "@polkadot/util-crypto": "9.7.2", "typescript": "4.5.4" }, "dependencies": { diff --git a/examples/multi-contract/package.json b/examples/multi-contract/package.json index 2cb59a2a..713c9d65 100644 --- a/examples/multi-contract/package.json +++ b/examples/multi-contract/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "resolutions": { - "@polkadot/api": "7.10.1", - "@polkadot/api-contract": "7.10.1", + "@polkadot/api": "8.11.3", + "@polkadot/api-contract": "8.11.3", "typescript": "^4.5.4" }, "dependencies": { diff --git a/examples/plasm/package.json b/examples/plasm/package.json index c44cd780..e1e27969 100644 --- a/examples/plasm/package.json +++ b/examples/plasm/package.json @@ -6,10 +6,10 @@ "node": ">=14.x" }, "resolutions": { - "@polkadot/api": "7.10.1", - "@polkadot/api-contract": "7.10.1", - "@polkadot/types": "7.10.1", - "@polkadot/util": "^8.4.1", + "@polkadot/api": "8.11.3", + "@polkadot/api-contract": "8.11.3", + "@polkadot/types": "8.11.3", + "@polkadot/util": "^9.7.2", "typescript": "^4.5.4" }, "dependencies": { diff --git a/examples/solang/package.json b/examples/solang/package.json index 3af559e4..a2ccbdeb 100644 --- a/examples/solang/package.json +++ b/examples/solang/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "resolutions": { - "@polkadot/api": "^7.10.1", - "@polkadot/api-contract": "^7.10.1", + "@polkadot/api": "^8.11.3", + "@polkadot/api-contract": "^8.11.3", "typescript": "^4.5.4" }, "dependencies": { diff --git a/package.json b/package.json index 5211c2c5..3f6a5418 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,10 @@ "yarn": "^1.10.1" }, "resolutions": { - "@polkadot/api": "^7.10.1", - "@polkadot/api-contract": "^7.10.1", - "@polkadot/types": "^7.10.1", - "@polkadot/util": "^8.4.1" + "@polkadot/api": "^8.11.3", + "@polkadot/api-contract": "^8.11.3", + "@polkadot/types": "^8.11.3", + "@polkadot/util": "^9.7.2" }, "workspaces": [ "packages/*" diff --git a/packages/redspot-chai/package.json b/packages/redspot-chai/package.json index bd553944..2215969d 100644 --- a/packages/redspot-chai/package.json +++ b/packages/redspot-chai/package.json @@ -8,8 +8,8 @@ "redspot": "^0.13.6" }, "dependencies": { - "@polkadot/api": "^7.10.1", - "@polkadot/api-contract": "^7.10.1", + "@polkadot/api": "^8.11.3", + "@polkadot/api-contract": "^8.11.3", "chai-as-promised": "^7.1.1" }, "devDependencies": { diff --git a/packages/redspot-chai/src/init.ts b/packages/redspot-chai/src/init.ts index 50a9a74c..73ac7447 100644 --- a/packages/redspot-chai/src/init.ts +++ b/packages/redspot-chai/src/init.ts @@ -1,5 +1,5 @@ import path from 'path'; -import chaiAsPromised from 'chai-as-promised' +import chaiAsPromised from 'chai-as-promised'; export function init(projectRoot: string) { try { diff --git a/packages/redspot-core/package.json b/packages/redspot-core/package.json index 06ad3956..e9277d5b 100644 --- a/packages/redspot-core/package.json +++ b/packages/redspot-core/package.json @@ -9,7 +9,7 @@ "node": ">=8.2.0" }, "dependencies": { - "@polkadot/api": "^7.10.1", + "@polkadot/api": "^8.11.3", "abort-controller": "^3.0.0", "bn.js": "^5.1.3", "chalk": "^4.1.0", diff --git a/packages/redspot-core/src/builtin-tasks/compile-ink.ts b/packages/redspot-core/src/builtin-tasks/compile-ink.ts index 76595377..9a89d7d0 100644 --- a/packages/redspot-core/src/builtin-tasks/compile-ink.ts +++ b/packages/redspot-core/src/builtin-tasks/compile-ink.ts @@ -63,7 +63,7 @@ subtask( input, redspotArguments.verbose, redspotArguments.release, - redspotArguments.skipLinting, + redspotArguments.skipLinting ); return output; diff --git a/packages/redspot-core/src/internal/core/config/config-validation.ts b/packages/redspot-core/src/internal/core/config/config-validation.ts index 1a56f2b7..6b843877 100644 --- a/packages/redspot-core/src/internal/core/config/config-validation.ts +++ b/packages/redspot-core/src/internal/core/config/config-validation.ts @@ -88,12 +88,18 @@ export const hexString = new t.Type( t.identity ); -const NetworkConfigAccounts = t.union([t.array(t.string), t.array(t.type({ - mnemonic: optional(t.string), - initialIndex: optional(t.number), - count: optional(t.number), - path: optional(t.string) -}),'HDAccountsUserConfig')]) +const NetworkConfigAccounts = t.union([ + t.array(t.string), + t.array( + t.type({ + mnemonic: optional(t.string), + initialIndex: optional(t.number), + count: optional(t.number), + path: optional(t.string) + }), + 'HDAccountsUserConfig' + ) +]); const HttpHeaders = t.record(t.string, t.string, 'httpHeaders'); diff --git a/packages/redspot-core/src/provider/account-signer.ts b/packages/redspot-core/src/provider/account-signer.ts index df5ed494..1613e524 100644 --- a/packages/redspot-core/src/provider/account-signer.ts +++ b/packages/redspot-core/src/provider/account-signer.ts @@ -8,7 +8,7 @@ import { u8aToHex } from '@polkadot/util'; import { RedspotError } from '../internal/core/errors'; import { ERRORS } from '../internal/core/errors-list'; import log from '../logger'; -import type {HDAccountsUserConfig, LocalKeyringPair} from '../types'; +import type { HDAccountsUserConfig, LocalKeyringPair } from '../types'; import { RedspotNetworkAccountsUserConfig } from '../types'; let id = 0; @@ -86,9 +86,8 @@ export class Signer implements PolkadotSigner { log.error(error.message); throw new RedspotError(ERRORS.GENERAL.BAD_SURI, { uri: account }); } - } - else if (typeof account == 'object') { - const _account = account as HDAccountsUserConfig + } else if (typeof account === 'object') { + const _account = account; try { const mnemonic = _account.mnemonic; @@ -96,8 +95,8 @@ export class Signer implements PolkadotSigner { (pair as LocalKeyringPair).suri = mnemonic; if (_account.path) { - let initialIndex = _account.initialIndex || 0; - let count = _account.count || 20; + const initialIndex = _account.initialIndex || 0; + const count = _account.count || 20; pair.lock = (): void => {}; if (initialIndex >= count) { return; @@ -106,14 +105,15 @@ export class Signer implements PolkadotSigner { const derivedPath = `${_account.path}/${i}`; const childPair = pair.derive(derivedPath); (childPair as LocalKeyringPair).suri = mnemonic + derivedPath; - this.keyring.addPair(childPair) + this.keyring.addPair(childPair); } } } catch (error) { - log.error(error.message) - throw new RedspotError(ERRORS.GENERAL.BAD_SURI, { uri: _account.mnemonic }); + log.error(error.message); + throw new RedspotError(ERRORS.GENERAL.BAD_SURI, { + uri: _account.mnemonic + }); } - } } }; diff --git a/packages/redspot-core/src/provider/index.ts b/packages/redspot-core/src/provider/index.ts index 920bf98b..23685fa4 100644 --- a/packages/redspot-core/src/provider/index.ts +++ b/packages/redspot-core/src/provider/index.ts @@ -1,3 +1,8 @@ -export { createProvider, createApi, createNetwork, createSigner } from './construction'; +export { + createProvider, + createApi, + createNetwork, + createSigner +} from './construction'; export { Signer as AccountSigner } from './account-signer'; -export { Signer } from './signer' \ No newline at end of file +export { Signer } from './signer'; diff --git a/packages/redspot-core/src/provider/ws-provider.ts b/packages/redspot-core/src/provider/ws-provider.ts index 698a8801..025debda 100644 --- a/packages/redspot-core/src/provider/ws-provider.ts +++ b/packages/redspot-core/src/provider/ws-provider.ts @@ -351,7 +351,7 @@ export class WsProvider implements ProviderInterface { ): Promise { const body = this._coder.encodeJson(method, params); let resultPromise: Promise | null = isCacheable - ? (this._callCache.get(body) as Promise) + ? this._callCache.get(body) : null; if (!resultPromise) { @@ -381,7 +381,7 @@ export class WsProvider implements ProviderInterface { const id = this._coder.getId(); const callback = (error?: Error | null, result?: T): void => { - error ? reject(error) : resolve(result as T); + error ? reject(error) : resolve(result); }; log.debug( @@ -512,7 +512,7 @@ export class WsProvider implements ProviderInterface { }; _onSocketMessage = (message: MessageEvent): void => { - const response = JSON.parse(message.data as string) as JsonRpcResponse; + const response = JSON.parse(message.data) as JsonRpcResponse; const isMsg = isUndefined(response.method); if (isMsg) { @@ -571,8 +571,7 @@ export class WsProvider implements ProviderInterface { }; _onSocketMessageSubscribe = (response: JsonRpcResponse): void => { - const method = - ALIASES[response.method as string] || response.method || 'invalid'; + const method = ALIASES[response.method] || response.method || 'invalid'; const subId = `${method}::${response.params.subscription}`; const handler = this._subscriptions[subId]; diff --git a/packages/redspot-core/src/types/artifacts.ts b/packages/redspot-core/src/types/artifacts.ts index d19532a0..79758102 100644 --- a/packages/redspot-core/src/types/artifacts.ts +++ b/packages/redspot-core/src/types/artifacts.ts @@ -4,9 +4,9 @@ interface SpecDef { events: any[]; messages: { label: string; - name: string[] | string - selector: string - }[] + name: string[] | string; + selector: string; + }[]; } export type AbiMetadata = { @@ -25,13 +25,13 @@ export type AbiMetadata = { spec: SpecDef; V1: { spec: SpecDef; - }, + }; V2: { spec: SpecDef; - }, + }; V3: { spec: SpecDef; - } + }; }; export interface Artifacts { diff --git a/packages/redspot-core/src/types/config.ts b/packages/redspot-core/src/types/config.ts index 99ab023a..7e3a864f 100644 --- a/packages/redspot-core/src/types/config.ts +++ b/packages/redspot-core/src/types/config.ts @@ -17,7 +17,9 @@ import type { ApiOptions } from '@polkadot/api/types'; import type BN from 'bn.js'; // Networks config -export type RedspotNetworkAccountsUserConfig = string[] | HDAccountsUserConfig[]; +export type RedspotNetworkAccountsUserConfig = + | string[] + | HDAccountsUserConfig[]; export interface RedspotNetworkUserConfig { endpoint?: string; diff --git a/packages/redspot-decimals/package.json b/packages/redspot-decimals/package.json index b45c67b7..c84a8b2f 100644 --- a/packages/redspot-decimals/package.json +++ b/packages/redspot-decimals/package.json @@ -8,7 +8,7 @@ "redspot": "^0.13.6" }, "dependencies": { - "@polkadot/api": "^7.10.1", - "@polkadot/api-contract": "^7.10.1" + "@polkadot/api": "^8.11.3", + "@polkadot/api-contract": "^8.11.3" } } diff --git a/packages/redspot-gas-reporter/src/reporter/Watcher.ts b/packages/redspot-gas-reporter/src/reporter/Watcher.ts index ae38cf12..62656f39 100644 --- a/packages/redspot-gas-reporter/src/reporter/Watcher.ts +++ b/packages/redspot-gas-reporter/src/reporter/Watcher.ts @@ -29,7 +29,7 @@ export class TransactionWatcher { constructor(config: GasReporterConfig) { this.#abiMap = (config.abis || []).reduce((result, data) => { - const abiData = this.getAbiData(data) + const abiData = this.getAbiData(data); // Compatible with older version abi // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore @@ -48,15 +48,17 @@ export class TransactionWatcher { this.#extrinsics = []; } - getAbiData(data:AbiMetadata) { + getAbiData(data: AbiMetadata) { let abiData = data; // new styles // Find the different metadata version key, V1, V2, V3, etc. - const storageKey = Object.keys(abiData).filter(key => key.search(/V\d/) > -1) + const storageKey = Object.keys(abiData).filter( + (key) => key.search(/V\d/) > -1 + ); if (storageKey.length) { - abiData = abiData[storageKey[0]] + abiData = abiData[storageKey[0]]; } - return abiData + return abiData; } async ensureConnect() { diff --git a/packages/redspot-jupiter/src/index.ts b/packages/redspot-jupiter/src/index.ts index 8e189b31..5898b552 100644 --- a/packages/redspot-jupiter/src/index.ts +++ b/packages/redspot-jupiter/src/index.ts @@ -22,9 +22,11 @@ extendEnvironment((env) => { if (!isJupiter) return _encodedSalt(salt, signerAddress); - const nonceCodec = await env.network.api.query.system.accountNonce(signerAddress); + const nonceCodec = await env.network.api.query.system.accountNonce( + signerAddress + ); - const nonce = nonceCodec.toHuman()['nonce'] + const nonce = nonceCodec.toHuman().nonce; return salt instanceof Bytes ? salt : compactAddLength(numberToU8a(nonce)); }; diff --git a/packages/redspot-known-types/package.json b/packages/redspot-known-types/package.json index 486a2c3d..d057bc73 100644 --- a/packages/redspot-known-types/package.json +++ b/packages/redspot-known-types/package.json @@ -8,7 +8,7 @@ "redspot": "^0.13.6" }, "dependencies": { - "@polkadot/api": "^7.10.1", + "@polkadot/api": "^8.11.3", "@polkadot/apps-config": "^0.103.1" } } diff --git a/packages/redspot-patract/package.json b/packages/redspot-patract/package.json index 5cc44824..550021e3 100644 --- a/packages/redspot-patract/package.json +++ b/packages/redspot-patract/package.json @@ -8,7 +8,7 @@ "redspot": "^0.13.6" }, "dependencies": { - "@polkadot/api": "^7.10.1", - "@polkadot/api-contract": "^7.10.1" + "@polkadot/api": "^8.11.3", + "@polkadot/api-contract": "^8.11.3" } } diff --git a/packages/redspot-patract/src/contract.ts b/packages/redspot-patract/src/contract.ts index c6f3c31c..89643b89 100644 --- a/packages/redspot-patract/src/contract.ts +++ b/packages/redspot-patract/src/contract.ts @@ -91,7 +91,7 @@ async function populateTransaction( callParams.value, callParams.gasLimit, storageDepositLimit, - //@ts-ignore + // @ts-ignore callParams.inputData ) : // eslint-disable-next-line @typescript-eslint/ban-ts-comment @@ -216,7 +216,9 @@ function buildCall( const _contractCallFn = contract.api.rpc.contracts.call; - const json = await (at ? _contractCallFn(rpcParams, at) : _contractCallFn(rpcParams)); + const json = await (at + ? _contractCallFn(rpcParams, at) + : _contractCallFn(rpcParams)); const { debugMessage, @@ -458,12 +460,15 @@ export default class Contract { /** * Query at specific block - * + * * @param at string | Uint8Array * @param abi AbiMessage * @returns ContractFunction\ */ - public queryAt(at: string | Uint8Array, abi: AbiMessage): ContractFunction { + public queryAt( + at: string | Uint8Array, + abi: AbiMessage + ): ContractFunction { return buildCall(this, abi, false, at); } diff --git a/packages/redspot-patract/src/contractFactory.ts b/packages/redspot-patract/src/contractFactory.ts index a784f3f4..e53edf72 100644 --- a/packages/redspot-patract/src/contractFactory.ts +++ b/packages/redspot-patract/src/contractFactory.ts @@ -142,7 +142,7 @@ export default class ContractFactory { storageDepositLimit, codeHash, u8aConcat(data, salt), - //@ts-ignore + // @ts-ignore salt ) : // eslint-disable-next-line @typescript-eslint/ban-ts-comment @@ -165,10 +165,7 @@ export default class ContractFactory { const codeStorage = await this.api.query.contracts.codeStorage(wasmHash); if (!codeStorage.isEmpty) { - const hash = this.api.registry.createType( - 'CodeHash', - wasmHash - ) as CodeHash; + const hash = this.api.registry.createType('CodeHash', wasmHash); log.info(`Use the uploaded codehash: ${hash.toString()}`); return hash; } diff --git a/packages/redspot-patract/src/helpers.ts b/packages/redspot-patract/src/helpers.ts index 5aab1486..1c55259c 100644 --- a/packages/redspot-patract/src/helpers.ts +++ b/packages/redspot-patract/src/helpers.ts @@ -112,7 +112,7 @@ export function getAbi(env: RuntimeEnvironment, contractName: string) { const abi = new Abi( artifact, - // @ts-ignore + // @ts-ignore registry.createType('ChainProperties', { tokenDecimals: env.network.registry.chainDecimals, ss58Format: env.network.registry.chainSS58, diff --git a/yarn.lock b/yarn.lock index 905cb382..9ae79125 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1442,12 +1442,12 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.17.2": - version: 7.17.2 - resolution: "@babel/runtime@npm:7.17.2" +"@babel/runtime@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/runtime@npm:7.18.6" dependencies: regenerator-runtime: ^0.13.4 - checksum: a48702d271ecc59c09c397856407afa29ff980ab537b3da58eeee1aeaa0f545402d340a1680c9af58aec94dfdcbccfb6abb211991b74686a86d03d3f6956cacd + checksum: 8b707b64ae0524db617d0c49933b258b96376a38307dc0be8fb42db5697608bcc1eba459acce541e376cff5ed5c5287d24db5780bd776b7c75ba2c2e26ff8a2c languageName: node linkType: hard @@ -1878,10 +1878,10 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:1.0.0": - version: 1.0.0 - resolution: "@noble/hashes@npm:1.0.0" - checksum: bdf1c28a4b587e72ec6b0c504903239c6f96680b2c15a6d90d367512f468eeca12f2ee7bd25967a9529be2bedbf3f8d0a50c33368937f8dfef2a973d0661c7b5 +"@noble/hashes@npm:1.1.2": + version: 1.1.2 + resolution: "@noble/hashes@npm:1.1.2" + checksum: 3c2a8cb7c2e053811032f242155d870c5eb98844d924d69702244d48804cb03b42d4a666c49c2b71164420d8229cb9a6f242b972d50d5bb2f1d673b98b041de2 languageName: node linkType: hard @@ -1892,10 +1892,10 @@ __metadata: languageName: node linkType: hard -"@noble/secp256k1@npm:1.5.2": - version: 1.5.2 - resolution: "@noble/secp256k1@npm:1.5.2" - checksum: 9514a9bb08275e25b9e4a2cde4d03823102a50e0ee31dde165ed9536f39aa1879b236cdf69c84b9267d73ce1a39bbb1d44457191dd57f963d0f9c3d038ccd28b +"@noble/secp256k1@npm:1.6.0": + version: 1.6.0 + resolution: "@noble/secp256k1@npm:1.6.0" + checksum: e99df3b776515e6a8b3193870e69ff3a7d22c6a4733245dceb9d1d229d5b0859bd478b7213f31d556ba3745647ec07262d0f9df845d79204b7ce4ae1648b27c7 languageName: node linkType: hard @@ -2081,21 +2081,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/api-augment@npm:7.10.1" - dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/api-base": 7.10.1 - "@polkadot/rpc-augment": 7.10.1 - "@polkadot/types": 7.10.1 - "@polkadot/types-augment": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/util": ^8.4.1 - checksum: 66460f9d5a8d2aa4fea066d1167e92846b021674ba8d20c782f951e25f00dc125bb644995f6bd0d71763660e50b6e220c2615c4011773fa7794fc231f8ea32fd - languageName: node - linkType: hard - "@polkadot/api-augment@npm:7.5.1": version: 7.5.1 resolution: "@polkadot/api-augment@npm:7.5.1" @@ -2111,16 +2096,18 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-base@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/api-base@npm:7.10.1" +"@polkadot/api-augment@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/api-augment@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/rpc-core": 7.10.1 - "@polkadot/types": 7.10.1 - "@polkadot/util": ^8.4.1 - rxjs: ^7.5.4 - checksum: 149b19c16062ad0e123ad6d189c4ecba015f4971aab5ff2841ab5f27dbbddfb509b80194df9366e13f55fdf4f94de872cfbbb47f1a3d14645306c3573ec13713 + "@babel/runtime": ^7.18.6 + "@polkadot/api-base": 8.11.3 + "@polkadot/rpc-augment": 8.11.3 + "@polkadot/types": 8.11.3 + "@polkadot/types-augment": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/util": ^9.7.2 + checksum: 8e0291165d7412f476f86e67bf9d7badeddc6ff4a0c117e495b7d1cb207692b401c26dd0dd8d375a12b50fe8492a7ad2f614f55b5501461ef6d2a674f0f077a7 languageName: node linkType: hard @@ -2137,37 +2124,50 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-contract@npm:^7.10.1": - version: 7.10.1 - resolution: "@polkadot/api-contract@npm:7.10.1" +"@polkadot/api-base@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/api-base@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/api": 7.10.1 - "@polkadot/types": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/types-create": 7.10.1 - "@polkadot/util": ^8.4.1 - "@polkadot/util-crypto": ^8.4.1 - rxjs: ^7.5.4 - checksum: 84cb8527f99ac515aa18e3c645766c71f78a5f69f3cdf7d37fa31bc7b3ea9f4dad35174343a3710a5edba890f56ed033432edb210af92f9c0e42bb68d9ba7708 + "@babel/runtime": ^7.18.6 + "@polkadot/rpc-core": 8.11.3 + "@polkadot/types": 8.11.3 + "@polkadot/util": ^9.7.2 + rxjs: ^7.5.5 + checksum: 49981b8205cb04b308f5eae151e03df3347330a24d5c9e2ba7300d877b76c8366c7325c4d017701015a722426b901ddf8ebe0e3831e8fcf92956ed1cdae5a376 languageName: node linkType: hard -"@polkadot/api-derive@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/api-derive@npm:7.10.1" +"@polkadot/api-contract@npm:^8.11.3": + version: 8.11.3 + resolution: "@polkadot/api-contract@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/api": 7.10.1 - "@polkadot/api-augment": 7.10.1 - "@polkadot/api-base": 7.10.1 - "@polkadot/rpc-core": 7.10.1 - "@polkadot/types": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/util": ^8.4.1 - "@polkadot/util-crypto": ^8.4.1 - rxjs: ^7.5.4 - checksum: 5094c8cffffa8657d8a30646792375b6152ce0b3262535ac41650075afc61df46e639c77f66870191991de0fd625ec6408120b6f89469e44bb7b537d7fb814ab + "@babel/runtime": ^7.18.6 + "@polkadot/api": 8.11.3 + "@polkadot/types": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/types-create": 8.11.3 + "@polkadot/util": ^9.7.2 + "@polkadot/util-crypto": ^9.7.2 + rxjs: ^7.5.5 + checksum: 1a545d03c6ef6a6cf5131eafe0930704987a0256c0c9d7962666a595f9703b91a92d820ccfa23a1836d4742441cbf3ccbac661642f7bd95f4f18296d71b76a9b + languageName: node + linkType: hard + +"@polkadot/api-derive@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/api-derive@npm:8.11.3" + dependencies: + "@babel/runtime": ^7.18.6 + "@polkadot/api": 8.11.3 + "@polkadot/api-augment": 8.11.3 + "@polkadot/api-base": 8.11.3 + "@polkadot/rpc-core": 8.11.3 + "@polkadot/types": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/util": ^9.7.2 + "@polkadot/util-crypto": ^9.7.2 + rxjs: ^7.5.5 + checksum: 72610dc6d55312c181a58bf7b03cbddd9a502f26f9dae34e298befc7367b2addbc9f88f7a96e451b4b3d9c419a151bd6427655f94a6f78e0ca7161e2c1abb7b3 languageName: node linkType: hard @@ -2189,28 +2189,28 @@ __metadata: languageName: node linkType: hard -"@polkadot/api@npm:^7.10.1": - version: 7.10.1 - resolution: "@polkadot/api@npm:7.10.1" - dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/api-augment": 7.10.1 - "@polkadot/api-base": 7.10.1 - "@polkadot/api-derive": 7.10.1 - "@polkadot/keyring": ^8.4.1 - "@polkadot/rpc-augment": 7.10.1 - "@polkadot/rpc-core": 7.10.1 - "@polkadot/rpc-provider": 7.10.1 - "@polkadot/types": 7.10.1 - "@polkadot/types-augment": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/types-create": 7.10.1 - "@polkadot/types-known": 7.10.1 - "@polkadot/util": ^8.4.1 - "@polkadot/util-crypto": ^8.4.1 +"@polkadot/api@npm:^8.11.3": + version: 8.11.3 + resolution: "@polkadot/api@npm:8.11.3" + dependencies: + "@babel/runtime": ^7.18.6 + "@polkadot/api-augment": 8.11.3 + "@polkadot/api-base": 8.11.3 + "@polkadot/api-derive": 8.11.3 + "@polkadot/keyring": ^9.7.2 + "@polkadot/rpc-augment": 8.11.3 + "@polkadot/rpc-core": 8.11.3 + "@polkadot/rpc-provider": 8.11.3 + "@polkadot/types": 8.11.3 + "@polkadot/types-augment": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/types-create": 8.11.3 + "@polkadot/types-known": 8.11.3 + "@polkadot/util": ^9.7.2 + "@polkadot/util-crypto": ^9.7.2 eventemitter3: ^4.0.7 - rxjs: ^7.5.4 - checksum: d8eaefc7c97b5bc632d727277ec80175d629c621d859b680f9e38b46eaffd45d7608e5d45986cfac57f201b2e81e24263cec9997eb18f00787c06440146a9d2a + rxjs: ^7.5.5 + checksum: 8ba0041ae8b7d3dddd060e7e80b4aba7ebf6be9b90b61b4bd4c251bc9d04a6d1a15398ba13fba1c1c01722f610f6670eba121dc1dac346b8907a99d877dbab1d languageName: node linkType: hard @@ -2297,17 +2297,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/keyring@npm:^8.4.1": - version: 8.4.1 - resolution: "@polkadot/keyring@npm:8.4.1" +"@polkadot/keyring@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/keyring@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/util": 8.4.1 - "@polkadot/util-crypto": 8.4.1 + "@babel/runtime": ^7.18.6 + "@polkadot/util": 9.7.2 + "@polkadot/util-crypto": 9.7.2 peerDependencies: - "@polkadot/util": 8.4.1 - "@polkadot/util-crypto": 8.4.1 - checksum: 0608648e0fcc5a3c8994b12384dc2426b9b4e8ba3097e01a61cbd2226169d4526c68e201229b05b275f243de610c8f57079a2911b60dfdd3737a1617bc2b4dc0 + "@polkadot/util": 9.7.2 + "@polkadot/util-crypto": 9.7.2 + checksum: 0df98b213b9144a4cab72c0d6fd20a87726484d03ba6371f5a5263048b8b8a7ed8e00932d1e059bb13f867732bc47a58d9a640dc5c4ef5a7ba1bdf5ff02116d9 languageName: node linkType: hard @@ -2348,27 +2348,14 @@ __metadata: languageName: node linkType: hard -"@polkadot/networks@npm:8.4.1, @polkadot/networks@npm:^8.4.1": - version: 8.4.1 - resolution: "@polkadot/networks@npm:8.4.1" +"@polkadot/networks@npm:9.7.2, @polkadot/networks@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/networks@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/util": 8.4.1 - "@substrate/ss58-registry": ^1.14.0 - checksum: c80b0c266544287ba47ba4d1410b86adc8c1814efe8d5704c17a1731773d9892ae5259e7e7cf42e6c86ae555ed7e4a955efaf51fe0306ad7477513b7810f5df5 - languageName: node - linkType: hard - -"@polkadot/rpc-augment@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/rpc-augment@npm:7.10.1" - dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/rpc-core": 7.10.1 - "@polkadot/types": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/util": ^8.4.1 - checksum: ca9c88601d9dbdaadc7ad3397f48febbf92546cc276e731062c7c0d3b42c7f10edeb6d1707b6be615dc8f98ebc0a37b5b82a202c4c5a99e9f802f10c2c6c5e3f + "@babel/runtime": ^7.18.6 + "@polkadot/util": 9.7.2 + "@substrate/ss58-registry": ^1.23.0 + checksum: b9fb80eaf2851da2c00dded072402c717cbfa6549f65cf57a35dea90a2e69281e781fd2a605720820bd5b752027085b49a102357482e795b8ae4a974cb2cbd50 languageName: node linkType: hard @@ -2385,17 +2372,16 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/rpc-core@npm:7.10.1" +"@polkadot/rpc-augment@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/rpc-augment@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/rpc-augment": 7.10.1 - "@polkadot/rpc-provider": 7.10.1 - "@polkadot/types": 7.10.1 - "@polkadot/util": ^8.4.1 - rxjs: ^7.5.4 - checksum: d0f638b74a865401955305698933e1025406d7f92cfe8ea0539338e0c99b68f0ef270dd18b5c6ec995c0c4f0e3a429ee97acd0e0ddf5f7a5ee56628430fed65e + "@babel/runtime": ^7.18.6 + "@polkadot/rpc-core": 8.11.3 + "@polkadot/types": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/util": ^9.7.2 + checksum: 0ee873e0ec3e754d96a33a5e71cb5f86ca0e2d97c9c01af4ada485112ebcd3a03bb259dad1f36b9494eac4712a00ce313283a39607c7c0d6ee9cac6e30bd0ca9 languageName: node linkType: hard @@ -2413,23 +2399,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-provider@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/rpc-provider@npm:7.10.1" +"@polkadot/rpc-core@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/rpc-core@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/keyring": ^8.4.1 - "@polkadot/types": 7.10.1 - "@polkadot/types-support": 7.10.1 - "@polkadot/util": ^8.4.1 - "@polkadot/util-crypto": ^8.4.1 - "@polkadot/x-fetch": ^8.4.1 - "@polkadot/x-global": ^8.4.1 - "@polkadot/x-ws": ^8.4.1 - eventemitter3: ^4.0.7 - mock-socket: ^9.1.2 - nock: ^13.2.4 - checksum: 312c6dbcec09d8289db6b7cf66aab25757211117d5e2aa06abb4f8a0a2cbcd279fedb90c7a9a8ba2a948099c8afe767cd3040f37c87fbb471da28a85693823f5 + "@babel/runtime": ^7.18.6 + "@polkadot/rpc-augment": 8.11.3 + "@polkadot/rpc-provider": 8.11.3 + "@polkadot/types": 8.11.3 + "@polkadot/util": ^9.7.2 + rxjs: ^7.5.5 + checksum: de2d0b0c51f291a34695e109c208959ea111ba789d84ee1b547313cff77c2eea0219fdb47b3f3dd5db28eae2e933d92528c84db67988f29639be631c202a543f languageName: node linkType: hard @@ -2453,15 +2433,24 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-augment@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/types-augment@npm:7.10.1" +"@polkadot/rpc-provider@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/rpc-provider@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/types": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/util": ^8.4.1 - checksum: 1393e1d14fdc391286f8947368ae5d4d285b3cd021fad97de2fbf6f3468080585d1d95233ea3843e767bc5c1ccb4c4146a5a9998d42fb3397aaec4e3f77355bf + "@babel/runtime": ^7.18.6 + "@polkadot/keyring": ^9.7.2 + "@polkadot/types": 8.11.3 + "@polkadot/types-support": 8.11.3 + "@polkadot/util": ^9.7.2 + "@polkadot/util-crypto": ^9.7.2 + "@polkadot/x-fetch": ^9.7.2 + "@polkadot/x-global": ^9.7.2 + "@polkadot/x-ws": ^9.7.2 + "@substrate/connect": 0.7.7 + eventemitter3: ^4.0.7 + mock-socket: ^9.1.5 + nock: ^13.2.8 + checksum: 2269c4091d844d4c38b517103374247cade3c1aceaf9e17dc0a8953a61a16ad3a22b6023c2a499e5e9c6a8dd4a59824c9faad9aa8b118847bff7e9fbdcce072a languageName: node linkType: hard @@ -2477,13 +2466,15 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-codec@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/types-codec@npm:7.10.1" +"@polkadot/types-augment@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/types-augment@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/util": ^8.4.1 - checksum: 5ade4f22b9c690ff3436f80921367123dc08e7ab76b4ce777fe679cba50b4a5e27209a9829f981e36bcd680773353c46af3dc7a0b225bf64fda713bea4efc9e6 + "@babel/runtime": ^7.18.6 + "@polkadot/types": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/util": ^9.7.2 + checksum: b64e10a27548fbc652cf166526ac05cc97cec11545c8b62d7e454c612229fe01e55301454eaec5cb843f9dab8ad5f7927202f5c89bdeae36435c281c2f6dd8e4 languageName: node linkType: hard @@ -2497,14 +2488,25 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-create@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/types-create@npm:7.10.1" +"@polkadot/types-codec@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/types-codec@npm:8.11.3" + dependencies: + "@babel/runtime": ^7.18.6 + "@polkadot/util": ^9.7.2 + "@polkadot/x-bigint": ^9.7.2 + checksum: 0f26e0887b314ebc8c76290067f2ae6c5bf097632d4438e7c183f7ec7d8a84264fa1fe784b5a735d1981041982071c1faddbf4e00c034018626bda8d251c1c63 + languageName: node + linkType: hard + +"@polkadot/types-create@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/types-create@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/types-codec": 7.10.1 - "@polkadot/util": ^8.4.1 - checksum: b138862bd4eee19b4d579c9ff0d3c303dd464e09b3cbf380ececeeb32fb321f191621f788762be45a6273177d3d50034bdbeb30dc32e4486061c95ed49754815 + "@babel/runtime": ^7.18.6 + "@polkadot/types-codec": 8.11.3 + "@polkadot/util": ^9.7.2 + checksum: 8dd3be3aa39cd8b3ce5447db39c4a6150146909bddb07e29c111c9a621bbd496d792af9f7458500ee5416e758aa20004fa4775a2fe54913d733bb6937b0a744d languageName: node linkType: hard @@ -2520,17 +2522,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-known@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/types-known@npm:7.10.1" +"@polkadot/types-known@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/types-known@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/networks": ^8.4.1 - "@polkadot/types": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/types-create": 7.10.1 - "@polkadot/util": ^8.4.1 - checksum: 70c978bf0d5833c444c351e6dccc9b2e8d28dc4be474136176e38fc6ca0c696e5b1002bc021319eb567990cf90d4a0c707b6150e6ce2a71951904d046833950d + "@babel/runtime": ^7.18.6 + "@polkadot/networks": ^9.7.2 + "@polkadot/types": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/types-create": 8.11.3 + "@polkadot/util": ^9.7.2 + checksum: bb7229c1c3396d4e6a75e3e2b1c882e89448c6fbd977a21d46e703f7467e856c058ef0fb7616f6a7bb24a0d9fe1ab8edae4730f78dcc0f3c88f7dd0c06359d68 languageName: node linkType: hard @@ -2544,16 +2546,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-support@npm:7.10.1": - version: 7.10.1 - resolution: "@polkadot/types-support@npm:7.10.1" - dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/util": ^8.4.1 - checksum: 252a4a93b9e58faff47918a696a7d64445934ced6d50a21e43c8c5eda001e52e15608f06b163e072c7e6696bdd2c0f09a8d14b412997476a6fb85c5ff06fd71b - languageName: node - linkType: hard - "@polkadot/types-support@npm:7.5.1": version: 7.5.1 resolution: "@polkadot/types-support@npm:7.5.1" @@ -2564,19 +2556,29 @@ __metadata: languageName: node linkType: hard -"@polkadot/types@npm:^7.10.1": - version: 7.10.1 - resolution: "@polkadot/types@npm:7.10.1" +"@polkadot/types-support@npm:8.11.3": + version: 8.11.3 + resolution: "@polkadot/types-support@npm:8.11.3" + dependencies: + "@babel/runtime": ^7.18.6 + "@polkadot/util": ^9.7.2 + checksum: c090bd6bfd020d73a6998148c0b0995bb9090ea8e5a2aae024e3b73406eeba7f0bec9444b8bfbc3990ab0728bc5cfd964bce6aeba27bdf75d2bd654a619fa361 + languageName: node + linkType: hard + +"@polkadot/types@npm:^8.11.3": + version: 8.11.3 + resolution: "@polkadot/types@npm:8.11.3" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/keyring": ^8.4.1 - "@polkadot/types-augment": 7.10.1 - "@polkadot/types-codec": 7.10.1 - "@polkadot/types-create": 7.10.1 - "@polkadot/util": ^8.4.1 - "@polkadot/util-crypto": ^8.4.1 - rxjs: ^7.5.4 - checksum: a2281ae71210ba77ab81fcdd8542d9ce42e05cf71dbca5634cabe7e9d18cfb441ba97bac07416bd55f4c47c6fae10e7fe7a24b004f147f65c563cf1b80aa75d2 + "@babel/runtime": ^7.18.6 + "@polkadot/keyring": ^9.7.2 + "@polkadot/types-augment": 8.11.3 + "@polkadot/types-codec": 8.11.3 + "@polkadot/types-create": 8.11.3 + "@polkadot/util": ^9.7.2 + "@polkadot/util-crypto": ^9.7.2 + rxjs: ^7.5.5 + checksum: 3698e3f8da2988ef9f46df3d86fe990a3f45d1d21ab0ba05920f0381796c9382341dab17de44824c76ce2d1d61f7614d6ec0ef6a567fc147bd40ab0e02cccd53 languageName: node linkType: hard @@ -2680,40 +2682,63 @@ __metadata: languageName: node linkType: hard -"@polkadot/util-crypto@npm:8.4.1, @polkadot/util-crypto@npm:^8.4.1": - version: 8.4.1 - resolution: "@polkadot/util-crypto@npm:8.4.1" +"@polkadot/util-crypto@npm:9.7.2, @polkadot/util-crypto@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/util-crypto@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@noble/hashes": 1.0.0 - "@noble/secp256k1": 1.5.2 - "@polkadot/networks": 8.4.1 - "@polkadot/util": 8.4.1 - "@polkadot/wasm-crypto": ^4.5.1 - "@polkadot/x-bigint": 8.4.1 - "@polkadot/x-randomvalues": 8.4.1 - "@scure/base": 1.0.0 + "@babel/runtime": ^7.18.6 + "@noble/hashes": 1.1.2 + "@noble/secp256k1": 1.6.0 + "@polkadot/networks": 9.7.2 + "@polkadot/util": 9.7.2 + "@polkadot/wasm-crypto": ^6.2.2 + "@polkadot/x-bigint": 9.7.2 + "@polkadot/x-randomvalues": 9.7.2 + "@scure/base": 1.1.1 ed2curve: ^0.3.0 tweetnacl: ^1.0.3 peerDependencies: - "@polkadot/util": 8.4.1 - checksum: 19e23d88c3552d15decaa6cb354f7534864172a430e2e3c8cdf1e8c6946f19e259d871e27c00fcf72670becdec944346d469e0b6b2de7f19da370ddd4ee85b59 + "@polkadot/util": 9.7.2 + checksum: fb2588671b22f38602dd231184cfeffc77cb848055bda8efed4962a0b8b94888dc7ddb2cfe304e44a175afd3403d94b7551a1c42d3ce54d225b45a80321f6fdb languageName: node linkType: hard -"@polkadot/util@npm:^8.4.1": - version: 8.4.1 - resolution: "@polkadot/util@npm:8.4.1" +"@polkadot/util@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/util@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/x-bigint": 8.4.1 - "@polkadot/x-global": 8.4.1 - "@polkadot/x-textdecoder": 8.4.1 - "@polkadot/x-textencoder": 8.4.1 + "@babel/runtime": ^7.18.6 + "@polkadot/x-bigint": 9.7.2 + "@polkadot/x-global": 9.7.2 + "@polkadot/x-textdecoder": 9.7.2 + "@polkadot/x-textencoder": 9.7.2 "@types/bn.js": ^5.1.0 - bn.js: ^5.2.0 + bn.js: ^5.2.1 ip-regex: ^4.3.0 - checksum: 3699147c8f23846e3b8f8560d553ce9902412bde092f724c719fbbfcffb5a538e87a9923018b2ef53357ae04296e438eee39d3e328dbd9060ea664649e1990c5 + checksum: ccb7270148a0479c141dc138546a30f31fbe39d6d182c72bfc027ae1f01163702b1d2a568b7b2ae5dd2d1b787ec70243f8bebe55a7209ee3f0321708ada293ba + languageName: node + linkType: hard + +"@polkadot/wasm-bridge@npm:6.2.3": + version: 6.2.3 + resolution: "@polkadot/wasm-bridge@npm:6.2.3" + dependencies: + "@babel/runtime": ^7.18.6 + peerDependencies: + "@polkadot/util": "*" + "@polkadot/x-randomvalues": "*" + checksum: 878fddf29280569c33d3097b322cf0749f7f034e5200a239d80cd877f09f49c40db8a3e67b3b83eedc93362ad67a1eaa82b672c8f725fa3865a902abfbec3fc6 + 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" + dependencies: + "@babel/runtime": ^7.18.6 + peerDependencies: + "@polkadot/util": "*" + checksum: 6d51ddedf7b25913d54203f172f28dd093d25b5130a75d3d99433257b7533c827056ba99f9d56a530a00febcd5a3d8be5a8ef26d8948f57ddbb8a0456bf819fa languageName: node linkType: hard @@ -2744,6 +2769,33 @@ __metadata: 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" + 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 + peerDependencies: + "@polkadot/util": "*" + "@polkadot/x-randomvalues": "*" + checksum: 21049298513d1e6008f367be271b6343159aecfc35fce68282dd55a27881b57822151da077b0886555cf30abd2889a038a4ede05d05f8cb0cda31f2afc445af4 + 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" + dependencies: + "@babel/runtime": ^7.18.6 + "@polkadot/wasm-util": 6.2.3 + peerDependencies: + "@polkadot/util": "*" + checksum: 67ccbf19c374f98770180c43cd8ce14304174fbd1ef78afba2268023f897e264de36d7e579f680e1e4a8874692c4418d4f4fa4d6e17ffde91fb219a10712e8a1 + languageName: node + linkType: hard + "@polkadot/wasm-crypto-wasm@npm:^4.1.2": version: 4.1.2 resolution: "@polkadot/wasm-crypto-wasm@npm:4.1.2" @@ -2813,6 +2865,34 @@ __metadata: languageName: node linkType: hard +"@polkadot/wasm-crypto@npm:^6.2.2": + version: 6.2.3 + resolution: "@polkadot/wasm-crypto@npm:6.2.3" + 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 + peerDependencies: + "@polkadot/util": "*" + "@polkadot/x-randomvalues": "*" + checksum: f7f119f3bb8fc0223058bb4929f1da32bb517d83b058c1349a934266a07925a47da092c147dc38965d0f2e45c267675199bcbfe0e745ee287f672014c9615af4 + languageName: node + linkType: hard + +"@polkadot/wasm-util@npm:6.2.3": + version: 6.2.3 + resolution: "@polkadot/wasm-util@npm:6.2.3" + dependencies: + "@babel/runtime": ^7.18.6 + peerDependencies: + "@polkadot/util": "*" + checksum: 41ca92114eb8fa373da8c6620394d4eac083f95f54804e507662728759e235a825de9817c444d1ce9a9f57fa7ef42cc002db0542c7875288a702274865682ee3 + languageName: node + linkType: hard + "@polkadot/x-bigint@npm:8.3.3": version: 8.3.3 resolution: "@polkadot/x-bigint@npm:8.3.3" @@ -2823,13 +2903,13 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:8.4.1": - version: 8.4.1 - resolution: "@polkadot/x-bigint@npm:8.4.1" +"@polkadot/x-bigint@npm:9.7.2, @polkadot/x-bigint@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/x-bigint@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/x-global": 8.4.1 - checksum: fe3acdce1e1ac39cdee6531ec6a0a32316d86587e1ad0b0e22ae9a3e8fdeaf8046bfcc9867d8f93c94526eb389f821cc59303b38a234cb62d0d45ed7d986f54d + "@babel/runtime": ^7.18.6 + "@polkadot/x-global": 9.7.2 + checksum: 18610e4c55388b5c82e8ca6964200751fc20a19f8159f957a321d47b325ce349e3102d4f55a7e8997178e92a2d84cc138e8a39028e986a42175f45c38945b539 languageName: node linkType: hard @@ -2845,15 +2925,15 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^8.4.1": - version: 8.4.1 - resolution: "@polkadot/x-fetch@npm:8.4.1" +"@polkadot/x-fetch@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/x-fetch@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/x-global": 8.4.1 - "@types/node-fetch": ^2.5.12 + "@babel/runtime": ^7.18.6 + "@polkadot/x-global": 9.7.2 + "@types/node-fetch": ^2.6.2 node-fetch: ^2.6.7 - checksum: f4eddf58e814570638cd3688c33be051993bcbe9b5091ba8eb718ca6f85efc345c27a26fb36277b8ad9a0cd95262590888fe4f38a64ea15311d12a26116e0087 + checksum: b0739abf8e8dbc0e2126e6d7d651bfebfe6972388422182c38cdff712fcd1993d86c6c1434a45e327e6456fb0b451f295a6df2c1331a571d4616aedf53b6b20a languageName: node linkType: hard @@ -2893,12 +2973,12 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:8.4.1, @polkadot/x-global@npm:^8.4.1": - version: 8.4.1 - resolution: "@polkadot/x-global@npm:8.4.1" +"@polkadot/x-global@npm:9.7.2, @polkadot/x-global@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/x-global@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - checksum: 39e4e661843c782420e73a2a384872403394d6b18e1fdfdc2996223df2ea5ce3a78aa616df9836567f5e83dc6a13b0b2a2d5126be5fc17c94312c837a066b068 + "@babel/runtime": ^7.18.6 + checksum: 1c64fd3ba0d81707887bb0fcb55da1ee5977ebf4bf247bc078e1d96e7a12d2bed089fafa8776b8c219772049521cf49f45d378f37fed82aaafe44b0b5aad41ac languageName: node linkType: hard @@ -2942,33 +3022,33 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:8.4.1": - version: 8.4.1 - resolution: "@polkadot/x-randomvalues@npm:8.4.1" +"@polkadot/x-randomvalues@npm:9.7.2": + version: 9.7.2 + resolution: "@polkadot/x-randomvalues@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/x-global": 8.4.1 - checksum: 3f2cbdbcf2e65e718736a05a171a15e93954756065fb55b2d21e04b3a986aa283704535102943eedd840330d676f72503dd19980b37a8c3fa9a1c727ccaeca40 + "@babel/runtime": ^7.18.6 + "@polkadot/x-global": 9.7.2 + checksum: 0c7e3a0b04dea40ce6696613970b523924e364de622e4180cfcb678a2187d4f59f143651aa16380b96bdebe022c462f4bfb53730e3528b24b0d2e9ffcc0276a2 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:8.4.1": - version: 8.4.1 - resolution: "@polkadot/x-textdecoder@npm:8.4.1" +"@polkadot/x-textdecoder@npm:9.7.2": + version: 9.7.2 + resolution: "@polkadot/x-textdecoder@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/x-global": 8.4.1 - checksum: f3a8a67686dbc8f3f064860fc1260a4f5aaee11e22143400c10e4eb962976c9f94df0edb6deb3c89ee320c1479f1a42420b8a29b73b4b7a02a9b5f4973dbdbc3 + "@babel/runtime": ^7.18.6 + "@polkadot/x-global": 9.7.2 + checksum: e2cb044723a7130fb8ad7f3799ede94f49777e94ab6806318f7fc5a0cfdba91fd06730da3292453c9a4d901b60b07b78efbbd44f917b99ea1490a79f8dfec39d languageName: node linkType: hard -"@polkadot/x-textencoder@npm:8.4.1": - version: 8.4.1 - resolution: "@polkadot/x-textencoder@npm:8.4.1" +"@polkadot/x-textencoder@npm:9.7.2": + version: 9.7.2 + resolution: "@polkadot/x-textencoder@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/x-global": 8.4.1 - checksum: f40b492c370ca99ee3f75a54e966815dc8d8f8132a7c8f6150bb782edfc9ed86d8afe2e59e5f939206eb4fb5ca92433ab9c2deec36e6ff5838a5e3cc7709bdd6 + "@babel/runtime": ^7.18.6 + "@polkadot/x-global": 9.7.2 + checksum: 619bf4eafc086e777abfae67e1027136fb1e4d9761e20583da12c55c5b6cc852f227029b8b3241cda23b157e11d450d273b3526b792a95eaa294f0f785d9fe3c languageName: node linkType: hard @@ -2984,15 +3064,15 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-ws@npm:^8.4.1": - version: 8.4.1 - resolution: "@polkadot/x-ws@npm:8.4.1" +"@polkadot/x-ws@npm:^9.7.2": + version: 9.7.2 + resolution: "@polkadot/x-ws@npm:9.7.2" dependencies: - "@babel/runtime": ^7.17.2 - "@polkadot/x-global": 8.4.1 + "@babel/runtime": ^7.18.6 + "@polkadot/x-global": 9.7.2 "@types/websocket": ^1.0.5 websocket: ^1.0.34 - checksum: 9a5d2215ef172bbd4ac6c1165c0a10f2dc7445e39b512632042a0deec6b9cda18959732909c3b411dda57b211505c9e2f3012e1c9892de470f85c0bed0bd6d38 + checksum: 0eebb36f601d00f1275abb4085507fd6cea220c3eeed4172102405ea60b1c2e85c4a35536516c49bb95b9f285924fd5489ead9c1a2438d4dd6a8bf8c22e4cfec languageName: node linkType: hard @@ -3007,8 +3087,8 @@ __metadata: version: 0.0.0-use.local resolution: "@redspot/chai@workspace:packages/redspot-chai" dependencies: - "@polkadot/api": ^7.10.1 - "@polkadot/api-contract": ^7.10.1 + "@polkadot/api": ^8.11.3 + "@polkadot/api-contract": ^8.11.3 "@types/chai-as-promised": ^7.1.5 chai-as-promised: ^7.1.1 peerDependencies: @@ -3020,8 +3100,8 @@ __metadata: version: 0.0.0-use.local resolution: "@redspot/decimals@workspace:packages/redspot-decimals" dependencies: - "@polkadot/api": ^7.10.1 - "@polkadot/api-contract": ^7.10.1 + "@polkadot/api": ^8.11.3 + "@polkadot/api-contract": ^8.11.3 peerDependencies: redspot: ^0.13.6 languageName: unknown @@ -3064,7 +3144,7 @@ __metadata: version: 0.0.0-use.local resolution: "@redspot/known-types@workspace:packages/redspot-known-types" dependencies: - "@polkadot/api": ^7.10.1 + "@polkadot/api": ^8.11.3 "@polkadot/apps-config": ^0.103.1 peerDependencies: redspot: ^0.13.6 @@ -3075,8 +3155,8 @@ __metadata: version: 0.0.0-use.local resolution: "@redspot/patract@workspace:packages/redspot-patract" dependencies: - "@polkadot/api": ^7.10.1 - "@polkadot/api-contract": ^7.10.1 + "@polkadot/api": ^8.11.3 + "@polkadot/api-contract": ^8.11.3 peerDependencies: redspot: ^0.13.6 languageName: unknown @@ -3105,10 +3185,10 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:1.0.0": - version: 1.0.0 - resolution: "@scure/base@npm:1.0.0" - checksum: 4bff6fd46fa4afeff58410a157edbb93e6d1aaeca8be18ecd9ec439d5e86e297e52d9288ab269d0ec5f861d55cf1664f26bd14812dd631784f6a9cc11276ff91 +"@scure/base@npm:1.1.1": + version: 1.1.1 + resolution: "@scure/base@npm:1.1.1" + checksum: b4fc810b492693e7e8d0107313ac74c3646970c198bbe26d7332820886fa4f09441991023ec9aa3a2a51246b74409ab5ebae2e8ef148bbc253da79ac49130309 languageName: node linkType: hard @@ -3210,10 +3290,39 @@ __metadata: languageName: node linkType: hard -"@substrate/ss58-registry@npm:^1.14.0": - version: 1.14.0 - resolution: "@substrate/ss58-registry@npm:1.14.0" - checksum: 90163b976f03c02aeb5ddbf760696e39cd0f606b3fbb73e7f34987e6c716f08f38708852d237b0bb11e11986b859540fa41c1bda79b4254142e78dd3d3f4f2f2 +"@substrate/connect-extension-protocol@npm:^1.0.0": + version: 1.0.0 + resolution: "@substrate/connect-extension-protocol@npm:1.0.0" + checksum: a6f16f1b986eb3d517a8db909d780febc1f5094a2956c1d3f9332ee60e0c08f32f67f4f500c9522bacd166d63a5023738f90c28059768077bf26535dc5a82013 + languageName: node + linkType: hard + +"@substrate/connect@npm:0.7.7": + version: 0.7.7 + resolution: "@substrate/connect@npm:0.7.7" + dependencies: + "@substrate/connect-extension-protocol": ^1.0.0 + "@substrate/smoldot-light": 0.6.19 + eventemitter3: ^4.0.7 + checksum: a4c663415d57731cb435ce19e766040688201f5af5002a882d3858f0ff0607356025c6b3a40e2ce5c810fb1e41ac881c3d76e68276e1cede6b81e21bee2274ef + languageName: node + linkType: hard + +"@substrate/smoldot-light@npm:0.6.19": + version: 0.6.19 + resolution: "@substrate/smoldot-light@npm:0.6.19" + dependencies: + buffer: ^6.0.1 + pako: ^2.0.4 + websocket: ^1.0.32 + checksum: 5d276c44d1782826fd1bbe3c517c70cdf3d0dc558c34615dcc4480b407fccf90b8a9d33c6058aefc50cdb47349fc65595312b4f6fd9f199d93a7b562f20759f6 + 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 languageName: node linkType: hard @@ -3529,6 +3638,16 @@ __metadata: languageName: node linkType: hard +"@types/node-fetch@npm:^2.6.2": + version: 2.6.2 + resolution: "@types/node-fetch@npm:2.6.2" + dependencies: + "@types/node": "*" + form-data: ^3.0.0 + checksum: 6f73b1470000d303d25a6fb92875ea837a216656cb7474f66cdd67bb014aa81a5a11e7ac9c21fe19bee9ecb2ef87c1962bceeaec31386119d1ac86e4c30ad7a6 + languageName: node + linkType: hard + "@types/node@npm:*": version: 14.14.6 resolution: "@types/node@npm:14.14.6" @@ -4780,7 +4899,7 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.1.1, bn.js@npm:^5.1.2, bn.js@npm:^5.2.0": +"bn.js@npm:^5.1.1, bn.js@npm:^5.1.2": version: 5.2.0 resolution: "bn.js@npm:5.2.0" checksum: 6117170393200f68b35a061ecbf55d01dd989302e7b3c798a3012354fa638d124f0b2f79e63f77be5556be80322a09c40339eda6413ba7468524c0b6d4b4cb7a @@ -4794,6 +4913,13 @@ __metadata: languageName: node linkType: hard +"bn.js@npm:^5.2.1": + version: 5.2.1 + resolution: "bn.js@npm:5.2.1" + checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 + languageName: node + linkType: hard + "body-parser@npm:1.19.0": version: 1.19.0 resolution: "body-parser@npm:1.19.0" @@ -4942,6 +5068,16 @@ __metadata: languageName: node linkType: hard +"buffer@npm:^6.0.1": + version: 6.0.3 + resolution: "buffer@npm:6.0.3" + dependencies: + base64-js: ^1.3.1 + ieee754: ^1.2.1 + checksum: 5ad23293d9a731e4318e420025800b42bf0d264004c0286c8cc010af7a270c7a0f6522e84f54b9ad65cbd6db20b8badbfd8d2ebf4f80fa03dab093b89e68c3f9 + languageName: node + linkType: hard + "bufferutil@npm:^4.0.1": version: 4.0.2 resolution: "bufferutil@npm:4.0.2" @@ -8863,7 +8999,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"ieee754@npm:^1.1.13": +"ieee754@npm:^1.1.13, ieee754@npm:^1.2.1": version: 1.2.1 resolution: "ieee754@npm:1.2.1" checksum: 5144c0c9815e54ada181d80a0b810221a253562422e7c6c3a60b1901154184f49326ec239d618c416c1c5945a2e197107aee8d986a3dd836b53dffefd99b5e7e @@ -11408,10 +11544,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"mock-socket@npm:^9.1.2": - version: 9.1.2 - resolution: "mock-socket@npm:9.1.2" - checksum: ef25dbd57b7360a0c1e0bb072aa0d73ac53d11d88c1efebedd48da006ccff77327628d707fecf651906e81cc488e8929c733bdb9f2c4c4f3772e99d6b903aace +"mock-socket@npm:^9.1.5": + version: 9.1.5 + resolution: "mock-socket@npm:9.1.5" + checksum: a01586bc2850eb5809eda6de0c7ab19255c1e0eb217a805f86ba662bb4aab00b919032d67e7c826c6c12bcfb2fbe19cecbacf0ab6184936487edc4ba37d3ba53 languageName: node linkType: hard @@ -11649,15 +11785,15 @@ fsevents@^1.2.7: languageName: node linkType: hard -"nock@npm:^13.2.4": - version: 13.2.4 - resolution: "nock@npm:13.2.4" +"nock@npm:^13.2.8": + version: 13.2.8 + resolution: "nock@npm:13.2.8" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 - lodash.set: ^4.3.2 + lodash: ^4.17.21 propagate: ^2.0.0 - checksum: 2750a82ea22eebd8203eb1d7669ae09c3daae1fd573026372bad2515adad48d723a804f647bd45d7a499eb3a9a632560da406bde05bca9df762d3027db9099b5 + checksum: 656f696d3c1b6267b8ec366f5cc464306d2aa308ce9b41414e9992eea5b0b71e475a582945b936e16263961c3a0f9e1c388a3a36da53c1e300398a7826550f96 languageName: node linkType: hard @@ -12273,6 +12409,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"pako@npm:^2.0.4": + version: 2.0.4 + resolution: "pako@npm:2.0.4" + checksum: 82b9b0b99dd830c9103856a6dbd10f0cb2c8c32b9768184727ea381a99666de9a47a069d2e6efe6acf09336f363956b50835c196ef9311b34b7274d420eb0d88 + languageName: node + linkType: hard + "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -13218,7 +13361,7 @@ fsevents@^1.2.7: version: 0.0.0-use.local resolution: "redspot@workspace:packages/redspot-core" dependencies: - "@polkadot/api": ^7.10.1 + "@polkadot/api": ^8.11.3 "@types/mocha": ^5.2.6 abort-controller: ^3.0.0 bn.js: ^5.1.3 @@ -13807,12 +13950,12 @@ fsevents@^1.2.7: languageName: node linkType: hard -"rxjs@npm:^7.5.4": - version: 7.5.4 - resolution: "rxjs@npm:7.5.4" +"rxjs@npm:^7.5.5": + version: 7.5.5 + resolution: "rxjs@npm:7.5.5" dependencies: tslib: ^2.1.0 - checksum: 6f55f835f2543bc8214900f9e28b6320e6adc95875011fbca63e80a66eb18c9ff7cfdccb23b2180cbb6412762b98ed158c89fd51cb020799d127c66ea38c3c0e + checksum: e034f60805210cce756dd2f49664a8108780b117cf5d0e2281506e9e6387f7b4f1532d974a8c8b09314fa7a16dd2f6cff3462072a5789672b5dcb45c4173f3c6 languageName: node linkType: hard @@ -16133,7 +16276,7 @@ typescript@^4.5.4: languageName: node linkType: hard -"websocket@npm:^1.0.34": +"websocket@npm:^1.0.32, websocket@npm:^1.0.34": version: 1.0.34 resolution: "websocket@npm:1.0.34" dependencies: