diff --git a/api/.eslintrc b/api/.eslintrc deleted file mode 100644 index e8ad599849..0000000000 --- a/api/.eslintrc +++ /dev/null @@ -1,45 +0,0 @@ -{ - "root": true, - "env": { - "browser": true, - "es2021": true, - "node": true - }, - "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": "latest", - "sourceType": "module" - }, - "plugins": ["@typescript-eslint"], - "rules": { - "semi": ["error", "always"], - "object-curly-spacing": ["error", "always"], - "indent": [ - "warn", - 2, - { - "SwitchCase": 1, - "flatTernaryExpressions": false, - "offsetTernaryExpressions": true - } - ], - "linebreak-style": ["error", "unix"], - "quotes": ["warn", "single", { "avoidEscape": true }], - "@typescript-eslint/no-empty-function": 0, - "@typescript-eslint/no-explicit-any": "off", - "no-case-declarations": 0, - "eol-last": "error", - "max-len": ["error", { "code": 120, "tabWidth": 2, "ignoreStrings": true, "ignoreComments": true }], - "sort-imports": [ - "error", - { - "ignoreCase": false, - "ignoreDeclarationSort": false, - "ignoreMemberSort": false, - "memberSyntaxSortOrder": ["none", "all", "multiple", "single"], - "allowSeparatedGroups": true - } - ] - } -} diff --git a/api/CHANGELOG.md b/api/CHANGELOG.md index 1cf8177fce..35f37d2377 100644 --- a/api/CHANGELOG.md +++ b/api/CHANGELOG.md @@ -1,3 +1,13 @@ +## 0.38.2 +_08/01/2024_ + +_Compatible with [1.4.2](https://github.com/gear-tech/gear/releases/tag/v1.4.2) release_ + +### Changes +https://github.com/gear-tech/gear-js/pull/1584 +- Remove supporting old runtime versions +- Bump dependencies + ## 0.38.1 _05/22/2024_ diff --git a/api/eslint.config.js b/api/eslint.config.js new file mode 100644 index 0000000000..188434e46f --- /dev/null +++ b/api/eslint.config.js @@ -0,0 +1,63 @@ +import globals from 'globals'; +import tsParser from '@typescript-eslint/parser'; +import typescriptEslint from '@typescript-eslint/eslint-plugin'; + +export default { + extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], + plugins: { + '@typescript-eslint': typescriptEslint, + }, + languageOptions: { + globals: { + ...globals.browser, + ...globals.node, + }, + parser: tsParser, + ecmaVersion: 'latest', + sourceType: 'module', + }, + rules: { + semi: ['error', 'always'], + 'object-curly-spacing': ['error', 'always'], + indent: [ + 'warn', + 2, + { + SwitchCase: 1, + flatTernaryExpressions: false, + offsetTernaryExpressions: true, + }, + ], + 'linebreak-style': ['error', 'unix'], + quotes: [ + 'warn', + 'single', + { + avoidEscape: true, + }, + ], + '@typescript-eslint/no-empty-function': 0, + '@typescript-eslint/no-explicit-any': 'off', + 'no-case-declarations': 0, + 'eol-last': 'error', + 'max-len': [ + 'error', + { + code: 120, + tabWidth: 2, + ignoreStrings: true, + ignoreComments: true, + }, + ], + 'sort-imports': [ + 'error', + { + ignoreCase: false, + ignoreDeclarationSort: false, + ignoreMemberSort: false, + memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'], + allowSeparatedGroups: true, + }, + ], + }, +}; diff --git a/api/package.json b/api/package.json index fdee45a175..3bf41312f7 100644 --- a/api/package.json +++ b/api/package.json @@ -1,6 +1,6 @@ { "name": "@gear-js/api", - "version": "0.38.1", + "version": "0.38.2", "description": "A JavaScript library that provides functionality to connect GEAR Component APIs.", "main": "cjs/index.js", "module": "index.js", @@ -48,38 +48,38 @@ }, "license": "GPL-3.0", "peerDependencies": { - "@polkadot/api": "11.2.1", + "@polkadot/api": "12.0.1", "@polkadot/wasm-crypto": "7.3.2", "rxjs": "7.8.1" }, "devDependencies": { - "@babel/plugin-transform-typescript": "7.24.7", - "@babel/preset-env": "7.24.7", + "@babel/plugin-transform-typescript": "7.25.2", + "@babel/preset-env": "7.25.3", "@babel/preset-typescript": "7.24.7", - "@polkadot/api": "10.13.1", - "@polkadot/typegen": "10.13.1", - "@polkadot/types": "10.13.1", - "@polkadot/types-codec": "10.13.1", + "@polkadot/api": "12.2.3", + "@polkadot/typegen": "12.2.3", + "@polkadot/types": "12.2.3", + "@polkadot/types-codec": "12.2.3", "@polkadot/wasm-crypto": "7.3.2", - "@rollup/plugin-commonjs": "25.0.8", + "@rollup/plugin-commonjs": "26.0.1", "@rollup/plugin-json": "6.1.0", "@rollup/plugin-node-resolve": "15.2.3", "@rollup/plugin-typescript": "11.1.6", "@types/jest": "29.5.12", "@types/rollup-plugin-peer-deps-external": "2.2.5", - "@typescript-eslint/parser": "5.62.0", + "@typescript-eslint/parser": "8.0.0", "babel-cli": "6.26.0", "babel-core": "6.26.3", "babel-jest": "29.7.0", - "eslint": "8.57.0", + "eslint": "9.8.0", "jest": "29.7.0", - "rollup": "3.29.4", + "rollup": "4.19.2", "rollup-plugin-peer-deps-external": "2.2.4", "rollup-plugin-typescript2": "0.36.0", "rxjs": "7.8.1", - "ts-jest": "29.1.4", + "ts-jest": "29.2.4", "ts-node": "10.9.2", - "typescript": "5.4.5" + "typescript": "5.5.4" }, "lint-staged": { "*.ts": [ diff --git a/api/src/Code.ts b/api/src/Code.ts index d1fe358575..f77c1d93b0 100644 --- a/api/src/Code.ts +++ b/api/src/Code.ts @@ -2,7 +2,7 @@ import { Bytes, Option } from '@polkadot/types'; import { HexString } from '@polkadot/util/types'; import { u8aToHex } from '@polkadot/util'; -import { CodeUploadResult, GearCommonCodeMetadata, GearCoreCodeInstrumentedCode } from './types'; +import { CodeUploadResult, GearCommonCodeMetadata, GearCoreCodeInstrumentedInstrumentedCode } from './types'; import { generateCodeHash, getIdsFromKeys, validateCodeId } from './utils'; import { CodeDoesNotExistError } from './errors'; import { GearTransaction } from './Transaction'; @@ -36,7 +36,7 @@ export class GearCode extends GearTransaction { * ### Get code storage * @param codeId */ - async storage(codeId: HexString): Promise> { + async storage(codeId: HexString): Promise> { return this._api.query.gearProgram.codeStorage(codeId); } diff --git a/api/src/GearApi.ts b/api/src/GearApi.ts index 069ea437e7..ba43f2a4a5 100644 --- a/api/src/GearApi.ts +++ b/api/src/GearApi.ts @@ -64,6 +64,7 @@ export class GearApi extends ApiPromise { version: 1030, }, ], + GearBuiltinApi: [{ methods: {}, version: 1 }], }, signedExtensions: { VoucherLegitimate: { extrinsic: {}, payload: {} }, diff --git a/api/src/Message.ts b/api/src/Message.ts index e8f0fd4e73..75011f9b44 100644 --- a/api/src/Message.ts +++ b/api/src/Message.ts @@ -16,7 +16,6 @@ import { } from './utils'; import { GearTransaction } from './Transaction'; import { ProgramMetadata } from './metadata'; -import { SPEC_VERSION } from './consts'; export class GearMessage extends GearTransaction { /** @@ -117,7 +116,7 @@ export class GearMessage extends GearTransaction { * @returns Submitable result */ send( - { destination, value, gasLimit, payload, ...rest }: MessageSendOptions, + { destination, value, gasLimit, payload, keepAlive }: MessageSendOptions, metaOrHexRegistry?: ProgramMetadata | HexString, typeIndexOrTypeName?: number | string, ): SubmittableExtrinsic<'promise', ISubmittableResult> { @@ -127,13 +126,7 @@ export class GearMessage extends GearTransaction { const _payload = encodePayload(payload, metaOrHexRegistry, 'handle', typeIndexOrTypeName); try { - const txArgs: any[] = [destination, _payload, gasLimit, value || 0]; - - if (this._api.specVersion >= SPEC_VERSION.V1010) { - txArgs.push('keepAlive' in rest ? rest.keepAlive : true); - } else { - txArgs.push('prepaid' in rest ? rest.prepaid : false); - } + const txArgs: any[] = [destination, _payload, gasLimit, value || 0, keepAlive || true]; this.extrinsic = getExtrinsic(this._api, 'gear', 'sendMessage', txArgs); return this.extrinsic; @@ -242,7 +235,7 @@ export class GearMessage extends GearTransaction { */ async sendReply( - { value, gasLimit, replyToId, payload, account, ...rest }: MessageSendReplyOptions, + { value, gasLimit, replyToId, payload, account, keepAlive }: MessageSendReplyOptions, metaOrHexRegistry?: ProgramMetadata | HexString, typeIndexOrTypeName?: number | string, ): Promise> { @@ -256,13 +249,7 @@ export class GearMessage extends GearTransaction { const _payload = encodePayload(payload, metaOrHexRegistry, 'reply', typeIndexOrTypeName); try { - const txArgs: any[] = [replyToId, _payload, gasLimit, value || 0]; - - if (this._api.specVersion >= SPEC_VERSION.V1010) { - txArgs.push('keepAlive' in rest ? rest.keepAlive : true); - } else { - txArgs.push('prepaid' in rest ? rest.prepaid : false); - } + const txArgs: any[] = [replyToId, _payload, gasLimit, value || 0, keepAlive || true]; this.extrinsic = getExtrinsic(this._api, 'gear', 'sendReply', txArgs); return this.extrinsic; diff --git a/api/src/Program.ts b/api/src/Program.ts index 75a2f653ee..cada1726f3 100644 --- a/api/src/Program.ts +++ b/api/src/Program.ts @@ -1,4 +1,4 @@ -import { Bytes, Option, u128, u32 } from '@polkadot/types'; +import { Option, u128, u32 } from '@polkadot/types'; import { H256 } from '@polkadot/types/interfaces'; import { HexString } from '@polkadot/util/types'; import { ISubmittableResult } from '@polkadot/types/types'; @@ -6,7 +6,7 @@ import { SubmittableExtrinsic } from '@polkadot/api/types'; import { randomAsHex } from '@polkadot/util-crypto'; import { - GearCommonProgram, + GearCoreProgram, IProgramCreateResult, IProgramUploadResult, ProgramCreateOptions, @@ -27,7 +27,6 @@ import { GearApi } from './GearApi'; import { GearGas } from './Gas'; import { GearTransaction } from './Transaction'; import { ProgramMetadata } from './metadata'; -import { SPEC_VERSION } from './consts'; export class GearProgram extends GearTransaction { public calculateGas: GearGas; @@ -99,10 +98,7 @@ export class GearProgram extends GearTransaction { const programId = generateProgramId(this._api, codeId, salt); try { - const txArgs: any[] = [code, salt, payload, args.gasLimit, args.value || 0]; - if (this._api.specVersion >= SPEC_VERSION.V1010) { - txArgs.push('keepAlive' in args ? args.keepAlive : true); - } + const txArgs: any[] = [code, salt, payload, args.gasLimit, args.value || 0, args.keepAlive]; this.extrinsic = getExtrinsic(this._api, 'gear', 'uploadProgram', txArgs); @@ -171,11 +167,7 @@ export class GearProgram extends GearTransaction { const programId = generateProgramId(this._api, codeId, salt); try { - const txArgs: any[] = [codeId, salt, payload, gasLimit, value || 0]; - - if (this._api.specVersion >= SPEC_VERSION.V1010) { - txArgs.push('keepAlive' in args ? args.keepAlive : true); - } + const txArgs: any[] = [codeId, salt, payload, gasLimit, value || 0, args.keepAlive]; this.extrinsic = getExtrinsic(this._api, 'gear', 'createProgram', txArgs); @@ -247,7 +239,7 @@ export class GearProgram extends GearTransaction { * @returns `true` if address belongs to program, and `false` otherwise */ async exists(id: HexString): Promise { - const program = (await this._api.query.gearProgram.programStorage(id)) as Option; + const program = (await this._api.query.gearProgram.programStorage(id)) as Option; return program.isSome; } diff --git a/api/src/Storage.ts b/api/src/Storage.ts index dc1ee10273..f050867265 100644 --- a/api/src/Storage.ts +++ b/api/src/Storage.ts @@ -1,10 +1,10 @@ -import { Option, u32 } from '@polkadot/types'; +import { Bytes, Option, u32 } from '@polkadot/types'; +import { u8aToNumber, u8aToU8a } from '@polkadot/util'; import { H256 } from '@polkadot/types/interfaces'; import { HexString } from '@polkadot/util/types'; import { ITuple } from '@polkadot/types-codec/types'; -import { u8aToU8a } from '@polkadot/util'; -import { GearCommonActiveProgram, GearCommonProgram, IGearPages, PausedProgramBlockAndHash } from './types'; +import { GearCoreProgram, GearCoreProgramActiveProgram, IGearPages, PausedProgramBlockAndHash } from './types'; import { PausedProgramDoesNotExistError, ProgramDoesNotExistError, @@ -12,7 +12,6 @@ import { ProgramTerminatedError, } from './errors'; import { GearApi } from './GearApi'; -import { SPEC_VERSION } from './consts'; export class GearProgramStorage { constructor(protected _api: GearApi) {} @@ -23,9 +22,9 @@ export class GearProgramStorage { * @param at _(optional)_ Hash of block to query at * @returns */ - async getProgram(id: HexString, at?: HexString): Promise { + async getProgram(id: HexString, at?: HexString): Promise { const api = at ? await this._api.at(at) : this._api; - const programOption = (await api.query.gearProgram.programStorage(id)) as Option; + const programOption = (await api.query.gearProgram.programStorage(id)) as Option; if (programOption.isNone) { throw new ProgramDoesNotExistError(id); @@ -46,20 +45,30 @@ export class GearProgramStorage { * @param gProg * @returns */ - async getProgramPages(programId: HexString, program: GearCommonActiveProgram, at?: HexString): Promise { + async getProgramPages( + programId: HexString, + program: GearCoreProgramActiveProgram, + at?: HexString, + ): Promise { const pages = {}; - const query = - this._api.specVersion >= SPEC_VERSION.V1100 - ? this._api.query.gearProgram.memoryPages - : this._api.query.gearProgram.memoryPageStorage; - const args = this._api.specVersion >= SPEC_VERSION.V1100 ? [programId, program.memoryInfix] : [programId]; + const blockAt = at || (await this._api.rpc.chain.getHeader()).hash.toHex(); - for (const [start, end] of program.pagesWithData.inner) { - for (let page = start.toNumber(); page <= end.toNumber(); page++) { - pages[page] = u8aToU8a(await this._api.provider.send('state_getStorage', [query.key(...args, page), at])); - } + const apiAt = await this._api.at(blockAt); + + const keys = await apiAt.query.gearProgram.memoryPages.keys(programId, program.memoryInfix); + + const pageNumbers = keys.map((k) => { + const u8aAddr = k.toU8a(); + const page = u8aAddr.slice(u8aAddr.length - 4); + return u8aToNumber(page, { isLe: true }); + }); + + for (let i = 0; i < pageNumbers.length; i++) { + const page = pageNumbers[i]; + pages[page] = (await this._api.rpc.state.getStorage(keys[i].toHex(), blockAt)).toU8a(); } + return pages; } diff --git a/api/src/Voucher.ts b/api/src/Voucher.ts index 4d1dd8d623..72e5bcdf97 100644 --- a/api/src/Voucher.ts +++ b/api/src/Voucher.ts @@ -6,9 +6,8 @@ import { SubmittableExtrinsic } from '@polkadot/api/types'; import { blake2AsHex } from '@polkadot/util-crypto'; import { ICallOptions, IUpdateVoucherParams, IVoucherDetails, PalletGearVoucherInternalVoucherInfo } from './types'; -import { decodeAddress, generateVoucherId } from './utils'; import { GearTransaction } from './Transaction'; -import { SPEC_VERSION } from './consts'; +import { generateVoucherId } from './utils'; export class GearVoucher extends GearTransaction { /** @@ -237,16 +236,6 @@ export class GearVoucher extends GearTransaction { * @returns */ async exists(accountId: string, programId: HexString): Promise { - if (this._api.specVersion < SPEC_VERSION.V1100) { - const id = generateVoucherId(decodeAddress(accountId), programId); - - const balance = await this._api.balance.findOut(id); - if (balance.eqn(0)) { - return false; - } - return true; - } - const keyPrefixes = this._api.query.gearVoucher.vouchers.keyPrefix(accountId); const keysPaged = await this._api.rpc.state.getKeysPaged(keyPrefixes, 1000, keyPrefixes); diff --git a/api/src/apis/index.ts b/api/src/apis/index.ts index eeef18c08b..5249781158 100644 --- a/api/src/apis/index.ts +++ b/api/src/apis/index.ts @@ -1,2 +1 @@ -export { VaraApiV1000 } from './v1000/api'; export { VaraApiV1010 } from './v1010/api'; diff --git a/api/src/apis/v1000/api.ts b/api/src/apis/v1000/api.ts deleted file mode 100644 index 726d7aa601..0000000000 --- a/api/src/apis/v1000/api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { GearApi } from '../../GearApi'; -import { V1000Message } from './message'; -import { V1000Program } from './program'; - -export class VaraApiV1000 extends GearApi { - public declare program: V1000Program; - public declare message: V1000Message; -} diff --git a/api/src/apis/v1000/message.ts b/api/src/apis/v1000/message.ts deleted file mode 100644 index 77d22d08d0..0000000000 --- a/api/src/apis/v1000/message.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { ISubmittableResult } from '@polkadot/types/types'; -import { SubmittableExtrinsic } from '@polkadot/api/types'; - -import { V1000MessageSendOptions, V1000MessageSendReplyOptions } from '../../types'; -import { GearMessage } from '../../Message'; -import { ProgramMetadata } from '../../metadata'; - -export declare class V1000Message extends GearMessage { - send( - args: V1000MessageSendOptions, - meta: ProgramMetadata, - typeIndex?: number, - ): SubmittableExtrinsic<'promise', ISubmittableResult>; - send( - args: V1000MessageSendOptions, - hexRegistry: `0x${string}`, - typeIndex: number, - ): SubmittableExtrinsic<'promise', ISubmittableResult>; - send( - args: V1000MessageSendOptions, - metaOrHexRegistry?: ProgramMetadata | `0x${string}`, - typeName?: string, - ): SubmittableExtrinsic<'promise', ISubmittableResult>; - - sendReply( - args: V1000MessageSendReplyOptions, - meta?: ProgramMetadata, - typeIndex?: number, - ): Promise>; - sendReply( - args: V1000MessageSendReplyOptions, - hexRegistry: `0x${string}`, - typeIndex: number, - ): Promise>; - sendReply( - args: V1000MessageSendReplyOptions, - metaOrHexRegistry?: ProgramMetadata | `0x${string}`, - typeName?: string, - ): Promise>; -} diff --git a/api/src/apis/v1000/program.ts b/api/src/apis/v1000/program.ts deleted file mode 100644 index 9d385e2c04..0000000000 --- a/api/src/apis/v1000/program.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { - HexString, - IProgramCreateResult, - IProgramUploadResult, - V1000ProgramCreateOptions, - V1000ProgramUploadOptions, -} from '../../types'; -import { GearProgram } from '../../Program'; -import { ProgramMetadata } from '../../metadata'; - -export declare class V1000Program extends GearProgram { - upload(args: V1000ProgramUploadOptions, meta?: ProgramMetadata, typeIndex?: number): IProgramUploadResult; - - upload(args: V1000ProgramUploadOptions, hexRegistry: HexString, typeIndex: number): IProgramUploadResult; - - upload( - args: V1000ProgramUploadOptions, - metaOrHexRegistry?: ProgramMetadata | HexString, - typeName?: string, - ): IProgramUploadResult; - - create(args: V1000ProgramCreateOptions, meta?: ProgramMetadata, typeIndex?: number): IProgramCreateResult; - create(args: V1000ProgramCreateOptions, hexRegistry: `0x${string}`, typeIndex: number): IProgramCreateResult; - create( - args: V1000ProgramCreateOptions, - metaOrHexRegistry?: ProgramMetadata | `0x${string}`, - typeName?: string | number, - ): IProgramCreateResult; -} diff --git a/api/src/consts.ts b/api/src/consts.ts index 191d0d5a85..75153b5848 100644 --- a/api/src/consts.ts +++ b/api/src/consts.ts @@ -1,6 +1,3 @@ export enum SPEC_VERSION { - V1000 = 1000, - V1010 = 1010, - V1100 = 1100, V1200 = 1200, } diff --git a/api/src/default/rpc.json b/api/src/default/rpc.json index f5283857cf..566a0b688f 100644 --- a/api/src/default/rpc.json +++ b/api/src/default/rpc.json @@ -283,15 +283,12 @@ "type": "ReplyInfo" } }, - "chainSpec_unstable": { + "chainSpec_v1": { "chainName": { "params": [], "type": "String" }, "properties": { "params": [], "type": "String" }, "genesisHash": { "params": [], "type": "H256" } }, - "transaction_unstable": { - "submitAndWatch": { "params": [] }, - "unwatch": { "params": [] } - }, + "runtime": { "wasmBlobVersion": { "description": "Returns the version of the WASM blob in storage.", @@ -304,6 +301,17 @@ "params": [], "type": "Bytes" } + }, + "gearBuiltin": { + "queryId": { + "params": [ + { + "name": "builtin_id", + "type": "u64" + } + ], + "type": "H256" + } } } } diff --git a/api/src/types/augment/augment-api-consts.ts b/api/src/types/augment/augment-api-consts.ts index f7d19d7fbd..197e8280ce 100644 --- a/api/src/types/augment/augment-api-consts.ts +++ b/api/src/types/augment/augment-api-consts.ts @@ -1,7 +1,7 @@ import '@polkadot/api-base/types/consts'; import { GearCommonGasMultiplier, PalletGearSchedule } from '../lookup'; -import type { bool, u128, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Option, bool, u128, u32, u64, u8 } from '@polkadot/types-codec'; import type { AccountId32 } from '@polkadot/types/interfaces/runtime'; import type { ApiTypes } from '@polkadot/api-base/types'; import type { Codec } from '@polkadot/types-codec/types'; @@ -21,7 +21,11 @@ declare module '@polkadot/api-base/types/consts' { **/ mailboxThreshold: u64 & AugmentedConst; /** - * The maximum amount of messages that can be produced in single run. + * The maximum amount of bytes in outgoing messages during message execution. + **/ + outgoingBytesLimit: u32 & AugmentedConst; + /** + * The maximum amount of messages that can be produced in during all message executions. **/ outgoingLimit: u32 & AugmentedConst; /** @@ -53,6 +57,10 @@ declare module '@polkadot/api-base/types/consts' { * The amount of blocks for processing resume session. **/ programResumeSessionDuration: u32 & AugmentedConst; + /** + * The account id of the rent pool if any. + **/ + rentPoolId: Option & AugmentedConst; /** * Amount of reservations can exist for 1 program. **/ diff --git a/api/src/types/augment/augment-api-errors.ts b/api/src/types/augment/augment-api-errors.ts index e04907ab52..54fbd6d50d 100644 --- a/api/src/types/augment/augment-api-errors.ts +++ b/api/src/types/augment/augment-api-errors.ts @@ -1,6 +1,6 @@ import '@polkadot/api-base/types/errors'; -import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types'; +import type { ApiTypes } from '@polkadot/api-base/types'; declare module '@polkadot/api-base/types/errors' { interface AugmentedErrors { @@ -80,10 +80,6 @@ declare module '@polkadot/api-base/types/errors' { * Block count doesn't cover MinimalResumePeriod. **/ ResumePeriodLessThanMinimal: AugmentedError; - /** - * Value doesn't cover ExistentialDeposit. - **/ - ValueLessThanMinimal: AugmentedError; /** * Generic error **/ @@ -112,6 +108,11 @@ declare module '@polkadot/api-base/types/errors' { * Insufficient user's bank account gas balance. **/ InsufficientValueBalance: AugmentedError; + /** + * Overflow during funds transfer. + * **Must be unreachable in Gear main protocol.** + **/ + Overflow: AugmentedError; /** * Generic error **/ @@ -244,13 +245,9 @@ declare module '@polkadot/api-base/types/errors' { gearProgram: { CannotFindDataForPage: AugmentedError; DuplicateItem: AugmentedError; - DuplicateResumeSession: AugmentedError; NotActiveProgram: AugmentedError; - NotSessionOwner: AugmentedError; ProgramCodeNotFound: AugmentedError; ProgramNotFound: AugmentedError; - ResumeSessionFailed: AugmentedError; - ResumeSessionNotFound: AugmentedError; /** * Generic error **/ diff --git a/api/src/types/augment/augment-api-events.ts b/api/src/types/augment/augment-api-events.ts index 020f6f0083..a119572a20 100644 --- a/api/src/types/augment/augment-api-events.ts +++ b/api/src/types/augment/augment-api-events.ts @@ -1,7 +1,6 @@ import '@polkadot/api-base/types/events'; -import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; -import type { BTreeMap, BTreeSet, Option, u32 } from '@polkadot/types-codec'; +import type { BTreeMap, BTreeSet, Option, bool, u32 } from '@polkadot/types-codec'; import { GearCommonEventCodeChangeKind, GearCommonEventDispatchStatus, @@ -11,13 +10,15 @@ import { GearCommonEventReasonMessageWokenRuntimeReason, GearCommonEventReasonUserMessageReadRuntimeReason, GearCommonGasProviderNodeGasNodeId, - GearCoreIdsCodeId, - GearCoreIdsMessageId, - GearCoreIdsProgramId, GearCoreMessageUserUserMessage, + GprimitivesActorId, + GprimitivesCodeId, + GprimitivesMessageId, + PalletGearDebugDebugData, PalletGearVoucherInternalVoucherId, } from '../lookup'; import type { AccountId32 } from '@polkadot/types/interfaces/runtime'; +import type { ApiTypes } from '@polkadot/api-base/types'; declare module '@polkadot/api-base/types/events' { interface AugmentedEvents { @@ -27,8 +28,8 @@ declare module '@polkadot/api-base/types/events' { **/ CodeChanged: AugmentedEvent< ApiType, - [id: GearCoreIdsCodeId, change: GearCommonEventCodeChangeKind], - { id: GearCoreIdsCodeId; change: GearCommonEventCodeChangeKind } + [id: GprimitivesCodeId, change: GearCommonEventCodeChangeKind], + { id: GprimitivesCodeId; change: GearCommonEventCodeChangeKind } >; /** * User sends message to program, which was successfully @@ -37,15 +38,15 @@ declare module '@polkadot/api-base/types/events' { MessageQueued: AugmentedEvent< ApiType, [ - id: GearCoreIdsMessageId, + id: GprimitivesMessageId, source: AccountId32, - destination: GearCoreIdsProgramId, + destination: GprimitivesActorId, entry: GearCommonEventMessageEntry, ], { - id: GearCoreIdsMessageId; + id: GprimitivesMessageId; source: AccountId32; - destination: GearCoreIdsProgramId; + destination: GprimitivesActorId; entry: GearCommonEventMessageEntry; } >; @@ -56,13 +57,13 @@ declare module '@polkadot/api-base/types/events' { ApiType, [ total: u32, - statuses: BTreeMap, - stateChanges: BTreeSet, + statuses: BTreeMap, + stateChanges: BTreeSet, ], { total: u32; - statuses: BTreeMap; - stateChanges: BTreeSet; + statuses: BTreeMap; + stateChanges: BTreeSet; } >; /** @@ -72,13 +73,13 @@ declare module '@polkadot/api-base/types/events' { MessageWaited: AugmentedEvent< ApiType, [ - id: GearCoreIdsMessageId, + id: GprimitivesMessageId, origin: Option, reason: GearCommonEventReasonMessageWaitedRuntimeReason, expiration: u32, ], { - id: GearCoreIdsMessageId; + id: GprimitivesMessageId; origin: Option; reason: GearCommonEventReasonMessageWaitedRuntimeReason; expiration: u32; @@ -90,24 +91,16 @@ declare module '@polkadot/api-base/types/events' { **/ MessageWoken: AugmentedEvent< ApiType, - [id: GearCoreIdsMessageId, reason: GearCommonEventReasonMessageWokenRuntimeReason], - { id: GearCoreIdsMessageId; reason: GearCommonEventReasonMessageWokenRuntimeReason } + [id: GprimitivesMessageId, reason: GearCommonEventReasonMessageWokenRuntimeReason], + { id: GprimitivesMessageId; reason: GearCommonEventReasonMessageWokenRuntimeReason } >; /** * Any data related to programs changed. **/ ProgramChanged: AugmentedEvent< ApiType, - [id: GearCoreIdsProgramId, change: GearCommonEventProgramChangeKind], - { id: GearCoreIdsProgramId; change: GearCommonEventProgramChangeKind } - >; - /** - * Program resume session has been started. - **/ - ProgramResumeSessionStarted: AugmentedEvent< - ApiType, - [sessionId: u32, accountId: AccountId32, programId: GearCoreIdsProgramId, sessionEndBlock: u32], - { sessionId: u32; accountId: AccountId32; programId: GearCoreIdsProgramId; sessionEndBlock: u32 } + [id: GprimitivesActorId, change: GearCommonEventProgramChangeKind], + { id: GprimitivesActorId; change: GearCommonEventProgramChangeKind } >; /** * The pseudo-inherent extrinsic that runs queue processing rolled back or not executed. @@ -120,8 +113,8 @@ declare module '@polkadot/api-base/types/events' { **/ UserMessageRead: AugmentedEvent< ApiType, - [id: GearCoreIdsMessageId, reason: GearCommonEventReasonUserMessageReadRuntimeReason], - { id: GearCoreIdsMessageId; reason: GearCommonEventReasonUserMessageReadRuntimeReason } + [id: GprimitivesMessageId, reason: GearCommonEventReasonUserMessageReadRuntimeReason], + { id: GprimitivesMessageId; reason: GearCommonEventReasonUserMessageReadRuntimeReason } >; /** * Somebody sent a message to the user. @@ -136,7 +129,26 @@ declare module '@polkadot/api-base/types/events' { **/ [key: string]: AugmentedEvent; }; + gearDebug: { + /** + * A snapshot of the debug data: programs and message queue ('debug mode' only) + **/ + DebugDataSnapshot: AugmentedEvent; + DebugMode: AugmentedEvent; + /** + * Generic event + **/ + [key: string]: AugmentedEvent; + }; gearVoucher: { + /** + * Voucher has been declined (set to expired state). + **/ + VoucherDeclined: AugmentedEvent< + ApiType, + [spender: AccountId32, voucherId: PalletGearVoucherInternalVoucherId], + { spender: AccountId32; voucherId: PalletGearVoucherInternalVoucherId } + >; /** * Voucher has been issued. **/ diff --git a/api/src/types/augment/augment-api-query.ts b/api/src/types/augment/augment-api-query.ts index 706a06e142..47c31a6883 100644 --- a/api/src/types/augment/augment-api-query.ts +++ b/api/src/types/augment/augment-api-query.ts @@ -1,13 +1,8 @@ -// Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ - -// import type lookup before we augment - in some environments -// this is required to allow for ambient/previous definitions import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; -import type { Data } from '@polkadot/types'; -import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec'; +import type { BTreeMap, Bytes, Null, Option, U8aFixed, bool, u128, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime'; import type { Observable } from '@polkadot/types/types'; @@ -15,17 +10,18 @@ import { GearCommonCodeMetadata, GearCommonGasProviderNodeGasNode, GearCommonGasProviderNodeGasNodeId, - GearCommonPausedProgramStorageResumeSession, - GearCommonProgram, GearCommonSchedulerTaskScheduledTask, GearCommonStorageComplicatedDequeueLinkedNode, GearCommonStoragePrimitivesInterval, - GearCoreCodeInstrumentedCode, - GearCoreIdsCodeId, - GearCoreIdsMessageId, - GearCoreIdsProgramId, + GearCoreCodeInstrumentedInstrumentedCode, + GearCoreMessageStoredStoredDelayedDispatch, GearCoreMessageStoredStoredDispatch, GearCoreMessageUserUserStoredMessage, + GearCoreProgram, + GprimitivesActorId, + GprimitivesCodeId, + GprimitivesMessageId, + NumeratedTreeIntervalsTree, PalletGearBankBankAccount, PalletGearVoucherInternalVoucherId, PalletGearVoucherInternalVoucherInfo, @@ -71,6 +67,13 @@ declare module '@polkadot/api-base/types/storage' { [AccountId32] > & QueryableStorageEntry; + onFinalizeTransfers: AugmentedQuery< + ApiType, + (arg: AccountId32 | string | Uint8Array) => Observable>, + [AccountId32] + > & + QueryableStorageEntry; + onFinalizeValue: AugmentedQuery Observable, []> & QueryableStorageEntry; unusedValue: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -112,107 +115,95 @@ declare module '@polkadot/api-base/types/storage' { dispatches: AugmentedQuery< ApiType, ( - arg: GearCoreIdsMessageId | string | Uint8Array, + arg: GprimitivesMessageId | string | Uint8Array, ) => Observable>, - [GearCoreIdsMessageId] + [GprimitivesMessageId] > & - QueryableStorageEntry; + QueryableStorageEntry; dispatchStash: AugmentedQuery< ApiType, ( - arg: GearCoreIdsMessageId | string | Uint8Array, - ) => Observable>>, - [GearCoreIdsMessageId] + arg: GprimitivesMessageId | string | Uint8Array, + ) => Observable< + Option> + >, + [GprimitivesMessageId] > & - QueryableStorageEntry; + QueryableStorageEntry; head: AugmentedQuery Observable>, []> & QueryableStorageEntry; mailbox: AugmentedQuery< ApiType, ( arg1: AccountId32 | string | Uint8Array, - arg2: GearCoreIdsMessageId | string | Uint8Array, + arg2: GprimitivesMessageId | string | Uint8Array, ) => Observable>>, - [AccountId32, GearCoreIdsMessageId] + [AccountId32, GprimitivesMessageId] > & - QueryableStorageEntry; + QueryableStorageEntry; queueProcessing: AugmentedQuery Observable>, []> & QueryableStorageEntry; sent: AugmentedQuery Observable>, []> & QueryableStorageEntry; tail: AugmentedQuery Observable>, []> & QueryableStorageEntry; waitlist: AugmentedQuery< ApiType, ( - arg1: GearCoreIdsProgramId | string | Uint8Array, - arg2: GearCoreIdsMessageId | string | Uint8Array, + arg1: GprimitivesActorId | string | Uint8Array, + arg2: GprimitivesMessageId | string | Uint8Array, ) => Observable>>, - [GearCoreIdsProgramId, GearCoreIdsMessageId] + [GprimitivesActorId, GprimitivesMessageId] > & - QueryableStorageEntry; + QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; gearProgram: { + allocationsStorage: AugmentedQuery< + ApiType, + (arg: GprimitivesActorId | string | Uint8Array) => Observable>, + [GprimitivesActorId] + > & + QueryableStorageEntry; codeLenStorage: AugmentedQuery< ApiType, - (arg: GearCoreIdsCodeId | string | Uint8Array) => Observable>, - [GearCoreIdsCodeId] + (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, + [GprimitivesCodeId] > & - QueryableStorageEntry; + QueryableStorageEntry; codeStorage: AugmentedQuery< ApiType, - (arg: GearCoreIdsCodeId | string | Uint8Array) => Observable>, - [GearCoreIdsCodeId] + (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, + [GprimitivesCodeId] > & - QueryableStorageEntry; + QueryableStorageEntry; memoryPages: AugmentedQuery< ApiType, ( - arg1: GearCoreIdsProgramId | string | Uint8Array, + arg1: GprimitivesActorId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array, ) => Observable>, - [GearCoreIdsProgramId, u32, u32] + [GprimitivesActorId, u32, u32] > & - QueryableStorageEntry; + QueryableStorageEntry; metadataStorage: AugmentedQuery< ApiType, - (arg: GearCoreIdsCodeId | string | Uint8Array) => Observable>, - [GearCoreIdsCodeId] + (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, + [GprimitivesCodeId] > & - QueryableStorageEntry; + QueryableStorageEntry; originalCodeStorage: AugmentedQuery< ApiType, - (arg: GearCoreIdsCodeId | string | Uint8Array) => Observable>, - [GearCoreIdsCodeId] + (arg: GprimitivesCodeId | string | Uint8Array) => Observable>, + [GprimitivesCodeId] > & - QueryableStorageEntry; - pausedProgramStorage: AugmentedQuery< - ApiType, - (arg: GearCoreIdsProgramId | string | Uint8Array) => Observable>>, - [GearCoreIdsProgramId] - > & - QueryableStorageEntry; + QueryableStorageEntry; programStorage: AugmentedQuery< ApiType, - (arg: GearCoreIdsProgramId | string | Uint8Array) => Observable>, - [GearCoreIdsProgramId] - > & - QueryableStorageEntry; - resumeSessions: AugmentedQuery< - ApiType, - (arg: u32 | AnyNumber | Uint8Array) => Observable>, - [u32] - > & - QueryableStorageEntry; - resumeSessionsNonce: AugmentedQuery Observable>, []> & - QueryableStorageEntry; - waitingInitStorage: AugmentedQuery< - ApiType, - (arg: GearCoreIdsProgramId | string | Uint8Array) => Observable>>, - [GearCoreIdsProgramId] + (arg: GprimitivesActorId | string | Uint8Array) => Observable>, + [GprimitivesActorId] > & - QueryableStorageEntry; + QueryableStorageEntry; /** * Generic query **/ diff --git a/api/src/types/augment/augment-api-tx.ts b/api/src/types/augment/augment-api-tx.ts index c005e71f3e..0788b41ba3 100644 --- a/api/src/types/augment/augment-api-tx.ts +++ b/api/src/types/augment/augment-api-tx.ts @@ -1,254 +1,87 @@ import '@polkadot/api-base/types/submittable'; -import type { AnyNumber, Codec, ITuple } from '@polkadot/types-codec/types'; -import type { ApiTypes, AugmentedSubmittable } from '@polkadot/api-base/types'; -import type { BTreeSet, Bytes, Option, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec'; +import type { AccountId32, Percent } from '@polkadot/types/interfaces/runtime'; +import type { BTreeSet, Bytes, Option, bool, u128, u32, u64 } from '@polkadot/types-codec'; import { - GearCoreIdsCodeId, - GearCoreIdsMessageId, - GearCoreIdsProgramId, + GprimitivesActorId, + GprimitivesCodeId, + GprimitivesMessageId, PalletGearVoucherInternalPrepaidCall, PalletGearVoucherInternalVoucherId, } from '../lookup'; -import type { AccountId32 } from '@polkadot/types/interfaces/runtime'; +import type { AnyNumber } from '@polkadot/types-codec/types'; +import type { ApiTypes } from '@polkadot/api-base/types'; declare module '@polkadot/api-base/types/submittable' { interface AugmentedSubmittables { gear: { /** - * Claim value from message in `Mailbox`. - * - * Removes message by given `MessageId` from callers `Mailbox`: - * rent funds become free, associated with the message value - * transfers from message sender to extrinsic caller. - * - * NOTE: only user who is destination of the message, can claim value - * or reply on the message from mailbox. + * See [`Pallet::claim_value`]. **/ claimValue: AugmentedSubmittable< - (messageId: GearCoreIdsMessageId | string | Uint8Array) => SubmittableExtrinsic, - [GearCoreIdsMessageId] + (messageId: GprimitivesMessageId | string | Uint8Array) => SubmittableExtrinsic, + [GprimitivesMessageId] >; /** - * Creates program via `code_id` from storage. - * - * Parameters: - * - `code_id`: wasm code id in the code storage. - * - `salt`: randomness term (a seed) to allow programs with identical code - * to be created independently. - * - `init_payload`: encoded parameters of the wasm module `init` function. - * - `gas_limit`: maximum amount of gas the program can spend before it is halted. - * - `value`: balance to be transferred to the program once it's been created. - * - * Emits the following events: - * - `InitMessageEnqueued(MessageInfo)` when init message is placed in the queue. - * - * # NOTE - * - * For the details of this extrinsic, see `upload_code`. + * See [`Pallet::create_program`]. **/ createProgram: AugmentedSubmittable< ( - codeId: GearCoreIdsCodeId | string | Uint8Array, + codeId: GprimitivesCodeId | string | Uint8Array, salt: Bytes | string | Uint8Array, initPayload: Bytes | string | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array, ) => SubmittableExtrinsic, - [GearCoreIdsCodeId, Bytes, Bytes, u64, u128, bool] + [GprimitivesCodeId, Bytes, Bytes, u64, u128, bool] >; /** - * Pay additional rent for the program. - **/ - payProgramRent: AugmentedSubmittable< - ( - programId: GearCoreIdsProgramId | string | Uint8Array, - blockCount: u32 | AnyNumber | Uint8Array, - ) => SubmittableExtrinsic, - [GearCoreIdsProgramId, u32] - >; - /** - * Finishes the program resume session. - * - * The origin must be Signed and should be the owner of the session. - * - * Parameters: - * - `session_id`: id of the resume session. - * - `block_count`: the specified period of rent. - **/ - resumeSessionCommit: AugmentedSubmittable< - ( - sessionId: u32 | AnyNumber | Uint8Array, - blockCount: u32 | AnyNumber | Uint8Array, - ) => SubmittableExtrinsic, - [u32, u32] - >; - /** - * Starts a resume session of the previously paused program. - * - * The origin must be Signed. - * - * Parameters: - * - `program_id`: id of the program to resume. - * - `allocations`: memory allocations of program prior to stop. - * - `code_hash`: id of the program binary code. - **/ - resumeSessionInit: AugmentedSubmittable< - ( - programId: GearCoreIdsProgramId | string | Uint8Array, - allocations: BTreeSet | number[], - codeHash: GearCoreIdsCodeId | string | Uint8Array, - ) => SubmittableExtrinsic, - [GearCoreIdsProgramId, BTreeSet, GearCoreIdsCodeId] - >; - /** - * Appends memory pages to the resume session. - * - * The origin must be Signed and should be the owner of the session. - * - * Parameters: - * - `session_id`: id of the resume session. - * - `memory_pages`: program memory (or its part) before it was paused. - **/ - resumeSessionPush: AugmentedSubmittable< - ( - sessionId: u128 | AnyNumber | Uint8Array, - memoryPages: - | Vec> - | [u32 | AnyNumber | Uint8Array, Bytes | string | Uint8Array][] - | string, - ) => SubmittableExtrinsic, - [u32, Vec>] - >; - /** - * Process message queue + * See [`Pallet::run`]. **/ run: AugmentedSubmittable< (maxGas: Option | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic, [Option] >; /** - * Sends a message to a program or to another account. - * - * The origin must be Signed and the sender must have sufficient funds to pay - * for `gas` and `value` (in case the latter is being transferred). - * - * To avoid an undefined behavior a check is made that the destination address - * is not a program in uninitialized state. If the opposite holds true, - * the message is not enqueued for processing. - * - * Parameters: - * - `destination`: the message destination. - * - `payload`: in case of a program destination, parameters of the `handle` function. - * - `gas_limit`: maximum amount of gas the program can spend before it is halted. - * - `value`: balance to be transferred to the program once it's been created. - * - * Emits the following events: - * - `DispatchMessageEnqueued(MessageInfo)` when dispatch message is placed in the queue. + * See [`Pallet::send_message`]. **/ sendMessage: AugmentedSubmittable< ( - destination: GearCoreIdsProgramId | string | Uint8Array, + destination: GprimitivesActorId | string | Uint8Array, payload: Bytes | string | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array, ) => SubmittableExtrinsic, - [GearCoreIdsProgramId, Bytes, u64, u128, bool] + [GprimitivesActorId, Bytes, u64, u128, bool] >; /** - * Send reply on message in `Mailbox`. - * - * Removes message by given `MessageId` from callers `Mailbox`: - * rent funds become free, associated with the message value - * transfers from message sender to extrinsic caller. - * - * Generates reply on removed message with given parameters - * and pushes it in `MessageQueue`. - * - * NOTE: source of the message in mailbox guaranteed to be a program. - * - * NOTE: only user who is destination of the message, can claim value - * or reply on the message from mailbox. + * See [`Pallet::send_reply`]. **/ sendReply: AugmentedSubmittable< ( - replyToId: GearCoreIdsMessageId | string | Uint8Array, + replyToId: GprimitivesMessageId | string | Uint8Array, payload: Bytes | string | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array, ) => SubmittableExtrinsic, - [GearCoreIdsMessageId, Bytes, u64, u128, bool] + [GprimitivesMessageId, Bytes, u64, u128, bool] >; /** - * Sets `ExecuteInherent` flag. - * - * Requires root origin (eventually, will only be set via referendum) + * See [`Pallet::set_execute_inherent`]. **/ setExecuteInherent: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; /** - * Saves program `code` in storage. - * - * The extrinsic was created to provide _deploy program from program_ functionality. - * Anyone who wants to define a "factory" logic in program should first store the code and metadata for the "child" - * program in storage. So the code for the child will be initialized by program initialization request only if it exists in storage. - * - * More precisely, the code and its metadata are actually saved in the storage under the hash of the `code`. The code hash is computed - * as Blake256 hash. At the time of the call the `code` hash should not be in the storage. If it was stored previously, call will end up - * with an `CodeAlreadyExists` error. In this case user can be sure, that he can actually use the hash of his program's code bytes to define - * "program factory" logic in his program. - * - * Parameters - * - `code`: wasm code of a program as a byte vector. - * - * Emits the following events: - * - `SavedCode(H256)` - when the code is saved in storage. + * See [`Pallet::upload_code`]. **/ uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** - * Creates program initialization request (message), that is scheduled to be run in the same block. - * - * There are no guarantees that initialization message will be run in the same block due to block - * gas limit restrictions. For example, when it will be the message's turn, required gas limit for it - * could be more than remaining block gas limit. Therefore, the message processing will be postponed - * until the next block. - * - * `ProgramId` is computed as Blake256 hash of concatenated bytes of `code` + `salt`. (todo #512 `code_hash` + `salt`) - * Such `ProgramId` must not exist in the Program Storage at the time of this call. - * - * There is the same guarantee here as in `upload_code`. That is, future program's - * `code` and metadata are stored before message was added to the queue and processed. - * - * The origin must be Signed and the sender must have sufficient funds to pay - * for `gas` and `value` (in case the latter is being transferred). - * - * Parameters: - * - `code`: wasm code of a program as a byte vector. - * - `salt`: randomness term (a seed) to allow programs with identical code - * to be created independently. - * - `init_payload`: encoded parameters of the wasm module `init` function. - * - `gas_limit`: maximum amount of gas the program can spend before it is halted. - * - `value`: balance to be transferred to the program once it's been created. - * - * Emits the following events: - * - `InitMessageEnqueued(MessageInfo)` when init message is placed in the queue. - * - * # Note - * Faulty (uninitialized) programs still have a valid addresses (program ids) that can deterministically be derived on the - * caller's side upfront. It means that if messages are sent to such an address, they might still linger in the queue. - * - * In order to mitigate the risk of users' funds being sent to an address, - * where a valid program should have resided, while it's not, - * such "failed-to-initialize" programs are not silently deleted from the - * program storage but rather marked as "ghost" programs. - * Ghost program can be removed by their original author via an explicit call. - * The funds stored by a ghost program will be release to the author once the program - * has been removed. + * See [`Pallet::upload_program`]. **/ uploadProgram: AugmentedSubmittable< ( @@ -266,69 +99,83 @@ declare module '@polkadot/api-base/types/submittable' { **/ [key: string]: SubmittableExtrinsicFunction; }; + gearDebug: { + /** + * See [`Pallet::enable_debug_mode`]. + **/ + enableDebugMode: AugmentedSubmittable< + (debugModeOn: bool | boolean | Uint8Array) => SubmittableExtrinsic, + [bool] + >; + /** + * See [`Pallet::exhaust_block_resources`]. + **/ + exhaustBlockResources: AugmentedSubmittable< + (fraction: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Percent] + >; + /** + * Generic tx + **/ + [key: string]: SubmittableExtrinsicFunction; + }; gearVoucher: { + /** + * See [`Pallet::call`]. + **/ call: AugmentedSubmittable< ( voucherId: PalletGearVoucherInternalVoucherId | string | Uint8Array, call: | PalletGearVoucherInternalPrepaidCall - | { - SendMessage: { - destination: string | Codec; - payload: string | Uint8Array | Codec; - gasLimit: number | bigint | Uint8Array | Codec; - value: number | bigint | Uint8Array | Codec; - keepAlive: boolean | Uint8Array | Codec; - }; - } - | { - SendReply: { - replyToId: string | Codec; - payload: string | Uint8Array | Codec; - gasLimit: number | bigint | Uint8Array | Codec; - value: number | bigint | Uint8Array | Codec; - keepAlive: boolean | Uint8Array | Codec; - }; - } - | { - UploadCode: { - code: string | Uint8Array | Codec; - }; - } - | { DeclineVoucher: null } + | { SendMessage: any } + | { SendReply: any } + | { UploadCode: any } + | { DeclineVoucher: any } | string | Uint8Array, ) => SubmittableExtrinsic, [PalletGearVoucherInternalVoucherId, PalletGearVoucherInternalPrepaidCall] >; /** - * Dispatch allowed with voucher call. + * See [`Pallet::call_deprecated`]. **/ callDeprecated: AugmentedSubmittable< ( - call: PalletGearVoucherInternalPrepaidCall | { SendMessage: any } | { SendReply: any } | string | Uint8Array, + call: + | PalletGearVoucherInternalPrepaidCall + | { SendMessage: any } + | { SendReply: any } + | { UploadCode: any } + | { DeclineVoucher: any } + | string + | Uint8Array, ) => SubmittableExtrinsic, [PalletGearVoucherInternalPrepaidCall] >; + /** + * See [`Pallet::decline`]. + **/ decline: AugmentedSubmittable< (voucherId: PalletGearVoucherInternalVoucherId | string | Uint8Array) => SubmittableExtrinsic, [PalletGearVoucherInternalVoucherId] >; + /** + * See [`Pallet::issue`]. + **/ issue: AugmentedSubmittable< ( spender: AccountId32 | string | Uint8Array, balance: u128 | AnyNumber | Uint8Array, - programs: - | Option> - | null - | Uint8Array - | BTreeSet - | string[], + programs: Option> | null | Uint8Array | BTreeSet | string[], codeUploading: bool | boolean | Uint8Array, duration: u32 | AnyNumber | Uint8Array, ) => SubmittableExtrinsic, - [AccountId32, u128, Option>, bool, u32] + [AccountId32, u128, Option>, bool, u32] >; + /** + * See [`Pallet::revoke`]. + **/ revoke: AugmentedSubmittable< ( spender: AccountId32 | string | Uint8Array, @@ -336,6 +183,9 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [AccountId32, PalletGearVoucherInternalVoucherId] >; + /** + * See [`Pallet::update`]. + **/ update: AugmentedSubmittable< ( spender: AccountId32 | string | Uint8Array, @@ -343,11 +193,11 @@ declare module '@polkadot/api-base/types/submittable' { moveOwnership: Option | null | Uint8Array | AccountId32 | string, balanceTopUp: Option | null | Uint8Array | u128 | AnyNumber, appendPrograms: - | Option>> + | Option>> | null | Uint8Array - | Option> - | BTreeSet + | Option> + | BTreeSet | (string | Uint8Array)[], codeUploading: Option | null | Uint8Array | bool | boolean, prolongDuration: Option | null | Uint8Array | u32 | AnyNumber, @@ -357,7 +207,7 @@ declare module '@polkadot/api-base/types/submittable' { PalletGearVoucherInternalVoucherId, Option, Option, - Option>>, + Option>>, Option, Option, ] diff --git a/api/src/types/interfaces/message/extrinsic.ts b/api/src/types/interfaces/message/extrinsic.ts index 8da8ca1b36..1d190a7a3c 100644 --- a/api/src/types/interfaces/message/extrinsic.ts +++ b/api/src/types/interfaces/message/extrinsic.ts @@ -30,14 +30,7 @@ export interface V1010MessageSendOptions { account?: HexString; } -export interface V1000MessageSendOptions extends Omit { - /** - * A flag that indicates whether a voucher should be used - */ - prepaid?: boolean; -} - -export type MessageSendOptions = V1010MessageSendOptions | V1000MessageSendOptions; +export type MessageSendOptions = V1010MessageSendOptions; export interface V1010MessageSendReplyOptions extends Omit { /** @@ -46,11 +39,4 @@ export interface V1010MessageSendReplyOptions extends Omit { - /** - * Message ID to which the reply is sending - */ - replyToId: HexString; -} - -export type MessageSendReplyOptions = V1010MessageSendReplyOptions | V1000MessageSendReplyOptions; +export type MessageSendReplyOptions = V1010MessageSendReplyOptions; diff --git a/api/src/types/interfaces/program/extrinsic.ts b/api/src/types/interfaces/program/extrinsic.ts index e2a7d1b79c..7b2b0797e3 100644 --- a/api/src/types/interfaces/program/extrinsic.ts +++ b/api/src/types/interfaces/program/extrinsic.ts @@ -16,19 +16,13 @@ export interface V1010ProgramUploadOptions { keepAlive?: boolean; } -export type V1000ProgramUploadOptions = Omit; - -export type ProgramUploadOptions = V1010ProgramUploadOptions | V1000ProgramUploadOptions; +export type ProgramUploadOptions = V1010ProgramUploadOptions; export interface V1010ProgramCreateOptions extends Omit { codeId: HexString | Uint8Array; } -export interface V1000ProgramCreateOptions extends Omit { - codeId: HexString | Uint8Array; -} - -export type ProgramCreateOptions = V1010ProgramCreateOptions | V1000ProgramCreateOptions; +export type ProgramCreateOptions = V1010ProgramCreateOptions; export interface IProgramUploadResult { programId: HexString; diff --git a/api/src/types/lookup.ts b/api/src/types/lookup.ts index 64bb3bf1e8..b46ccc2e04 100644 --- a/api/src/types/lookup.ts +++ b/api/src/types/lookup.ts @@ -1,6 +1,6 @@ import '@polkadot/types/lookup'; -import type { AccountId32, H256, MultiAddress } from '@polkadot/types/interfaces/runtime'; +import type { AccountId32, H256, MultiAddress, Percent } from '@polkadot/types/interfaces/runtime'; import type { BTreeMap, BTreeSet, @@ -20,8 +20,7 @@ import type { } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import { SpWeightsWeightV2Weight } from '@polkadot/types/lookup'; - -/** @name PalletGearCall (265) */ +/** @name PalletGearCall (262) */ export interface PalletGearCall extends Enum { readonly isUploadCode: boolean; readonly asUploadCode: { @@ -34,34 +33,36 @@ export interface PalletGearCall extends Enum { readonly initPayload: Bytes; readonly gasLimit: u64; readonly value: u128; + readonly keepAlive: bool; } & Struct; readonly isCreateProgram: boolean; readonly asCreateProgram: { - readonly codeId: GearCoreIdsCodeId; + readonly codeId: GprimitivesCodeId; readonly salt: Bytes; readonly initPayload: Bytes; readonly gasLimit: u64; readonly value: u128; + readonly keepAlive: bool; } & Struct; readonly isSendMessage: boolean; readonly asSendMessage: { - readonly destination: GearCoreIdsProgramId; + readonly destination: GprimitivesActorId; readonly payload: Bytes; readonly gasLimit: u64; readonly value: u128; - readonly prepaid: bool; + readonly keepAlive: bool; } & Struct; readonly isSendReply: boolean; readonly asSendReply: { - readonly replyToId: GearCoreIdsMessageId; + readonly replyToId: GprimitivesMessageId; readonly payload: Bytes; readonly gasLimit: u64; readonly value: u128; - readonly prepaid: bool; + readonly keepAlive: bool; } & Struct; readonly isClaimValue: boolean; readonly asClaimValue: { - readonly messageId: GearCoreIdsMessageId; + readonly messageId: GprimitivesMessageId; } & Struct; readonly isRun: boolean; readonly asRun: { @@ -71,27 +72,6 @@ export interface PalletGearCall extends Enum { readonly asSetExecuteInherent: { readonly value: bool; } & Struct; - readonly isPayProgramRent: boolean; - readonly asPayProgramRent: { - readonly programId: GearCoreIdsProgramId; - readonly blockCount: u32; - } & Struct; - readonly isResumeSessionInit: boolean; - readonly asResumeSessionInit: { - readonly programId: GearCoreIdsProgramId; - readonly allocations: BTreeSet; - readonly codeHash: GearCoreIdsCodeId; - } & Struct; - readonly isResumeSessionPush: boolean; - readonly asResumeSessionPush: { - readonly sessionId: u32; - readonly memoryPages: Vec>; - } & Struct; - readonly isResumeSessionCommit: boolean; - readonly asResumeSessionCommit: { - readonly sessionId: u32; - readonly blockCount: u32; - } & Struct; readonly type: | 'UploadCode' | 'UploadProgram' @@ -100,23 +80,19 @@ export interface PalletGearCall extends Enum { | 'SendReply' | 'ClaimValue' | 'Run' - | 'SetExecuteInherent' - | 'PayProgramRent' - | 'ResumeSessionInit' - | 'ResumeSessionPush' - | 'ResumeSessionCommit'; + | 'SetExecuteInherent'; } -/** @name GearCoreIdsCodeId (266) */ -export type GearCoreIdsCodeId = U8aFixed; +/** @name GprimitivesCodeId (263) */ +export type GprimitivesCodeId = U8aFixed; -/** @name GearCoreIdsProgramId (267) */ -export type GearCoreIdsProgramId = U8aFixed; +/** @name GprimitivesActorId (264) */ +export type GprimitivesActorId = U8aFixed; -/** @name GearCoreIdsMessageId (268) */ -export type GearCoreIdsMessageId = U8aFixed; +/** @name GprimitivesMessageId (265) */ +export type GprimitivesMessageId = U8aFixed; -/** @name PalletGearStakingRewardsCall (278) */ +/** @name PalletGearStakingRewardsCall (267) */ export interface PalletGearStakingRewardsCall extends Enum { readonly isRefill: boolean; readonly asRefill: { @@ -132,25 +108,103 @@ export interface PalletGearStakingRewardsCall extends Enum { readonly to: MultiAddress; readonly value: u128; } & Struct; - readonly type: 'Refill' | 'ForceRefill' | 'Withdraw'; + readonly isAlignSupply: boolean; + readonly asAlignSupply: { + readonly target: u128; + } & Struct; + readonly type: 'Refill' | 'ForceRefill' | 'Withdraw' | 'AlignSupply'; +} + +/** @name PalletGearVoucherCall (268) */ +export interface PalletGearVoucherCall extends Enum { + readonly isIssue: boolean; + readonly asIssue: { + readonly spender: AccountId32; + readonly balance: u128; + readonly programs: Option>; + readonly codeUploading: bool; + readonly duration: u32; + } & Struct; + readonly isCall: boolean; + readonly asCall: { + readonly voucherId: PalletGearVoucherInternalVoucherId; + readonly call: PalletGearVoucherInternalPrepaidCall; + } & Struct; + readonly isRevoke: boolean; + readonly asRevoke: { + readonly spender: AccountId32; + readonly voucherId: PalletGearVoucherInternalVoucherId; + } & Struct; + readonly isUpdate: boolean; + readonly asUpdate: { + readonly spender: AccountId32; + readonly voucherId: PalletGearVoucherInternalVoucherId; + readonly moveOwnership: Option; + readonly balanceTopUp: Option; + readonly appendPrograms: Option>>; + readonly codeUploading: Option; + readonly prolongDuration: Option; + } & Struct; + readonly isCallDeprecated: boolean; + readonly asCallDeprecated: { + readonly call: PalletGearVoucherInternalPrepaidCall; + } & Struct; + readonly isDecline: boolean; + readonly asDecline: { + readonly voucherId: PalletGearVoucherInternalVoucherId; + } & Struct; + readonly type: 'Issue' | 'Call' | 'Revoke' | 'Update' | 'CallDeprecated' | 'Decline'; +} + +/** @name PalletGearVoucherInternalVoucherId (272) */ +export type PalletGearVoucherInternalVoucherId = U8aFixed; + +/** @name PalletGearVoucherInternalPrepaidCall (273) */ +export interface PalletGearVoucherInternalPrepaidCall extends Enum { + readonly isSendMessage: boolean; + readonly asSendMessage: { + readonly destination: GprimitivesActorId; + readonly payload: Bytes; + readonly gasLimit: u64; + readonly value: u128; + readonly keepAlive: bool; + } & Struct; + readonly isSendReply: boolean; + readonly asSendReply: { + readonly replyToId: GprimitivesMessageId; + readonly payload: Bytes; + readonly gasLimit: u64; + readonly value: u128; + readonly keepAlive: bool; + } & Struct; + readonly isUploadCode: boolean; + readonly asUploadCode: { + readonly code: Bytes; + } & Struct; + readonly isDeclineVoucher: boolean; + readonly type: 'SendMessage' | 'SendReply' | 'UploadCode' | 'DeclineVoucher'; } -/** @name PalletGearDebugCall (281) */ +/** @name PalletGearDebugCall (279) */ export interface PalletGearDebugCall extends Enum { readonly isEnableDebugMode: boolean; readonly asEnableDebugMode: { readonly debugModeOn: bool; } & Struct; - readonly type: 'EnableDebugMode'; + readonly isExhaustBlockResources: boolean; + readonly asExhaustBlockResources: { + readonly fraction: Percent; + } & Struct; + readonly type: 'EnableDebugMode' | 'ExhaustBlockResources'; } -/** @name PalletGearEvent (308) */ +/** @name PalletGearEvent (306) */ export interface PalletGearEvent extends Enum { readonly isMessageQueued: boolean; readonly asMessageQueued: { - readonly id: GearCoreIdsMessageId; + readonly id: GprimitivesMessageId; readonly source: AccountId32; - readonly destination: GearCoreIdsProgramId; + readonly destination: GprimitivesActorId; readonly entry: GearCommonEventMessageEntry; } & Struct; readonly isUserMessageSent: boolean; @@ -160,45 +214,38 @@ export interface PalletGearEvent extends Enum { } & Struct; readonly isUserMessageRead: boolean; readonly asUserMessageRead: { - readonly id: GearCoreIdsMessageId; + readonly id: GprimitivesMessageId; readonly reason: GearCommonEventReasonUserMessageReadRuntimeReason; } & Struct; readonly isMessagesDispatched: boolean; readonly asMessagesDispatched: { readonly total: u32; - readonly statuses: BTreeMap; - readonly stateChanges: BTreeSet; + readonly statuses: BTreeMap; + readonly stateChanges: BTreeSet; } & Struct; readonly isMessageWaited: boolean; readonly asMessageWaited: { - readonly id: GearCoreIdsMessageId; + readonly id: GprimitivesMessageId; readonly origin: Option; readonly reason: GearCommonEventReasonMessageWaitedRuntimeReason; readonly expiration: u32; } & Struct; readonly isMessageWoken: boolean; readonly asMessageWoken: { - readonly id: GearCoreIdsMessageId; + readonly id: GprimitivesMessageId; readonly reason: GearCommonEventReasonMessageWokenRuntimeReason; } & Struct; readonly isCodeChanged: boolean; readonly asCodeChanged: { - readonly id: GearCoreIdsCodeId; + readonly id: GprimitivesCodeId; readonly change: GearCommonEventCodeChangeKind; } & Struct; readonly isProgramChanged: boolean; readonly asProgramChanged: { - readonly id: GearCoreIdsProgramId; + readonly id: GprimitivesActorId; readonly change: GearCommonEventProgramChangeKind; } & Struct; readonly isQueueNotProcessed: boolean; - readonly isProgramResumeSessionStarted: boolean; - readonly asProgramResumeSessionStarted: { - readonly sessionId: u32; - readonly accountId: AccountId32; - readonly programId: GearCoreIdsProgramId; - readonly sessionEndBlock: u32; - } & Struct; readonly type: | 'MessageQueued' | 'UserMessageSent' @@ -208,40 +255,39 @@ export interface PalletGearEvent extends Enum { | 'MessageWoken' | 'CodeChanged' | 'ProgramChanged' - | 'QueueNotProcessed' - | 'ProgramResumeSessionStarted'; + | 'QueueNotProcessed'; } -/** @name GearCommonEventMessageEntry (309) */ +/** @name GearCommonEventMessageEntry (307) */ export interface GearCommonEventMessageEntry extends Enum { readonly isInit: boolean; readonly isHandle: boolean; readonly isReply: boolean; - readonly asReply: GearCoreIdsMessageId; + readonly asReply: GprimitivesMessageId; readonly isSignal: boolean; readonly type: 'Init' | 'Handle' | 'Reply' | 'Signal'; } -/** @name GearCoreMessageUserUserMessage (310) */ +/** @name GearCoreMessageUserUserMessage (308) */ export interface GearCoreMessageUserUserMessage extends Struct { - readonly id: GearCoreIdsMessageId; - readonly source: GearCoreIdsProgramId; - readonly destination: GearCoreIdsProgramId; + readonly id: GprimitivesMessageId; + readonly source: GprimitivesActorId; + readonly destination: GprimitivesActorId; readonly payload: Bytes; readonly value: Compact; readonly details: Option; } -/** @name GearCoreMessagePayloadSizeError (312) */ -export type GearCoreMessagePayloadSizeError = Null; +/** @name GearCoreMessagePayloadSizeError (310) */ +type GearCoreMessagePayloadSizeError = Null; -/** @name GearCoreMessageCommonReplyDetails (314) */ +/** @name GearCoreMessageCommonReplyDetails (312) */ export interface GearCoreMessageCommonReplyDetails extends Struct { - readonly to: GearCoreIdsMessageId; + readonly to: GprimitivesMessageId; readonly code: GearCoreErrorsSimpleReplyCode; } -/** @name GearCoreErrorsSimpleReplyCode (315) */ +/** @name GearCoreErrorsSimpleReplyCode (313) */ export interface GearCoreErrorsSimpleReplyCode extends Enum { readonly isSuccess: boolean; readonly asSuccess: GearCoreErrorsSimpleSuccessReplyReason; @@ -251,7 +297,7 @@ export interface GearCoreErrorsSimpleReplyCode extends Enum { readonly type: 'Success' | 'Error' | 'Unsupported'; } -/** @name GearCoreErrorsSimpleSuccessReplyReason (316) */ +/** @name GearCoreErrorsSimpleSuccessReplyReason (314) */ export interface GearCoreErrorsSimpleSuccessReplyReason extends Enum { readonly isAuto: boolean; readonly isManual: boolean; @@ -259,25 +305,33 @@ export interface GearCoreErrorsSimpleSuccessReplyReason extends Enum { readonly type: 'Auto' | 'Manual' | 'Unsupported'; } -/** @name GearCoreErrorsSimpleErrorReplyReason (317) */ +/** @name GearCoreErrorsSimpleErrorReplyReason (315) */ export interface GearCoreErrorsSimpleErrorReplyReason extends Enum { readonly isExecution: boolean; readonly asExecution: GearCoreErrorsSimpleSimpleExecutionError; readonly isFailedToCreateProgram: boolean; readonly asFailedToCreateProgram: GearCoreErrorsSimpleSimpleProgramCreationError; - readonly isInactiveProgram: boolean; + readonly isInactiveActor: boolean; readonly isRemovedFromWaitlist: boolean; + readonly isReinstrumentationFailure: boolean; readonly isUnsupported: boolean; - readonly type: 'Execution' | 'FailedToCreateProgram' | 'InactiveProgram' | 'RemovedFromWaitlist' | 'Unsupported'; + readonly type: + | 'Execution' + | 'FailedToCreateProgram' + | 'InactiveActor' + | 'RemovedFromWaitlist' + | 'ReinstrumentationFailure' + | 'Unsupported'; } -/** @name GearCoreErrorsSimpleSimpleExecutionError (318) */ +/** @name GearCoreErrorsSimpleSimpleExecutionError (316) */ export interface GearCoreErrorsSimpleSimpleExecutionError extends Enum { readonly isRanOutOfGas: boolean; readonly isMemoryOverflow: boolean; readonly isBackendError: boolean; readonly isUserspacePanic: boolean; readonly isUnreachableInstruction: boolean; + readonly isStackLimitExceeded: boolean; readonly isUnsupported: boolean; readonly type: | 'RanOutOfGas' @@ -285,17 +339,18 @@ export interface GearCoreErrorsSimpleSimpleExecutionError extends Enum { | 'BackendError' | 'UserspacePanic' | 'UnreachableInstruction' + | 'StackLimitExceeded' | 'Unsupported'; } -/** @name GearCoreErrorsSimpleSimpleProgramCreationError (319) */ +/** @name GearCoreErrorsSimpleSimpleProgramCreationError (317) */ export interface GearCoreErrorsSimpleSimpleProgramCreationError extends Enum { readonly isCodeNotExists: boolean; readonly isUnsupported: boolean; readonly type: 'CodeNotExists' | 'Unsupported'; } -/** @name GearCommonEventReasonUserMessageReadRuntimeReason (320) */ +/** @name GearCommonEventReasonUserMessageReadRuntimeReason (318) */ export interface GearCommonEventReasonUserMessageReadRuntimeReason extends Enum { readonly isRuntime: boolean; readonly asRuntime: GearCommonEventUserMessageReadRuntimeReason; @@ -304,29 +359,20 @@ export interface GearCommonEventReasonUserMessageReadRuntimeReason extends Enum readonly type: 'Runtime' | 'System'; } -/** @name GearCommonEventUserMessageReadRuntimeReason (321) */ +/** @name GearCommonEventUserMessageReadRuntimeReason (319) */ export interface GearCommonEventUserMessageReadRuntimeReason extends Enum { readonly isMessageReplied: boolean; readonly isMessageClaimed: boolean; readonly type: 'MessageReplied' | 'MessageClaimed'; } -/** @name GearCommonEventUserMessageReadSystemReason (322) */ +/** @name GearCommonEventUserMessageReadSystemReason (320) */ export interface GearCommonEventUserMessageReadSystemReason extends Enum { readonly isOutOfRent: boolean; readonly type: 'OutOfRent'; } -/** @name GearCoreCodeInstrumentedCode (217) */ -export interface GearCoreCodeInstrumentedCode extends Struct { - readonly code: Bytes; - readonly originalCodeLen: u32; - readonly exports: BTreeSet; - readonly staticPages: u32; - readonly version: u32; -} - -/** @name GearCommonEventDispatchStatus (324) */ +/** @name GearCommonEventDispatchStatus (322) */ export interface GearCommonEventDispatchStatus extends Enum { readonly isSuccess: boolean; readonly isFailed: boolean; @@ -334,28 +380,27 @@ export interface GearCommonEventDispatchStatus extends Enum { readonly type: 'Success' | 'Failed' | 'NotExecuted'; } -/** @name GearCommonGasProviderNodeGasNodeId (330) */ +/** @name GearCommonGasProviderNodeGasNodeId (326) */ export interface GearCommonGasProviderNodeGasNodeId extends Enum { readonly isNode: boolean; - readonly asNode: GearCoreIdsMessageId; + readonly asNode: GprimitivesMessageId; readonly isReservation: boolean; - readonly asReservation: GearCoreIdsReservationId; + readonly asReservation: GprimitivesReservationId; readonly type: 'Node' | 'Reservation'; } -/** @name GearCoreIdsReservationId (331) */ -export type GearCoreIdsReservationId = U8aFixed; +/** @name GprimitivesReservationId (327) */ +export type GprimitivesReservationId = U8aFixed; -/** @name GearCommonEventReasonMessageWaitedRuntimeReason (332) */ +/** @name GearCommonEventReasonMessageWaitedRuntimeReason (328) */ export interface GearCommonEventReasonMessageWaitedRuntimeReason extends Enum { readonly isRuntime: boolean; readonly asRuntime: GearCommonEventMessageWaitedRuntimeReason; readonly isSystem: boolean; - readonly asSystem: GearCommonEventMessageWaitedSystemReason; readonly type: 'Runtime' | 'System'; } -/** @name GearCommonEventMessageWaitedRuntimeReason (333) */ +/** @name GearCommonEventMessageWaitedRuntimeReason (329) */ export interface GearCommonEventMessageWaitedRuntimeReason extends Enum { readonly isWaitCalled: boolean; readonly isWaitForCalled: boolean; @@ -364,13 +409,10 @@ export interface GearCommonEventMessageWaitedRuntimeReason extends Enum { readonly type: 'WaitCalled' | 'WaitForCalled' | 'WaitUpToCalled' | 'WaitUpToCalledFull'; } -/** @name GearCommonEventMessageWaitedSystemReason (334) */ -export interface GearCommonEventMessageWaitedSystemReason extends Enum { - readonly isProgramIsNotInitialized: boolean; - readonly type: 'ProgramIsNotInitialized'; -} +/** @name GearCommonEventMessageWaitedSystemReason (330) */ +type GearCommonEventMessageWaitedSystemReason = Null; -/** @name GearCommonEventReasonMessageWokenRuntimeReason (335) */ +/** @name GearCommonEventReasonMessageWokenRuntimeReason (331) */ export interface GearCommonEventReasonMessageWokenRuntimeReason extends Enum { readonly isRuntime: boolean; readonly asRuntime: GearCommonEventMessageWokenRuntimeReason; @@ -379,13 +421,13 @@ export interface GearCommonEventReasonMessageWokenRuntimeReason extends Enum { readonly type: 'Runtime' | 'System'; } -/** @name GearCommonEventMessageWokenRuntimeReason (336) */ +/** @name GearCommonEventMessageWokenRuntimeReason (332) */ export interface GearCommonEventMessageWokenRuntimeReason extends Enum { readonly isWakeCalled: boolean; readonly type: 'WakeCalled'; } -/** @name GearCommonEventMessageWokenSystemReason (337) */ +/** @name GearCommonEventMessageWokenSystemReason (333) */ export interface GearCommonEventMessageWokenSystemReason extends Enum { readonly isProgramGotInitialized: boolean; readonly isTimeoutHasCome: boolean; @@ -393,7 +435,7 @@ export interface GearCommonEventMessageWokenSystemReason extends Enum { readonly type: 'ProgramGotInitialized' | 'TimeoutHasCome' | 'OutOfRent'; } -/** @name GearCommonEventCodeChangeKind (338) */ +/** @name GearCommonEventCodeChangeKind (334) */ export interface GearCommonEventCodeChangeKind extends Enum { readonly isActive: boolean; readonly asActive: { @@ -404,7 +446,7 @@ export interface GearCommonEventCodeChangeKind extends Enum { readonly type: 'Active' | 'Inactive' | 'Reinstrumented'; } -/** @name GearCommonEventProgramChangeKind (339) */ +/** @name GearCommonEventProgramChangeKind (335) */ export interface GearCommonEventProgramChangeKind extends Enum { readonly isActive: boolean; readonly asActive: { @@ -424,10 +466,10 @@ export interface GearCommonEventProgramChangeKind extends Enum { readonly type: 'Active' | 'Inactive' | 'Paused' | 'Terminated' | 'ExpirationChanged' | 'ProgramSet'; } -/** @name PalletGearStakingRewardsEvent (340) */ +/** @name PalletGearStakingRewardsEvent (336) */ export interface PalletGearStakingRewardsEvent extends Enum { - readonly isRefilled: boolean; - readonly asRefilled: { + readonly isDeposited: boolean; + readonly asDeposited: { readonly amount: u128; } & Struct; readonly isWithdrawn: boolean; @@ -438,10 +480,41 @@ export interface PalletGearStakingRewardsEvent extends Enum { readonly asBurned: { readonly amount: u128; } & Struct; - readonly type: 'Refilled' | 'Withdrawn' | 'Burned'; + readonly isMinted: boolean; + readonly asMinted: { + readonly amount: u128; + } & Struct; + readonly type: 'Deposited' | 'Withdrawn' | 'Burned' | 'Minted'; +} + +/** @name PalletGearVoucherEvent (337) */ +export interface PalletGearVoucherEvent extends Enum { + readonly isVoucherIssued: boolean; + readonly asVoucherIssued: { + readonly owner: AccountId32; + readonly spender: AccountId32; + readonly voucherId: PalletGearVoucherInternalVoucherId; + } & Struct; + readonly isVoucherRevoked: boolean; + readonly asVoucherRevoked: { + readonly spender: AccountId32; + readonly voucherId: PalletGearVoucherInternalVoucherId; + } & Struct; + readonly isVoucherUpdated: boolean; + readonly asVoucherUpdated: { + readonly spender: AccountId32; + readonly voucherId: PalletGearVoucherInternalVoucherId; + readonly newOwner: Option; + } & Struct; + readonly isVoucherDeclined: boolean; + readonly asVoucherDeclined: { + readonly spender: AccountId32; + readonly voucherId: PalletGearVoucherInternalVoucherId; + } & Struct; + readonly type: 'VoucherIssued' | 'VoucherRevoked' | 'VoucherUpdated' | 'VoucherDeclined'; } -/** @name PalletGearDebugEvent (343) */ +/** @name PalletGearDebugEvent (339) */ export interface PalletGearDebugEvent extends Enum { readonly isDebugMode: boolean; readonly asDebugMode: bool; @@ -450,20 +523,20 @@ export interface PalletGearDebugEvent extends Enum { readonly type: 'DebugMode' | 'DebugDataSnapshot'; } -/** @name PalletGearDebugDebugData (344) */ +/** @name PalletGearDebugDebugData (340) */ export interface PalletGearDebugDebugData extends Struct { readonly dispatchQueue: Vec; readonly programs: Vec; } -/** @name GearCoreMessageStoredStoredDispatch (346) */ +/** @name GearCoreMessageStoredStoredDispatch (342) */ export interface GearCoreMessageStoredStoredDispatch extends Struct { readonly kind: GearCoreMessageDispatchKind; readonly message: GearCoreMessageStoredStoredMessage; readonly context: Option; } -/** @name GearCoreMessageDispatchKind (347) */ +/** @name GearCoreMessageDispatchKind (343) */ export interface GearCoreMessageDispatchKind extends Enum { readonly isInit: boolean; readonly isHandle: boolean; @@ -472,17 +545,17 @@ export interface GearCoreMessageDispatchKind extends Enum { readonly type: 'Init' | 'Handle' | 'Reply' | 'Signal'; } -/** @name GearCoreMessageStoredStoredMessage (348) */ +/** @name GearCoreMessageStoredStoredMessage (344) */ export interface GearCoreMessageStoredStoredMessage extends Struct { - readonly id: GearCoreIdsMessageId; - readonly source: GearCoreIdsProgramId; - readonly destination: GearCoreIdsProgramId; + readonly id: GprimitivesMessageId; + readonly source: GprimitivesActorId; + readonly destination: GprimitivesActorId; readonly payload: Bytes; readonly value: Compact; readonly details: Option; } -/** @name GearCoreMessageCommonMessageDetails (350) */ +/** @name GearCoreMessageCommonMessageDetails (346) */ export interface GearCoreMessageCommonMessageDetails extends Enum { readonly isReply: boolean; readonly asReply: GearCoreMessageCommonReplyDetails; @@ -491,13 +564,13 @@ export interface GearCoreMessageCommonMessageDetails extends Enum { readonly type: 'Reply' | 'Signal'; } -/** @name GearCoreMessageCommonSignalDetails (351) */ +/** @name GearCoreMessageCommonSignalDetails (347) */ export interface GearCoreMessageCommonSignalDetails extends Struct { - readonly to: GearCoreIdsMessageId; + readonly to: GprimitivesMessageId; readonly code: GearCoreErrorsSimpleSignalCode; } -/** @name GearCoreErrorsSimpleSignalCode (352) */ +/** @name GearCoreErrorsSimpleSignalCode (348) */ export interface GearCoreErrorsSimpleSignalCode extends Enum { readonly isExecution: boolean; readonly asExecution: GearCoreErrorsSimpleSimpleExecutionError; @@ -505,24 +578,22 @@ export interface GearCoreErrorsSimpleSignalCode extends Enum { readonly type: 'Execution' | 'RemovedFromWaitlist'; } -/** @name GearCoreMessageContextContextStore (354) */ +/** @name GearCoreMessageContextContextStore (350) */ export interface GearCoreMessageContextContextStore extends Struct { readonly outgoing: BTreeMap>; readonly reply: Option; - readonly initialized: BTreeSet; - readonly awaken: BTreeSet; - readonly replySent: bool; + readonly initialized: BTreeSet; readonly reservationNonce: u64; readonly systemReservation: Option; } -/** @name PalletGearDebugProgramDetails (363) */ +/** @name PalletGearDebugProgramDetails (357) */ export interface PalletGearDebugProgramDetails extends Struct { - readonly id: GearCoreIdsProgramId; + readonly id: GprimitivesActorId; readonly state: PalletGearDebugProgramState; } -/** @name PalletGearDebugProgramState (364) */ +/** @name PalletGearDebugProgramState (358) */ export interface PalletGearDebugProgramState extends Enum { readonly isActive: boolean; readonly asActive: PalletGearDebugProgramInfo; @@ -530,132 +601,117 @@ export interface PalletGearDebugProgramState extends Enum { readonly type: 'Active' | 'Terminated'; } -/** @name PalletGearDebugProgramInfo (365) */ +/** @name PalletGearDebugProgramInfo (359) */ export interface PalletGearDebugProgramInfo extends Struct { readonly staticPages: u32; readonly persistentPages: BTreeMap; readonly codeHash: H256; } -/** @name GearCoreCodeInstrumentedCode (576) */ -export interface GearCoreCodeInstrumentedCode extends Struct { +/** @name GearCoreCodeInstrumentedInstrumentedCode (586) */ +export interface GearCoreCodeInstrumentedInstrumentedCode extends Struct { readonly code: Bytes; readonly originalCodeLen: u32; readonly exports: BTreeSet; readonly staticPages: u32; + readonly stackEnd: Option; readonly version: u32; } -/** @name GearCommonCodeMetadata (579) */ +/** @name GearCommonCodeMetadata (591) */ export interface GearCommonCodeMetadata extends Struct { readonly author: H256; readonly blockNumber: Compact; } -/** @name GearCommonProgram (580) */ -export interface GearCommonProgram extends Enum { +/** @name NumeratedTreeIntervalsTree (592) */ +export interface NumeratedTreeIntervalsTree extends Struct { + readonly inner: BTreeMap; +} + +/** @name GearCoreProgram (596) */ +export interface GearCoreProgram extends Enum { readonly isActive: boolean; - readonly asActive: GearCommonActiveProgram; + readonly asActive: GearCoreProgramActiveProgram; readonly isExited: boolean; - readonly asExited: GearCoreIdsProgramId; + readonly asExited: GprimitivesActorId; readonly isTerminated: boolean; - readonly asTerminated: GearCoreIdsProgramId; + readonly asTerminated: GprimitivesActorId; readonly type: 'Active' | 'Exited' | 'Terminated'; } -/** @name GearCommonActiveProgram (593) */ -export interface GearCommonActiveProgram extends Struct { - readonly allocations: { - readonly inner: BTreeMap; - } & Struct; - readonly pagesWithData: NumeratedTreeIntervalsTree; +/** @name GearCoreProgramActiveProgram (597) */ +export interface GearCoreProgramActiveProgram extends Struct { + readonly allocationsTreeLen: u32; readonly memoryInfix: u32; - readonly gasReservationMap: BTreeMap; + readonly gasReservationMap: BTreeMap; readonly codeHash: H256; readonly codeExports: BTreeSet; readonly staticPages: u32; - readonly state: GearCommonProgramState; + readonly state: GearCoreProgramProgramState; readonly expirationBlock: u32; } -/** @name NumeratedTreeIntervalsTree (598) */ -export interface NumeratedTreeIntervalsTree extends Struct { - readonly inner: BTreeMap; -} - -/** @name GearCoreReservationGasReservationSlot (586) */ +/** @name GearCoreReservationGasReservationSlot (600) */ export interface GearCoreReservationGasReservationSlot extends Struct { readonly amount: u64; readonly start: u32; readonly finish: u32; } -/** @name GearCommonProgramState (589) */ -export interface GearCommonProgramState extends Enum { +/** @name GearCoreProgramProgramState (603) */ +export interface GearCoreProgramProgramState extends Enum { readonly isUninitialized: boolean; readonly asUninitialized: { - readonly messageId: GearCoreIdsMessageId; + readonly messageId: GprimitivesMessageId; } & Struct; readonly isInitialized: boolean; readonly type: 'Uninitialized' | 'Initialized'; } -/** @name GearCommonPausedProgramStorageResumeSession (592) */ -export interface GearCommonPausedProgramStorageResumeSession extends Struct { - readonly pageCount: u32; - readonly user: AccountId32; - readonly programId: GearCoreIdsProgramId; - readonly allocations: BTreeSet; - readonly pagesWithData: BTreeSet; - readonly codeHash: GearCoreIdsCodeId; - readonly endBlock: u32; -} - -/** @name PalletGearProgramError (593) */ +/** @name PalletGearProgramError (605) */ export interface PalletGearProgramError extends Enum { readonly isDuplicateItem: boolean; readonly isProgramNotFound: boolean; readonly isNotActiveProgram: boolean; readonly isCannotFindDataForPage: boolean; - readonly isResumeSessionNotFound: boolean; - readonly isNotSessionOwner: boolean; - readonly isResumeSessionFailed: boolean; readonly isProgramCodeNotFound: boolean; - readonly isDuplicateResumeSession: boolean; readonly type: | 'DuplicateItem' | 'ProgramNotFound' | 'NotActiveProgram' | 'CannotFindDataForPage' - | 'ResumeSessionNotFound' - | 'NotSessionOwner' - | 'ResumeSessionFailed' - | 'ProgramCodeNotFound' - | 'DuplicateResumeSession'; + | 'ProgramCodeNotFound'; } -/** @name GearCommonStorageComplicatedDequeueLinkedNode (594) */ +/** @name GearCommonStorageComplicatedDequeueLinkedNode (606) */ export interface GearCommonStorageComplicatedDequeueLinkedNode extends Struct { - readonly next: Option; + readonly next: Option; readonly value: GearCoreMessageStoredStoredDispatch; } -/** @name GearCoreMessageUserUserStoredMessage (598) */ +/** @name GearCoreMessageUserUserStoredMessage (610) */ export interface GearCoreMessageUserUserStoredMessage extends Struct { - readonly id: GearCoreIdsMessageId; - readonly source: GearCoreIdsProgramId; - readonly destination: GearCoreIdsProgramId; + readonly id: GprimitivesMessageId; + readonly source: GprimitivesActorId; + readonly destination: GprimitivesActorId; readonly payload: Bytes; readonly value: Compact; } -/** @name GearCommonStoragePrimitivesInterval (599) */ +/** @name GearCommonStoragePrimitivesInterval (611) */ export interface GearCommonStoragePrimitivesInterval extends Struct { readonly start: u32; readonly finish: u32; } -/** @name PalletGearMessengerError (602) */ +/** @name GearCoreMessageStoredStoredDelayedDispatch (615) */ +export interface GearCoreMessageStoredStoredDelayedDispatch extends Struct { + readonly kind: GearCoreMessageDispatchKind; + readonly message: GearCoreMessageStoredStoredMessage; +} + +/** @name PalletGearMessengerError (616) */ export interface PalletGearMessengerError extends Enum { readonly isQueueDuplicateKey: boolean; readonly isQueueElementNotFound: boolean; @@ -684,29 +740,29 @@ export interface PalletGearMessengerError extends Enum { | 'WaitlistElementNotFound'; } -/** @name GearCommonSchedulerTaskScheduledTask (604) */ +/** @name GearCommonSchedulerTaskScheduledTask (618) */ export interface GearCommonSchedulerTaskScheduledTask extends Enum { readonly isPauseProgram: boolean; - readonly asPauseProgram: GearCoreIdsProgramId; + readonly asPauseProgram: GprimitivesActorId; readonly isRemoveCode: boolean; - readonly asRemoveCode: GearCoreIdsCodeId; + readonly asRemoveCode: GprimitivesCodeId; readonly isRemoveFromMailbox: boolean; - readonly asRemoveFromMailbox: ITuple<[AccountId32, GearCoreIdsMessageId]>; + readonly asRemoveFromMailbox: ITuple<[AccountId32, GprimitivesMessageId]>; readonly isRemoveFromWaitlist: boolean; - readonly asRemoveFromWaitlist: ITuple<[GearCoreIdsProgramId, GearCoreIdsMessageId]>; + readonly asRemoveFromWaitlist: ITuple<[GprimitivesActorId, GprimitivesMessageId]>; readonly isRemovePausedProgram: boolean; - readonly asRemovePausedProgram: GearCoreIdsProgramId; + readonly asRemovePausedProgram: GprimitivesActorId; readonly isWakeMessage: boolean; - readonly asWakeMessage: ITuple<[GearCoreIdsProgramId, GearCoreIdsMessageId]>; + readonly asWakeMessage: ITuple<[GprimitivesActorId, GprimitivesMessageId]>; readonly isSendDispatch: boolean; - readonly asSendDispatch: GearCoreIdsMessageId; + readonly asSendDispatch: GprimitivesMessageId; readonly isSendUserMessage: boolean; readonly asSendUserMessage: { - readonly messageId: GearCoreIdsMessageId; + readonly messageId: GprimitivesMessageId; readonly toMailbox: bool; } & Struct; readonly isRemoveGasReservation: boolean; - readonly asRemoveGasReservation: ITuple<[GearCoreIdsProgramId, GearCoreIdsReservationId]>; + readonly asRemoveGasReservation: ITuple<[GprimitivesActorId, GprimitivesReservationId]>; readonly isRemoveResumeSession: boolean; readonly asRemoveResumeSession: u32; readonly type: @@ -722,14 +778,14 @@ export interface GearCommonSchedulerTaskScheduledTask extends Enum { | 'RemoveResumeSession'; } -/** @name PalletGearSchedulerError (605) */ +/** @name PalletGearSchedulerError (619) */ export interface PalletGearSchedulerError extends Enum { readonly isDuplicateTask: boolean; readonly isTaskNotFound: boolean; readonly type: 'DuplicateTask' | 'TaskNotFound'; } -/** @name GearCommonGasProviderNodeGasNode (606) */ +/** @name GearCommonGasProviderNodeGasNode (620) */ export interface GearCommonGasProviderNodeGasNode extends Enum { readonly isExternal: boolean; readonly asExternal: { @@ -778,7 +834,7 @@ export interface GearCommonGasProviderNodeGasNode extends Enum { readonly type: 'External' | 'Cut' | 'Reserved' | 'SpecifiedLocal' | 'UnspecifiedLocal'; } -/** @name GearCommonGasMultiplier (607) */ +/** @name GearCommonGasMultiplier (621) */ export interface GearCommonGasMultiplier extends Enum { readonly isValuePerGas: boolean; readonly asValuePerGas: u128; @@ -787,16 +843,16 @@ export interface GearCommonGasMultiplier extends Enum { readonly type: 'ValuePerGas' | 'GasPerValue'; } -/** @name GearCommonGasProviderNodeNodeLock (608) */ +/** @name GearCommonGasProviderNodeNodeLock (622) */ export type GearCommonGasProviderNodeNodeLock = Vec; -/** @name GearCommonGasProviderNodeChildrenRefs (610) */ +/** @name GearCommonGasProviderNodeChildrenRefs (624) */ export interface GearCommonGasProviderNodeChildrenRefs extends Struct { readonly specRefs: u32; readonly unspecRefs: u32; } -/** @name PalletGearGasError (611) */ +/** @name PalletGearGasError (625) */ export interface PalletGearGasError extends Enum { readonly isForbidden: boolean; readonly isNodeAlreadyExists: boolean; @@ -833,20 +889,21 @@ export interface PalletGearGasError extends Enum { | 'TotalValueIsUnderflowed'; } -/** @name PalletGearSchedule (612) */ +/** @name PalletGearSchedule (626) */ export interface PalletGearSchedule extends Struct { readonly limits: PalletGearScheduleLimits; readonly instructionWeights: PalletGearScheduleInstructionWeights; - readonly hostFnWeights: PalletGearScheduleHostFnWeights; + readonly syscallWeights: PalletGearScheduleSyscallWeights; readonly memoryWeights: PalletGearScheduleMemoryWeights; readonly moduleInstantiationPerByte: SpWeightsWeightV2Weight; readonly dbWritePerByte: SpWeightsWeightV2Weight; readonly dbReadPerByte: SpWeightsWeightV2Weight; readonly codeInstrumentationCost: SpWeightsWeightV2Weight; readonly codeInstrumentationByteCost: SpWeightsWeightV2Weight; + readonly loadAllocationsWeight: SpWeightsWeightV2Weight; } -/** @name PalletGearScheduleLimits (613) */ +/** @name PalletGearScheduleLimits (627) */ export interface PalletGearScheduleLimits extends Struct { readonly stackHeight: Option; readonly globals: u32; @@ -859,9 +916,10 @@ export interface PalletGearScheduleLimits extends Struct { readonly callDepth: u32; readonly payloadLen: u32; readonly codeLen: u32; + readonly dataSegmentsAmount: u32; } -/** @name PalletGearScheduleInstructionWeights (614) */ +/** @name PalletGearScheduleInstructionWeights (628) */ export interface PalletGearScheduleInstructionWeights extends Struct { readonly version: u32; readonly i64const: u32; @@ -953,17 +1011,17 @@ export interface PalletGearScheduleInstructionWeights extends Struct { readonly i32rotr: u32; } -/** @name PalletGearScheduleHostFnWeights (615) */ -export interface PalletGearScheduleHostFnWeights extends Struct { +/** @name PalletGearScheduleSyscallWeights (629) */ +interface PalletGearScheduleSyscallWeights extends Struct { readonly alloc: SpWeightsWeightV2Weight; - readonly allocPerPage: SpWeightsWeightV2Weight; readonly free: SpWeightsWeightV2Weight; + readonly freeRange: SpWeightsWeightV2Weight; + readonly freeRangePerPage: SpWeightsWeightV2Weight; readonly grReserveGas: SpWeightsWeightV2Weight; readonly grUnreserveGas: SpWeightsWeightV2Weight; readonly grSystemReserveGas: SpWeightsWeightV2Weight; readonly grGasAvailable: SpWeightsWeightV2Weight; readonly grMessageId: SpWeightsWeightV2Weight; - readonly grPayProgramRent: SpWeightsWeightV2Weight; readonly grProgramId: SpWeightsWeightV2Weight; readonly grSource: SpWeightsWeightV2Weight; readonly grValue: SpWeightsWeightV2Weight; @@ -971,6 +1029,7 @@ export interface PalletGearScheduleHostFnWeights extends Struct { readonly grSize: SpWeightsWeightV2Weight; readonly grRead: SpWeightsWeightV2Weight; readonly grReadPerByte: SpWeightsWeightV2Weight; + readonly grEnvVars: SpWeightsWeightV2Weight; readonly grBlockHeight: SpWeightsWeightV2Weight; readonly grBlockTimestamp: SpWeightsWeightV2Weight; readonly grRandom: SpWeightsWeightV2Weight; @@ -1026,8 +1085,8 @@ export interface PalletGearScheduleHostFnWeights extends Struct { readonly grCreateProgramWgasSaltPerByte: SpWeightsWeightV2Weight; } -/** @name PalletGearScheduleMemoryWeights (616) */ -export interface PalletGearScheduleMemoryWeights extends Struct { +/** @name PalletGearScheduleMemoryWeights (630) */ +interface PalletGearScheduleMemoryWeights extends Struct { readonly lazyPagesSignalRead: SpWeightsWeightV2Weight; readonly lazyPagesSignalWrite: SpWeightsWeightV2Weight; readonly lazyPagesSignalWriteAfterRead: SpWeightsWeightV2Weight; @@ -1038,10 +1097,11 @@ export interface PalletGearScheduleMemoryWeights extends Struct { readonly uploadPageData: SpWeightsWeightV2Weight; readonly staticPage: SpWeightsWeightV2Weight; readonly memGrow: SpWeightsWeightV2Weight; + readonly memGrowPerPage: SpWeightsWeightV2Weight; readonly parachainReadHeuristic: SpWeightsWeightV2Weight; } -/** @name PalletGearError (618) */ +/** @name PalletGearError (632) */ export interface PalletGearError extends Enum { readonly isMessageNotFound: boolean; readonly isInsufficientBalance: boolean; @@ -1053,11 +1113,9 @@ export interface PalletGearError extends Enum { readonly isCodeDoesntExist: boolean; readonly isCodeTooLarge: boolean; readonly isProgramConstructionFailed: boolean; - readonly isValueLessThanMinimal: boolean; readonly isMessageQueueProcessingDisabled: boolean; readonly isResumePeriodLessThanMinimal: boolean; readonly isProgramNotFound: boolean; - readonly isFailureRedeemingVoucher: boolean; readonly isGearRunAlreadyInBlock: boolean; readonly isProgramRentDisabled: boolean; readonly type: @@ -1071,138 +1129,29 @@ export interface PalletGearError extends Enum { | 'CodeDoesntExist' | 'CodeTooLarge' | 'ProgramConstructionFailed' - | 'ValueLessThanMinimal' | 'MessageQueueProcessingDisabled' | 'ResumePeriodLessThanMinimal' | 'ProgramNotFound' - | 'FailureRedeemingVoucher' | 'GearRunAlreadyInBlock' | 'ProgramRentDisabled'; } -/** @name PalletGearStakingRewardsError (621) */ +/** @name PalletGearStakingRewardsError (635) */ export interface PalletGearStakingRewardsError extends Enum { readonly isFailureToRefillPool: boolean; readonly isFailureToWithdrawFromPool: boolean; readonly type: 'FailureToRefillPool' | 'FailureToWithdrawFromPool'; } -/** @name PalletGearBankBankAccount (623) */ -export interface PalletGearBankBankAccount extends Struct { - readonly gas: u128; - readonly value: u128; -} - -/** @name PalletGearBankError (624) */ -export interface PalletGearBankError extends Enum { - readonly isInsufficientBalance: boolean; - readonly isInsufficientGasBalance: boolean; - readonly isInsufficientValueBalance: boolean; - readonly isInsufficientBankBalance: boolean; - readonly isInsufficientDeposit: boolean; - readonly type: - | 'InsufficientBalance' - | 'InsufficientGasBalance' - | 'InsufficientValueBalance' - | 'InsufficientBankBalance' - | 'InsufficientDeposit'; -} - -/** @name PalletGearVoucherCall (279) */ -export interface PalletGearVoucherCall extends Enum { - readonly isIssue: boolean; - readonly asIssue: { - readonly spender: AccountId32; - readonly balance: u128; - readonly programs: Option>; - readonly codeUploading: bool; - readonly duration: u32; - } & Struct; - readonly isCall: boolean; - readonly asCall: { - readonly voucherId: PalletGearVoucherInternalVoucherId; - readonly call: PalletGearVoucherInternalPrepaidCall; - } & Struct; - readonly isRevoke: boolean; - readonly asRevoke: { - readonly spender: AccountId32; - readonly voucherId: PalletGearVoucherInternalVoucherId; - } & Struct; - readonly isUpdate: boolean; - readonly asUpdate: { - readonly spender: AccountId32; - readonly voucherId: PalletGearVoucherInternalVoucherId; - readonly moveOwnership: Option; - readonly balanceTopUp: Option; - readonly appendPrograms: Option>>; - readonly codeUploading: Option; - readonly prolongDuration: Option; - } & Struct; - readonly isCallDeprecated: boolean; - readonly asCallDeprecated: { - readonly call: PalletGearVoucherInternalPrepaidCall; - } & Struct; - readonly type: 'Issue' | 'Call' | 'Revoke' | 'Update' | 'CallDeprecated'; -} - -/** @name PalletGearVoucherInternalVoucherId (282) */ -export type PalletGearVoucherInternalVoucherId = U8aFixed; - -export interface PalletGearVoucherInternalPrepaidCall extends Enum { - readonly isSendMessage: boolean; - readonly asSendMessage: { - readonly destination: GearCoreIdsProgramId; - readonly payload: Bytes; - readonly gasLimit: u64; - readonly value: u128; - readonly keepAlive: bool; - } & Struct; - readonly isSendReply: boolean; - readonly asSendReply: { - readonly replyToId: GearCoreIdsMessageId; - readonly payload: Bytes; - readonly gasLimit: u64; - readonly value: u128; - readonly keepAlive: bool; - } & Struct; - readonly isUploadCode: boolean; - readonly asUploadCode: { - readonly code: Bytes; - } & Struct; - readonly isDeclineVoucher: boolean; - readonly type: 'SendMessage' | 'SendReply' | 'UploadCode' | 'DeclineVoucher'; -} - -export interface PalletGearVoucherEvent extends Enum { - readonly isVoucherIssued: boolean; - readonly asVoucherIssued: { - readonly owner: AccountId32; - readonly spender: AccountId32; - readonly voucherId: PalletGearVoucherInternalVoucherId; - } & Struct; - readonly isVoucherRevoked: boolean; - readonly asVoucherRevoked: { - readonly spender: AccountId32; - readonly voucherId: PalletGearVoucherInternalVoucherId; - } & Struct; - readonly isVoucherUpdated: boolean; - readonly asVoucherUpdated: { - readonly spender: AccountId32; - readonly voucherId: PalletGearVoucherInternalVoucherId; - readonly newOwner: Option; - } & Struct; - readonly type: 'VoucherIssued' | 'VoucherRevoked' | 'VoucherUpdated'; -} - -export /** @name PalletGearVoucherInternalVoucherInfo (627) */ -interface PalletGearVoucherInternalVoucherInfo extends Struct { +/** @name PalletGearVoucherInternalVoucherInfo (637) */ +export interface PalletGearVoucherInternalVoucherInfo extends Struct { readonly owner: AccountId32; - readonly programs: Option>; + readonly programs: Option>; readonly codeUploading: bool; readonly expiry: u32; } -/** @name PalletGearVoucherError (627) */ +/** @name PalletGearVoucherError (638) */ export interface PalletGearVoucherError extends Enum { readonly isBadOrigin: boolean; readonly isBalanceTransfer: boolean; @@ -1228,3 +1177,35 @@ export interface PalletGearVoucherError extends Enum { | 'CodeUploadingEnabled' | 'CodeUploadingDisabled'; } + +/** @name PalletGearBankBankAccount (639) */ +export interface PalletGearBankBankAccount extends Struct { + readonly gas: u128; + readonly value: u128; +} + +/** @name PalletGearBankError (640) */ +export interface PalletGearBankError extends Enum { + readonly isInsufficientBalance: boolean; + readonly isInsufficientGasBalance: boolean; + readonly isInsufficientValueBalance: boolean; + readonly isInsufficientBankBalance: boolean; + readonly isInsufficientDeposit: boolean; + readonly isOverflow: boolean; + readonly type: + | 'InsufficientBalance' + | 'InsufficientGasBalance' + | 'InsufficientValueBalance' + | 'InsufficientBankBalance' + | 'InsufficientDeposit' + | 'Overflow'; +} + +/** @name PalletSudoError (641) */ +export interface PalletSudoError extends Enum { + readonly isRequireSudo: boolean; + readonly type: 'RequireSudo'; +} + +/** @name PalletGearDebugError (645) */ +type PalletGearDebugError = Null; diff --git a/api/src/utils/generate.ts b/api/src/utils/generate.ts index 40b95ba86b..a3d51b22da 100644 --- a/api/src/utils/generate.ts +++ b/api/src/utils/generate.ts @@ -4,7 +4,6 @@ import { stringToU8a, u8aToU8a } from '@polkadot/util'; import { CreateType } from '../metadata'; import { GearApi } from 'GearApi'; -import { SPEC_VERSION } from '../consts'; const VOUCHER_PREFIX_BEFORE_1100 = stringToU8a('modlpy/voucher__'); const VOUCHER_PREFIX = stringToU8a('voucher'); @@ -33,7 +32,7 @@ export function generateProgramId( const [code, codeHash] = typeof codeOrHash === 'string' ? [undefined, codeOrHash] : [codeOrHash, undefined]; const codeHashU8a = codeHash ? u8aToU8a(codeHash) : blake2AsU8a(code, 256); const saltU8a = CreateType.create('Vec', salt).toU8a().slice(1); - const prefix = api.specVersion >= SPEC_VERSION.V1010 ? 'program_from_user' : 'program'; + const prefix = 'program_from_user'; const programStrU8a = new TextEncoder().encode(prefix); const id = Uint8Array.from([...programStrU8a, ...codeHashU8a, ...saltU8a]); return blake2AsHex(id, 256); diff --git a/api/test/Program.test.ts b/api/test/Program.test.ts index 4704184aa7..0d62565439 100644 --- a/api/test/Program.test.ts +++ b/api/test/Program.test.ts @@ -221,7 +221,7 @@ describe('Program', () => { expect(programId).toBeDefined(); const program = await api.programStorage.getProgram(programId); const pages = await api.programStorage.getProgramPages(programId, program); - expect(Object.keys(pages)).not.toHaveLength(0); + expect(Object.keys(pages)).toHaveLength(2); }); // test.skip('Resume program', async () => { diff --git a/api/yarn.lock b/api/yarn.lock index 106582d44a..259be6e774 100644 --- a/api/yarn.lock +++ b/api/yarn.lock @@ -56,6 +56,13 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.25.2": + version: 7.25.2 + resolution: "@babel/compat-data@npm:7.25.2" + checksum: b61bc9da7cfe249f19d08da00f4f0c20550cd9ad5bffcde787c2bf61a8a6fa5b66d92bbd89031f3a6e5495a799a2a2499f2947b6cc7964be41979377473ab132 + languageName: node + linkType: hard + "@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3": version: 7.23.2 resolution: "@babel/core@npm:7.23.2" @@ -103,6 +110,18 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/generator@npm:7.25.0" + dependencies: + "@babel/types": ^7.25.0 + "@jridgewell/gen-mapping": ^0.3.5 + "@jridgewell/trace-mapping": ^0.3.25 + jsesc: ^2.5.1 + checksum: bf25649dde4068bff8e387319bf820f2cb3b1af7b8c0cfba0bd90880656427c8bad96cd5cb6db7058d20cffe93149ee59da16567018ceaa21ecaefbf780a785c + languageName: node + linkType: hard + "@babel/helper-annotate-as-pure@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-annotate-as-pure@npm:7.22.5" @@ -157,6 +176,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.24.8, @babel/helper-compilation-targets@npm:^7.25.2": + version: 7.25.2 + resolution: "@babel/helper-compilation-targets@npm:7.25.2" + dependencies: + "@babel/compat-data": ^7.25.2 + "@babel/helper-validator-option": ^7.24.8 + browserslist: ^4.23.1 + lru-cache: ^5.1.1 + semver: ^6.3.1 + checksum: aed33c5496cb9db4b5e2d44e26bf8bc474074cc7f7bb5ebe1d4a20fdeb362cb3ba9e1596ca18c7484bcd6e5c3a155ab975e420d520c0ae60df81f9de04d0fd16 + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.24.7": version: 7.24.7 resolution: "@babel/helper-create-class-features-plugin@npm:7.24.7" @@ -176,6 +208,23 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-class-features-plugin@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/helper-create-class-features-plugin@npm:7.25.0" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + "@babel/helper-member-expression-to-functions": ^7.24.8 + "@babel/helper-optimise-call-expression": ^7.24.7 + "@babel/helper-replace-supers": ^7.25.0 + "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + "@babel/traverse": ^7.25.0 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: e986c1187e16837b71f12920bd77e672b4bc19ac6dfe30b9d9d515a311c5cc5a085a8e337ac8597b1cb7bd0efdbfcc66f69bf652786c9a022070f9b782deec0d + languageName: node + linkType: hard + "@babel/helper-create-regexp-features-plugin@npm:^7.18.6": version: 7.22.15 resolution: "@babel/helper-create-regexp-features-plugin@npm:7.22.15" @@ -202,6 +251,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-regexp-features-plugin@npm:^7.25.0": + version: 7.25.2 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.25.2" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + regexpu-core: ^5.3.1 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: df55fdc6a1f3090dd37d91347df52d9322d52affa239543808dc142f8fe35e6787e67d8612337668198fac85826fafa9e6772e6c28b7d249ec94e6fafae5da6e + languageName: node + linkType: hard + "@babel/helper-define-polyfill-provider@npm:^0.6.1, @babel/helper-define-polyfill-provider@npm:^0.6.2": version: 0.6.2 resolution: "@babel/helper-define-polyfill-provider@npm:0.6.2" @@ -281,6 +343,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-member-expression-to-functions@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/helper-member-expression-to-functions@npm:7.24.8" + dependencies: + "@babel/traverse": ^7.24.8 + "@babel/types": ^7.24.8 + checksum: bf923d05d81b06857f4ca4fe9c528c9c447a58db5ea39595bb559eae2fce01a8266173db0fd6a2ec129d7bbbb9bb22f4e90008252f7c66b422c76630a878a4bc + languageName: node + linkType: hard + "@babel/helper-module-imports@npm:^7.22.15": version: 7.22.15 resolution: "@babel/helper-module-imports@npm:7.22.15" @@ -330,6 +402,20 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.24.8, @babel/helper-module-transforms@npm:^7.25.0": + version: 7.25.2 + resolution: "@babel/helper-module-transforms@npm:7.25.2" + dependencies: + "@babel/helper-module-imports": ^7.24.7 + "@babel/helper-simple-access": ^7.24.7 + "@babel/helper-validator-identifier": ^7.24.7 + "@babel/traverse": ^7.25.2 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 282d4e3308df6746289e46e9c39a0870819630af5f84d632559171e4fae6045684d771a65f62df3d569e88ccf81dc2def78b8338a449ae3a94bb421aa14fc367 + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.24.7": version: 7.24.7 resolution: "@babel/helper-optimise-call-expression@npm:7.24.7" @@ -353,6 +439,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-plugin-utils@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/helper-plugin-utils@npm:7.24.8" + checksum: 73b1a83ba8bcee21dc94de2eb7323207391715e4369fd55844bb15cf13e3df6f3d13a40786d990e6370bf0f571d94fc31f70dec96c1d1002058258c35ca3767a + languageName: node + linkType: hard + "@babel/helper-remap-async-to-generator@npm:^7.24.7": version: 7.24.7 resolution: "@babel/helper-remap-async-to-generator@npm:7.24.7" @@ -366,6 +459,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-remap-async-to-generator@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/helper-remap-async-to-generator@npm:7.25.0" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + "@babel/helper-wrap-function": ^7.25.0 + "@babel/traverse": ^7.25.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 47f3065e43fe9d6128ddb4291ffb9cf031935379265fd13de972b5f241943121f7583efb69cd2e1ecf39e3d0f76f047547d56c3fcc2c853b326fad5465da0bd7 + languageName: node + linkType: hard + "@babel/helper-replace-supers@npm:^7.24.7": version: 7.24.7 resolution: "@babel/helper-replace-supers@npm:7.24.7" @@ -379,6 +485,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-replace-supers@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/helper-replace-supers@npm:7.25.0" + dependencies: + "@babel/helper-member-expression-to-functions": ^7.24.8 + "@babel/helper-optimise-call-expression": ^7.24.7 + "@babel/traverse": ^7.25.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: f669fc2487c22d40b808f94b9c3ee41129484d5ef0ba689bdd70f216ff91e10b6b021d2f8cd37e7bdd700235a2a6ae6622526344f064528190383bf661ac65f8 + languageName: node + linkType: hard + "@babel/helper-simple-access@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-simple-access@npm:7.22.5" @@ -440,6 +559,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-string-parser@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/helper-string-parser@npm:7.24.8" + checksum: 39b03c5119216883878655b149148dc4d2e284791e969b19467a9411fccaa33f7a713add98f4db5ed519535f70ad273cdadfd2eb54d47ebbdeac5083351328ce + languageName: node + linkType: hard + "@babel/helper-validator-identifier@npm:^7.22.20": version: 7.22.20 resolution: "@babel/helper-validator-identifier@npm:7.22.20" @@ -468,6 +594,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-option@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/helper-validator-option@npm:7.24.8" + checksum: a52442dfa74be6719c0608fee3225bd0493c4057459f3014681ea1a4643cd38b68ff477fe867c4b356da7330d085f247f0724d300582fa4ab9a02efaf34d107c + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.24.7": version: 7.24.7 resolution: "@babel/helper-wrap-function@npm:7.24.7" @@ -480,6 +613,17 @@ __metadata: languageName: node linkType: hard +"@babel/helper-wrap-function@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/helper-wrap-function@npm:7.25.0" + dependencies: + "@babel/template": ^7.25.0 + "@babel/traverse": ^7.25.0 + "@babel/types": ^7.25.0 + checksum: 0095b4741704066d1687f9bbd5370bb88c733919e4275e49615f70c180208148ff5f24ab58d186ce92f8f5d28eab034ec6617e9264590cc4744c75302857629c + languageName: node + linkType: hard + "@babel/helpers@npm:^7.23.2": version: 7.23.2 resolution: "@babel/helpers@npm:7.23.2" @@ -532,26 +676,48 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.24.7" +"@babel/parser@npm:^7.25.0, @babel/parser@npm:^7.25.3": + version: 7.25.3 + resolution: "@babel/parser@npm:7.25.3" dependencies: - "@babel/helper-environment-visitor": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/types": ^7.25.2 + bin: + parser: ./bin/babel-parser.js + checksum: b55aba64214fa1d66ccd0d29f476d2e55a48586920d280f88c546f81cbbececc0e01c9d05a78d6bf206e8438b9c426caa344942c1a581eecc4d365beaab8a20e + languageName: node + linkType: hard + +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.3": + version: 7.25.3 + resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.3" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/traverse": ^7.25.3 peerDependencies: "@babel/core": ^7.0.0 - checksum: 68d315642b53af143aa17a71eb976cf431b51339aee584e29514a462b81c998636dd54219c2713b5f13e1df89eaf130dfab59683f9116825608708c81696b96c + checksum: d3dba60f360defe70eb43e35a1b17ea9dd4a99e734249e15be3d5c288019644f96f88d7ff51990118fda0845b4ad50f6d869e0382232b1d8b054d113d4eea7e2 languageName: node linkType: hard -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.24.7" +"@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:7.25.0" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: fd56d1e6435f2c008ca9050ea906ff7eedcbec43f532f2bf2e7e905d8bf75bf5e4295ea9593f060394e2c8e45737266ccbf718050bad2dd7be4e7613c60d1b5b + languageName: node + linkType: hard + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.25.0" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 peerDependencies: "@babel/core": ^7.0.0 - checksum: 7eb4e7ce5e3d6db4b0fdbdfaaa301c2e58f38a7ee39d5a4259a1fda61a612e83d3e4bc90fc36fb0345baf57e1e1a071e0caffeb80218623ad163f2fdc2e53a54 + checksum: 13ed301b108d85867d64226bbc4032b07dd1a23aab68e9e32452c4fe3930f2198bb65bdae9c262c4104bd5e45647bc1830d25d43d356ee9a137edd8d5fab8350 languageName: node linkType: hard @@ -568,15 +734,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.24.7" +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.25.0" dependencies: - "@babel/helper-environment-visitor": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/traverse": ^7.25.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 8324d458db57060590942c7c2e9603880d07718ccb6450ec935105b8bd3c4393c4b8ada88e178c232258d91f33ffdcf2b1043d54e07a86989e50667ee100a32e + checksum: c8d08b8d6cc71451ad2a50cf7db72ab5b41c1e5e2e4d56cf6837a25a61270abd682c6b8881ab025f11a552d2024b3780519bb051459ebb71c27aed13d9917663 languageName: node linkType: hard @@ -854,17 +1020,17 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-async-generator-functions@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-async-generator-functions@npm:7.24.7" +"@babel/plugin-transform-async-generator-functions@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.25.0" dependencies: - "@babel/helper-environment-visitor": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-remap-async-to-generator": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-remap-async-to-generator": ^7.25.0 "@babel/plugin-syntax-async-generators": ^7.8.4 + "@babel/traverse": ^7.25.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 112e3b18f9c496ebc01209fc27f0b41a3669c479c7bc44f7249383172b432ebaae1e523caa7c6ecbd2d0d7adcb7e5769fe2798f8cb01c08cd57232d1bb6d8ad4 + checksum: cce2bab70ad871ac11751bede006bd4861888f4c63bc9954be38620b14cc6890a4cbc633c1062b89c5fe288ce74b9d1974cc0d43c04baeeb2b13231a236fba85 languageName: node linkType: hard @@ -892,14 +1058,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-block-scoping@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-block-scoping@npm:7.24.7" +"@babel/plugin-transform-block-scoping@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-block-scoping@npm:7.25.0" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.8 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 039206155533600f079f3a455f85888dd7d4970ff7ffa85ef44760f4f5acb9f19c9d848cc1fec1b9bdbc0dfec9e8a080b90d0ab66ad2bdc7138b5ca4ba96e61c + checksum: b1a8f932f69ad2a47ae3e02b4cedd2a876bfc2ac9cf72a503fd706cdc87272646fe9eed81e068c0fc639647033de29f7fa0c21cddd1da0026f83dbaac97316a8 languageName: node linkType: hard @@ -928,21 +1094,19 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-classes@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-classes@npm:7.24.7" +"@babel/plugin-transform-classes@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-classes@npm:7.25.0" dependencies: "@babel/helper-annotate-as-pure": ^7.24.7 - "@babel/helper-compilation-targets": ^7.24.7 - "@babel/helper-environment-visitor": ^7.24.7 - "@babel/helper-function-name": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-replace-supers": ^7.24.7 - "@babel/helper-split-export-declaration": ^7.24.7 + "@babel/helper-compilation-targets": ^7.24.8 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-replace-supers": ^7.25.0 + "@babel/traverse": ^7.25.0 globals: ^11.1.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: f01cb31143730d425681e9816020cbb519c7ddb3b6ca308dfaf2821eda5699a746637fc6bf19811e2fb42cfdf8b00a21b31c754da83771a5c280077925677354 + checksum: ff97f168e6a18fa4e7bb439f1a170dc83c470973091c22c74674769350ab572be5af017cdb64fbd261fe99d068a4ee88f1b7fa7f5ab524d84c2f2833b116e577 languageName: node linkType: hard @@ -958,14 +1122,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-destructuring@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-destructuring@npm:7.24.7" +"@babel/plugin-transform-destructuring@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-destructuring@npm:7.24.8" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.8 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b9637b27faf9d24a8119bc5a1f98a2f47c69e6441bd8fc71163500be316253a72173308a93122bcf27d8d314ace43344c976f7291cf6376767f408350c8149d4 + checksum: 0b4bd3d608979a1e5bd97d9d42acd5ad405c7fffa61efac4c7afd8e86ea6c2d91ab2d94b6a98d63919571363fe76e0b03c4ff161f0f60241b895842596e4a999 languageName: node linkType: hard @@ -992,6 +1156,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:7.25.0" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.0 + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 608d6b0e77341189508880fd1a9f605a38d0803dd6f678ea3920ab181b17b377f6d5221ae8cf0104c7a044d30d4ddb0366bd064447695671d78457a656bb264f + languageName: node + linkType: hard + "@babel/plugin-transform-dynamic-import@npm:^7.24.7": version: 7.24.7 resolution: "@babel/plugin-transform-dynamic-import@npm:7.24.7" @@ -1040,16 +1216,16 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-function-name@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-function-name@npm:7.24.7" +"@babel/plugin-transform-function-name@npm:^7.25.1": + version: 7.25.1 + resolution: "@babel/plugin-transform-function-name@npm:7.25.1" dependencies: - "@babel/helper-compilation-targets": ^7.24.7 - "@babel/helper-function-name": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-compilation-targets": ^7.24.8 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/traverse": ^7.25.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 8eb1a67894a124910b5a67630bed4307757504381f39f0fb5cf82afc7ae8647dbc03b256d13865b73a749b9071b68e9fb8a28cef2369917b4299ebb93fd66146 + checksum: 743f3ea03bbc5a90944849d5a880b6bd9243dddbde581a46952da76e53a0b74c1e2424133fe8129d7a152c1f8c872bcd27e0b6728d7caadabd1afa7bb892e1e0 languageName: node linkType: hard @@ -1065,14 +1241,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-literals@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-literals@npm:7.24.7" +"@babel/plugin-transform-literals@npm:^7.25.2": + version: 7.25.2 + resolution: "@babel/plugin-transform-literals@npm:7.25.2" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.8 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3c075cc093a3dd9e294b8b7d6656e65f889e7ca2179ca27978dcd65b4dc4885ebbfb327408d7d8f483c55547deed00ba840956196f3ac8a3c3d2308a330a8c23 + checksum: 70c9bb40e377a306bd8f500899fb72127e527517914466e95dc6bb53fa7a0f51479db244a54a771b5780fc1eab488fedd706669bf11097b81a23c81ab7423eb1 languageName: node linkType: hard @@ -1124,17 +1300,30 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.24.7" +"@babel/plugin-transform-modules-commonjs@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.24.8" dependencies: - "@babel/helper-hoist-variables": ^7.24.7 - "@babel/helper-module-transforms": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-module-transforms": ^7.24.8 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-simple-access": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: a4cf95b1639c33382064b44558f73ee5fac023f2a94d16e549d2bb55ceebd5cbc10fcddd505d08cd5bc97f5a64af9fd155512358b7dcf7b1a0082e8945cf21c5 + languageName: node + linkType: hard + +"@babel/plugin-transform-modules-systemjs@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.25.0" + dependencies: + "@babel/helper-module-transforms": ^7.25.0 + "@babel/helper-plugin-utils": ^7.24.8 "@babel/helper-validator-identifier": ^7.24.7 + "@babel/traverse": ^7.25.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 8af7a9db2929991d82cfdf41fb175dee344274d39b39122f8c35f24b5d682f98368e3d8f5130401298bd21412df21d416a7d8b33b59c334fae3d3c762118b1d8 + checksum: fe673bec08564e491847324bb80a1e6edfb229f5c37e58a094d51e95306e7b098e1d130fc43e992d22debd93b9beac74441ffc3f6ea5d78f6b2535896efa0728 languageName: node linkType: hard @@ -1248,6 +1437,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-optional-chaining@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.24.8" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + "@babel/plugin-syntax-optional-chaining": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 45e55e3a2fffb89002d3f89aef59c141610f23b60eee41e047380bffc40290b59f64fc649aa7ec5281f73d41b2065410d788acc6afaad2a9f44cad6e8af04442 + languageName: node + linkType: hard + "@babel/plugin-transform-parameters@npm:^7.24.7": version: 7.24.7 resolution: "@babel/plugin-transform-parameters@npm:7.24.7" @@ -1364,18 +1566,33 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-typeof-symbol@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-transform-typeof-symbol@npm:7.24.7" +"@babel/plugin-transform-typeof-symbol@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-typeof-symbol@npm:7.24.8" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8663a8e7347cedf181001d99c88cf794b6598c3d82f324098510fe8fb8bd22113995526a77aa35a3cc5d70ffd0617a59dd0d10311a9bf0e1a3a7d3e59b900c00 + languageName: node + linkType: hard + +"@babel/plugin-transform-typescript@npm:7.25.2": + version: 7.25.2 + resolution: "@babel/plugin-transform-typescript@npm:7.25.2" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + "@babel/helper-create-class-features-plugin": ^7.25.0 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + "@babel/plugin-syntax-typescript": ^7.24.7 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 6bd16b9347614d44187d8f8ee23ebd7be30dabf3632eed5ff0415f35a482e827de220527089eae9cdfb75e85aa72db0e141ebc2247c4b1187c1abcdacdc34895 + checksum: b0267128d93560a4350919f7230a3b497e20fb8611d9f04bb3560d6b38877305ccad4c40903160263361c6930a84dbcb5b21b8ea923531bda51f67bffdc2dd0b languageName: node linkType: hard -"@babel/plugin-transform-typescript@npm:7.24.7, @babel/plugin-transform-typescript@npm:^7.24.7": +"@babel/plugin-transform-typescript@npm:^7.24.7": version: 7.24.7 resolution: "@babel/plugin-transform-typescript@npm:7.24.7" dependencies: @@ -1436,18 +1653,19 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:7.24.7": - version: 7.24.7 - resolution: "@babel/preset-env@npm:7.24.7" +"@babel/preset-env@npm:7.25.3": + version: 7.25.3 + resolution: "@babel/preset-env@npm:7.25.3" dependencies: - "@babel/compat-data": ^7.24.7 - "@babel/helper-compilation-targets": ^7.24.7 - "@babel/helper-plugin-utils": ^7.24.7 - "@babel/helper-validator-option": ^7.24.7 - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ^7.24.7 - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.24.7 + "@babel/compat-data": ^7.25.2 + "@babel/helper-compilation-targets": ^7.25.2 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-validator-option": ^7.24.8 + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ^7.25.3 + "@babel/plugin-bugfix-safari-class-field-initializer-scope": ^7.25.0 + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.25.0 "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.24.7 - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ^7.24.7 + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ^7.25.0 "@babel/plugin-proposal-private-property-in-object": 7.21.0-placeholder-for-preset-env.2 "@babel/plugin-syntax-async-generators": ^7.8.4 "@babel/plugin-syntax-class-properties": ^7.12.13 @@ -1468,29 +1686,30 @@ __metadata: "@babel/plugin-syntax-top-level-await": ^7.14.5 "@babel/plugin-syntax-unicode-sets-regex": ^7.18.6 "@babel/plugin-transform-arrow-functions": ^7.24.7 - "@babel/plugin-transform-async-generator-functions": ^7.24.7 + "@babel/plugin-transform-async-generator-functions": ^7.25.0 "@babel/plugin-transform-async-to-generator": ^7.24.7 "@babel/plugin-transform-block-scoped-functions": ^7.24.7 - "@babel/plugin-transform-block-scoping": ^7.24.7 + "@babel/plugin-transform-block-scoping": ^7.25.0 "@babel/plugin-transform-class-properties": ^7.24.7 "@babel/plugin-transform-class-static-block": ^7.24.7 - "@babel/plugin-transform-classes": ^7.24.7 + "@babel/plugin-transform-classes": ^7.25.0 "@babel/plugin-transform-computed-properties": ^7.24.7 - "@babel/plugin-transform-destructuring": ^7.24.7 + "@babel/plugin-transform-destructuring": ^7.24.8 "@babel/plugin-transform-dotall-regex": ^7.24.7 "@babel/plugin-transform-duplicate-keys": ^7.24.7 + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": ^7.25.0 "@babel/plugin-transform-dynamic-import": ^7.24.7 "@babel/plugin-transform-exponentiation-operator": ^7.24.7 "@babel/plugin-transform-export-namespace-from": ^7.24.7 "@babel/plugin-transform-for-of": ^7.24.7 - "@babel/plugin-transform-function-name": ^7.24.7 + "@babel/plugin-transform-function-name": ^7.25.1 "@babel/plugin-transform-json-strings": ^7.24.7 - "@babel/plugin-transform-literals": ^7.24.7 + "@babel/plugin-transform-literals": ^7.25.2 "@babel/plugin-transform-logical-assignment-operators": ^7.24.7 "@babel/plugin-transform-member-expression-literals": ^7.24.7 "@babel/plugin-transform-modules-amd": ^7.24.7 - "@babel/plugin-transform-modules-commonjs": ^7.24.7 - "@babel/plugin-transform-modules-systemjs": ^7.24.7 + "@babel/plugin-transform-modules-commonjs": ^7.24.8 + "@babel/plugin-transform-modules-systemjs": ^7.25.0 "@babel/plugin-transform-modules-umd": ^7.24.7 "@babel/plugin-transform-named-capturing-groups-regex": ^7.24.7 "@babel/plugin-transform-new-target": ^7.24.7 @@ -1499,7 +1718,7 @@ __metadata: "@babel/plugin-transform-object-rest-spread": ^7.24.7 "@babel/plugin-transform-object-super": ^7.24.7 "@babel/plugin-transform-optional-catch-binding": ^7.24.7 - "@babel/plugin-transform-optional-chaining": ^7.24.7 + "@babel/plugin-transform-optional-chaining": ^7.24.8 "@babel/plugin-transform-parameters": ^7.24.7 "@babel/plugin-transform-private-methods": ^7.24.7 "@babel/plugin-transform-private-property-in-object": ^7.24.7 @@ -1510,7 +1729,7 @@ __metadata: "@babel/plugin-transform-spread": ^7.24.7 "@babel/plugin-transform-sticky-regex": ^7.24.7 "@babel/plugin-transform-template-literals": ^7.24.7 - "@babel/plugin-transform-typeof-symbol": ^7.24.7 + "@babel/plugin-transform-typeof-symbol": ^7.24.8 "@babel/plugin-transform-unicode-escapes": ^7.24.7 "@babel/plugin-transform-unicode-property-regex": ^7.24.7 "@babel/plugin-transform-unicode-regex": ^7.24.7 @@ -1519,11 +1738,11 @@ __metadata: babel-plugin-polyfill-corejs2: ^0.4.10 babel-plugin-polyfill-corejs3: ^0.10.4 babel-plugin-polyfill-regenerator: ^0.6.1 - core-js-compat: ^3.31.0 + core-js-compat: ^3.37.1 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 1a82c883c7404359b19b7436d0aab05f8dd4e89e8b1f7de127cc65d0ff6a9b1c345211d9c038f5b6e8f93d26f091fa9c73812d82851026ab4ec93f5ed0f0d675 + checksum: 9735a44e557f7ef4ade87f59c0d69e4af3383432a23ae7a3cba33e3741bd7812f2d6403a0d94ebfda5f4bd9fdc6250a52c4a156407029f590fde511a792e64e2 languageName: node linkType: hard @@ -1593,6 +1812,17 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/template@npm:7.25.0" + dependencies: + "@babel/code-frame": ^7.24.7 + "@babel/parser": ^7.25.0 + "@babel/types": ^7.25.0 + checksum: 3f2db568718756d0daf2a16927b78f00c425046b654cd30b450006f2e84bdccaf0cbe6dc04994aa1f5f6a4398da2f11f3640a4d3ee31722e43539c4c919c817b + languageName: node + linkType: hard + "@babel/traverse@npm:^7.23.2": version: 7.23.2 resolution: "@babel/traverse@npm:7.23.2" @@ -1629,6 +1859,21 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.24.8, @babel/traverse@npm:^7.25.0, @babel/traverse@npm:^7.25.1, @babel/traverse@npm:^7.25.2, @babel/traverse@npm:^7.25.3": + version: 7.25.3 + resolution: "@babel/traverse@npm:7.25.3" + dependencies: + "@babel/code-frame": ^7.24.7 + "@babel/generator": ^7.25.0 + "@babel/parser": ^7.25.3 + "@babel/template": ^7.25.0 + "@babel/types": ^7.25.2 + debug: ^4.3.1 + globals: ^11.1.0 + checksum: 5661308b1357816f1d4e2813a5dd82c6053617acc08c5c95db051b8b6577d07c4446bc861c9a5e8bf294953ac8266ae13d7d9d856b6b889fc0d34c1f51abbd8c + languageName: node + linkType: hard + "@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": version: 7.23.0 resolution: "@babel/types@npm:7.23.0" @@ -1651,6 +1896,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.24.8, @babel/types@npm:^7.25.0, @babel/types@npm:^7.25.2": + version: 7.25.2 + resolution: "@babel/types@npm:7.25.2" + dependencies: + "@babel/helper-string-parser": ^7.24.8 + "@babel/helper-validator-identifier": ^7.24.7 + to-fast-properties: ^2.0.0 + checksum: f73f66ba903c6f7e38f519a33d53a67d49c07e208e59ea65250362691dc546c6da7ab90ec66ee79651ef697329872f6f97eb19a6dfcacc026fd05e76a563c5d2 + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -1678,34 +1934,52 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.6.1": - version: 4.10.0 - resolution: "@eslint-community/regexpp@npm:4.10.0" - checksum: 2a6e345429ea8382aaaf3a61f865cae16ed44d31ca917910033c02dc00d505d939f10b81e079fa14d43b51499c640138e153b7e40743c4c094d9df97d4e56f7b +"@eslint-community/regexpp@npm:^4.11.0": + version: 4.11.0 + resolution: "@eslint-community/regexpp@npm:4.11.0" + checksum: 97d2fe46690b69417a551bd19a3dc53b6d9590d2295c43cc4c4e44e64131af541e2f4a44d5c12e87de990403654d3dae9d33600081f3a2f0386b368abc9111ec languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" +"@eslint/config-array@npm:^0.17.1": + version: 0.17.1 + resolution: "@eslint/config-array@npm:0.17.1" + dependencies: + "@eslint/object-schema": ^2.1.4 + debug: ^4.3.1 + minimatch: ^3.1.2 + checksum: b678a7af5b0be8f1b29deaf751c77c365cf0b24bead3add677edbc7c7793dfb3eb423e33395787ff86fdbd85117a571f2f338d612a23210d9771aedf765d5482 + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^3.1.0": + version: 3.1.0 + resolution: "@eslint/eslintrc@npm:3.1.0" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.6.0 - globals: ^13.19.0 + espree: ^10.0.1 + globals: ^14.0.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: 10957c7592b20ca0089262d8c2a8accbad14b4f6507e35416c32ee6b4dbf9cad67dfb77096bbd405405e9ada2b107f3797fe94362e1c55e0b09d6e90dd149127 + checksum: b0a9bbd98c8b9e0f4d975b042ff9b874dde722b20834ea2ff46551c3de740d4f10f56c449b790ef34d7f82147cbddfc22b004a43cc885dbc2664bb134766b5e4 languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 315dc65b0e9893e2bff139bddace7ea601ad77ed47b4550e73da8c9c2d2766c7a575c3cddf17ef85b8fd6a36ff34f91729d0dcca56e73ca887c10df91a41b0bb +"@eslint/js@npm:9.8.0": + version: 9.8.0 + resolution: "@eslint/js@npm:9.8.0" + checksum: 8b6e809127edea3bf5b5b3c01ae75290afe5044f950642445a50cb4b86c153ad1512fc417d3cb7b79eb7cd0ce06acd858946b6497ea912750aa54de609064f63 + languageName: node + linkType: hard + +"@eslint/object-schema@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/object-schema@npm:2.1.4" + checksum: 5a03094115bcdab7991dbbc5d17a9713f394cebb4b44d3eaf990d7487b9b8e1877b817997334ab40be52e299a0384595c6f6ba91b389901e5e1d21efda779271 languageName: node linkType: hard @@ -1713,51 +1987,40 @@ __metadata: version: 0.0.0-use.local resolution: "@gear-js/api@workspace:." dependencies: - "@babel/plugin-transform-typescript": 7.24.7 - "@babel/preset-env": 7.24.7 + "@babel/plugin-transform-typescript": 7.25.2 + "@babel/preset-env": 7.25.3 "@babel/preset-typescript": 7.24.7 - "@polkadot/api": 10.13.1 - "@polkadot/typegen": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-codec": 10.13.1 + "@polkadot/api": 12.2.3 + "@polkadot/typegen": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/types-codec": 12.2.3 "@polkadot/wasm-crypto": 7.3.2 - "@rollup/plugin-commonjs": 25.0.8 + "@rollup/plugin-commonjs": 26.0.1 "@rollup/plugin-json": 6.1.0 "@rollup/plugin-node-resolve": 15.2.3 "@rollup/plugin-typescript": 11.1.6 "@types/jest": 29.5.12 "@types/rollup-plugin-peer-deps-external": 2.2.5 - "@typescript-eslint/parser": 5.62.0 + "@typescript-eslint/parser": 8.0.0 babel-cli: 6.26.0 babel-core: 6.26.3 babel-jest: 29.7.0 - eslint: 8.57.0 + eslint: 9.8.0 jest: 29.7.0 - rollup: 3.29.4 + rollup: 4.19.2 rollup-plugin-peer-deps-external: 2.2.4 rollup-plugin-typescript2: 0.36.0 rxjs: 7.8.1 - ts-jest: 29.1.4 + ts-jest: 29.2.4 ts-node: 10.9.2 - typescript: 5.4.5 + typescript: 5.5.4 peerDependencies: - "@polkadot/api": 11.2.1 + "@polkadot/api": 12.0.1 "@polkadot/wasm-crypto": 7.3.2 rxjs: 7.8.1 languageName: unknown linkType: soft -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" - dependencies: - "@humanwhocodes/object-schema": ^2.0.2 - debug: ^4.3.1 - minimatch: ^3.0.5 - checksum: 861ccce9eaea5de19546653bccf75bf09fe878bc39c3aab00aeee2d2a0e654516adad38dd1098aab5e3af0145bbcbf3f309bdf4d964f8dab9dcd5834ae4c02f2 - languageName: node - linkType: hard - "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -1765,10 +2028,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.2 - resolution: "@humanwhocodes/object-schema@npm:2.0.2" - checksum: 2fc11503361b5fb4f14714c700c02a3f4c7c93e9acd6b87a29f62c522d90470f364d6161b03d1cc618b979f2ae02aed1106fd29d302695d8927e2fc8165ba8ee +"@humanwhocodes/retry@npm:^0.3.0": + version: 0.3.0 + resolution: "@humanwhocodes/retry@npm:0.3.0" + checksum: 4349cb8b60466a000e945fde8f8551cefb01ebba22ead4a92ac7b145f67f5da6b52e5a1e0c53185d732d0a49958ac29327934a4a5ac1d0bc20efb4429a4f7bf7 languageName: node linkType: hard @@ -2188,206 +2451,206 @@ __metadata: languageName: node linkType: hard -"@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - dependencies: - "@polkadot-api/metadata-builders": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/substrate-bindings": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/substrate-client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - peerDependencies: - rxjs: ">=7.8.0" - checksum: 98529e8088a4cdbc63a02c87b47f4de1373fb5ce7c0231da1b32baf8125256a6125848a90edf12f93db86bb72f61017d9a23cf0697cc97c8568c491ff64e68fc +"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1" + checksum: cf8daf52ff6d92f26c6027f13ef5fbef9e512626e0225bc8408b79002cfd34fc17c5f2d856beebcb01aa5f84c93ccc8272f9264dc8349b7f6cb63845b30119b5 languageName: node linkType: hard -"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 4c47c978806bc62fff1b5788241cd59457d62ebe347b401b0a621d56d301f7b205aeb20ade24b67c2a5d63a497738694cb4030f79d5009460d17a546e8723f81 +"@polkadot-api/json-rpc-provider@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1" + checksum: 1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c languageName: node linkType: hard -"@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 00d4e1f7900a1739e1ba7a3b13d399e5540a27d5c026c985aa4afdf865fb37da4aa4029a3a740932615482cdf18e657011ef05e7e61c2de04016f68fbb343ae7 +"@polkadot-api/metadata-builders@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/metadata-builders@npm:0.0.1" + dependencies: + "@polkadot-api/substrate-bindings": 0.0.1 + "@polkadot-api/utils": 0.0.1 + checksum: 7cf69e583e64f0ea1b90b141d9f61c4b0ba445daf87d4eba25bfcaa629c95cf4bbe6d89f5263dc495189fae0795c45810a004a2a8fbf59ece01ae71e1e049f17 languageName: node linkType: hard -"@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" +"@polkadot-api/observable-client@npm:0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/observable-client@npm:0.1.0" dependencies: - "@polkadot-api/substrate-bindings": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - checksum: 7fb6264fbe7a49c8f8848fb36f51fa9882c504fc026b0ac28cf2d83890cfa2c2ce7a3dd8c01aed28b991cb4d4a64910557111afe8792375aea2aba1b2aabe233 + "@polkadot-api/metadata-builders": 0.0.1 + "@polkadot-api/substrate-bindings": 0.0.1 + "@polkadot-api/substrate-client": 0.0.1 + "@polkadot-api/utils": 0.0.1 + peerDependencies: + rxjs: ">=7.8.0" + checksum: 694ee405f40ce47eb8d23dd2fc68359a5016c54ac530893a76e772a2d6a1a7c09c3a11d772b7c196af4faa29e98a443849334b97c6bf91af616990b4c7834caa languageName: node linkType: hard -"@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" +"@polkadot-api/substrate-bindings@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-bindings@npm:0.0.1" dependencies: "@noble/hashes": ^1.3.1 - "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/utils": 0.0.1 "@scure/base": ^1.1.1 scale-ts: ^1.6.0 - checksum: 3640063696c4655522587bdb4f2ca99eb2772ee13236965418bf6e97026a1c52cec8a5996560eedac453365e96b51e35283464b4dda0d28d9deb398fe8c3551c + checksum: fc49e49ffe749fc6fab49eee1d10d47fcd1fa3a9b6ca4e7bbde4e9741b9e062cd4e9271fd86a2525095ff36bf33b95d57c51efb88635bb60b2c77fa9e83b2cd6 languageName: node linkType: hard -"@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 3e04f430be68d54173a3b3c1fae33f3cfe2e61c959eb431f89bd306500b9da7e009c02553cf2464a6eb15c5bbe7aa27c45f6ea1371bbfcdddc08519dedcaf4a3 +"@polkadot-api/substrate-client@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-client@npm:0.0.1" + checksum: 13dc05f1fce0d00241b48d262d691a740c65b107800cdfdf8d800333e9b3950932ce50a88bf65810892e43103bf57d1541c71538e68aa27b9aba55b389835b91 languageName: node linkType: hard -"@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 0bf7b078a53f1eaf2f4cec3c41f3e82fc5afb4a347dcbc7b538723aeb1b4893834a2f1aeed425443a25ee0e1a6472c85d8be600e73a6d25ea16a0748d25c00bf +"@polkadot-api/utils@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/utils@npm:0.0.1" + checksum: 11e67019cbf6dd39997d772edf14296c1b156d7a59c7726ce117b438ee85a5e50e305514a2a93cba87fdce1380fcf045931f2fb959df3a43bb327e77ac876148 languageName: node linkType: hard -"@polkadot/api-augment@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/api-augment@npm:10.13.1" +"@polkadot/api-augment@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/api-augment@npm:12.2.3" dependencies: - "@polkadot/api-base": 10.13.1 - "@polkadot/rpc-augment": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-augment": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/util": ^12.6.2 + "@polkadot/api-base": 12.2.3 + "@polkadot/rpc-augment": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/types-augment": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/util": ^13.0.2 tslib: ^2.6.2 - checksum: e72db9d7a2a3e4a84ad38f4da0e1d979750e47d46ffb00c449a1b08ded2b71eede74e20bf1a4e771fabf119d937b81080b8d15db860d4b5c7b068a33f9f5493a + checksum: bf40a0db154865f59c495ea938cb0aabcb16e7d14b3443655dcd73ea2b907ce1fb65a88ee6d9cfb0c1c5da25641de08a0cde62ca40c457e83aa7408766ca5322 languageName: node linkType: hard -"@polkadot/api-base@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/api-base@npm:10.13.1" +"@polkadot/api-base@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/api-base@npm:12.2.3" dependencies: - "@polkadot/rpc-core": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/util": ^12.6.2 + "@polkadot/rpc-core": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/util": ^13.0.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: ba2001ca2336f76788c3d34298086475ec45a2a848a97a9528ff55fb880e3680ab12e240f9d785fdde6e5f9f5c93b353bd1b4292aaa51b261ab07565ab4149da + checksum: 93671b0386f1cb7c4554ac1d287ced15aafe30ffffc79f356f21380bb71ec4202d17c6c120fc87d1a4fcccc032d96e9e3aa18ed3d794338d09223daf90039e77 languageName: node linkType: hard -"@polkadot/api-derive@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/api-derive@npm:10.13.1" +"@polkadot/api-derive@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/api-derive@npm:12.2.3" dependencies: - "@polkadot/api": 10.13.1 - "@polkadot/api-augment": 10.13.1 - "@polkadot/api-base": 10.13.1 - "@polkadot/rpc-core": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 + "@polkadot/api": 12.2.3 + "@polkadot/api-augment": 12.2.3 + "@polkadot/api-base": 12.2.3 + "@polkadot/rpc-core": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: c0e5ed91515a0572e0685623d972327c1affeff4f0b7b49d1ae1ad1dc97594891989a528fe3dde05127bac3119b42ae0303d3fbcdf4c34eef63e859a66055730 - languageName: node - linkType: hard - -"@polkadot/api@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/api@npm:10.13.1" - dependencies: - "@polkadot/api-augment": 10.13.1 - "@polkadot/api-base": 10.13.1 - "@polkadot/api-derive": 10.13.1 - "@polkadot/keyring": ^12.6.2 - "@polkadot/rpc-augment": 10.13.1 - "@polkadot/rpc-core": 10.13.1 - "@polkadot/rpc-provider": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-augment": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/types-create": 10.13.1 - "@polkadot/types-known": 10.13.1 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 + checksum: 86af8b1c3b32f9c39ba0b9276163e82490034261a16ccd5e9cf1a1346bc9d30f9ee8141ed1e60d614ed9eb65f10879110cbce2aaa24d078bc261ccca782c261f + languageName: node + linkType: hard + +"@polkadot/api@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/api@npm:12.2.3" + dependencies: + "@polkadot/api-augment": 12.2.3 + "@polkadot/api-base": 12.2.3 + "@polkadot/api-derive": 12.2.3 + "@polkadot/keyring": ^13.0.2 + "@polkadot/rpc-augment": 12.2.3 + "@polkadot/rpc-core": 12.2.3 + "@polkadot/rpc-provider": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/types-augment": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/types-create": 12.2.3 + "@polkadot/types-known": 12.2.3 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 eventemitter3: ^5.0.1 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 1b2b6bea2ac649e081103bfe221cdb576f084c6e8c88ff8893c63dae81c6f456a4237d0aac6915633c4749dac017490672dade5d76dad151bd79f6966c4291bf + checksum: 08c1600b090b6d52ab20e7f662a80ab3a91dce39ecca68fae7985b6fa720fb86cb7603824d37ec8921d27e3c74dd1e8d1fec9acca91d10b6cd7054bb80a6b001 languageName: node linkType: hard -"@polkadot/keyring@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/keyring@npm:12.6.2" +"@polkadot/keyring@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/keyring@npm:13.0.2" dependencies: - "@polkadot/util": 12.6.2 - "@polkadot/util-crypto": 12.6.2 + "@polkadot/util": 13.0.2 + "@polkadot/util-crypto": 13.0.2 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.6.2 - "@polkadot/util-crypto": 12.6.2 - checksum: b8591690cdd2b9c0fea5de88efe0be19190466572ecb696cc284eec61343b1a2fe0b61a7cfad54933730a132f65d7444619bcb2c8620f38bc0246bfaaa5026f4 + "@polkadot/util": 13.0.2 + "@polkadot/util-crypto": 13.0.2 + checksum: 334aaee396e3f624341ac87bbf9288b3ae0b7c5d8ef222741b802563b1ae88c47f2b8ec2a1989cd62403e1ae0261b4380218c5e112d8a44674cf432216f5c3bb languageName: node linkType: hard -"@polkadot/networks@npm:12.6.2, @polkadot/networks@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/networks@npm:12.6.2" +"@polkadot/networks@npm:13.0.2, @polkadot/networks@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/networks@npm:13.0.2" dependencies: - "@polkadot/util": 12.6.2 - "@substrate/ss58-registry": ^1.44.0 + "@polkadot/util": 13.0.2 + "@substrate/ss58-registry": ^1.46.0 tslib: ^2.6.2 - checksum: 7f3dbdd02d8429f82c36ce284ca279af663d45c1a40ce4ce1e38ec2a06fc9d6d27c66d374f32b91ae3058257f33d60701481c9e95ceab19bd2eb70d83465b026 + checksum: 4bc02ae6a95c0bf770ab2ba99af59013665edf4e759a228148289859dcc171be61d93359f6846a5d248707eb215bcbf2ca69ae9f63eb1720caa38ceb3dab7587 languageName: node linkType: hard -"@polkadot/rpc-augment@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/rpc-augment@npm:10.13.1" +"@polkadot/rpc-augment@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/rpc-augment@npm:12.2.3" dependencies: - "@polkadot/rpc-core": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/util": ^12.6.2 + "@polkadot/rpc-core": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/util": ^13.0.2 tslib: ^2.6.2 - checksum: c68bfb43d7954205c469e575c25c4a82d3bc2b19a00d203d0f58a4271343077dad1b905eca91f1e26cb3a38fe03f411f5be73c610a151614b9c2693abcf33fcc + checksum: 97d0b2c5451d5cb96e84569b0c5e2763abd83def4704def25f6ad728ca8eddc4c3872bd5afb26d9a8be28273f2bd927d1292b0e480727b0fe302548c5c432ae8 languageName: node linkType: hard -"@polkadot/rpc-core@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/rpc-core@npm:10.13.1" +"@polkadot/rpc-core@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/rpc-core@npm:12.2.3" dependencies: - "@polkadot/rpc-augment": 10.13.1 - "@polkadot/rpc-provider": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/util": ^12.6.2 + "@polkadot/rpc-augment": 12.2.3 + "@polkadot/rpc-provider": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/util": ^13.0.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 0fcf03c8db6da394e4aa28df64d9a2c0abe9be04128df85dc0e2462a993f982d1f6d8fc59f7e58578a4acc11108ba67414cce233dfd9f6d088c3a5878d4cc2a8 + checksum: bf0ff9d66ce3581751d0d0c26fd469e8b8d53bb50fdfd0e5da5cfbe1e811eefdf9c57cfbbb5f89e41ffc9ba44b0ea42ab8d73175d5a85ce73c1673c04e452003 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/rpc-provider@npm:10.13.1" +"@polkadot/rpc-provider@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/rpc-provider@npm:12.2.3" dependencies: - "@polkadot/keyring": ^12.6.2 - "@polkadot/types": 10.13.1 - "@polkadot/types-support": 10.13.1 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 - "@polkadot/x-fetch": ^12.6.2 - "@polkadot/x-global": ^12.6.2 - "@polkadot/x-ws": ^12.6.2 - "@substrate/connect": 0.8.8 + "@polkadot/keyring": ^13.0.2 + "@polkadot/types": 12.2.3 + "@polkadot/types-support": 12.2.3 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 + "@polkadot/x-fetch": ^13.0.2 + "@polkadot/x-global": ^13.0.2 + "@polkadot/x-ws": ^13.0.2 + "@substrate/connect": 0.8.10 eventemitter3: ^5.0.1 mock-socket: ^9.3.1 nock: ^13.5.0 @@ -2395,26 +2658,26 @@ __metadata: dependenciesMeta: "@substrate/connect": optional: true - checksum: ea254d36c5bcc919869851e9c08683a1f63d79ed6903485864f49a4c984dfdd9c2f10cc816036e54b930d64b8e7965a4bf360e6333b9641d1cfeccd829410777 - languageName: node - linkType: hard - -"@polkadot/typegen@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/typegen@npm:10.13.1" - dependencies: - "@polkadot/api": 10.13.1 - "@polkadot/api-augment": 10.13.1 - "@polkadot/rpc-augment": 10.13.1 - "@polkadot/rpc-provider": 10.13.1 - "@polkadot/types": 10.13.1 - "@polkadot/types-augment": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/types-create": 10.13.1 - "@polkadot/types-support": 10.13.1 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 - "@polkadot/x-ws": ^12.6.2 + checksum: 88d7f7ce64c73bd2c118510aa0ae399707fd2e1b3420d593c76f7e5de570484ee48f0fbf4fcac9c0fe75da6d3beb0efe3d4f115dff16be509301819563f8cf52 + languageName: node + linkType: hard + +"@polkadot/typegen@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/typegen@npm:12.2.3" + dependencies: + "@polkadot/api": 12.2.3 + "@polkadot/api-augment": 12.2.3 + "@polkadot/rpc-augment": 12.2.3 + "@polkadot/rpc-provider": 12.2.3 + "@polkadot/types": 12.2.3 + "@polkadot/types-augment": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/types-create": 12.2.3 + "@polkadot/types-support": 12.2.3 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 + "@polkadot/x-ws": ^13.0.2 handlebars: ^4.7.8 tslib: ^2.6.2 yargs: ^17.7.2 @@ -2424,116 +2687,116 @@ __metadata: polkadot-types-from-defs: scripts/polkadot-types-from-defs.mjs polkadot-types-internal-interfaces: scripts/polkadot-types-internal-interfaces.mjs polkadot-types-internal-metadata: scripts/polkadot-types-internal-metadata.mjs - checksum: 6c6b80c60458c8b04ef8ef0a6022f6ef1271e0dbb421ccc2225a7a706962645f1ebc15ecf15bcc15dd4537e8a5e987ae657402acd129a18c499c294d27df3883 + checksum: cbcc70e3a363d1650cb1c566ff89762554bc6190c9e845540e6ddfa6c3b4b464c33efc0cccb9b78d32a1fd11a928690678de27a842884247ec9ce51b1718dd0e languageName: node linkType: hard -"@polkadot/types-augment@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/types-augment@npm:10.13.1" +"@polkadot/types-augment@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/types-augment@npm:12.2.3" dependencies: - "@polkadot/types": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/util": ^12.6.2 + "@polkadot/types": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/util": ^13.0.2 tslib: ^2.6.2 - checksum: 653ff88c10cc6b6399bd5f54e6fd5c434b7a0e37d3a60d73a7b24a258544aad959907d8d78f347015a2d8006444419d94cd1e5b38c4a20179aba5726407a9998 + checksum: f5e47c7764f655f7275162ccd080426ab0c23572fa8905134a792ed5917b302c1c71180d3a8051a61825698f4f00b072b5d6e7e4f9daed3414a3b2c223e7e7ee languageName: node linkType: hard -"@polkadot/types-codec@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/types-codec@npm:10.13.1" +"@polkadot/types-codec@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/types-codec@npm:12.2.3" dependencies: - "@polkadot/util": ^12.6.2 - "@polkadot/x-bigint": ^12.6.2 + "@polkadot/util": ^13.0.2 + "@polkadot/x-bigint": ^13.0.2 tslib: ^2.6.2 - checksum: 5f5dadd0cde5686c19aab5042180e54bd9496505063bd873014773c6304c57b80903876162a3e87183487570a6a3e69c707b1ca99f4e6272f7c2c1c9588b9b66 + checksum: 6f1cd31a6356cfe6f3210060dd7078030236c8dc2dac44e80110e614e6076087b9b7204664de2ba9e23e1cb7249b1bba3bb022df28c7a61d855ebb9a0aa70bf1 languageName: node linkType: hard -"@polkadot/types-create@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/types-create@npm:10.13.1" +"@polkadot/types-create@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/types-create@npm:12.2.3" dependencies: - "@polkadot/types-codec": 10.13.1 - "@polkadot/util": ^12.6.2 + "@polkadot/types-codec": 12.2.3 + "@polkadot/util": ^13.0.2 tslib: ^2.6.2 - checksum: 8bba9e0f5b02080c4f1e4bedd3043e136c5ce23d28d8710e274fd571254dc01d0b845177c9321150d7fdb6f745bb7a259eee863337675070891e54a255e3c103 + checksum: 5397bf6f850552155e3381ea81b211e564fbf7c2271805e7bded6b1d7ad54409dcd1fd1354bf7be10bbc96f02576d8199ed7f6110b02935cdea7eb369d1cbaeb languageName: node linkType: hard -"@polkadot/types-known@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/types-known@npm:10.13.1" +"@polkadot/types-known@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/types-known@npm:12.2.3" dependencies: - "@polkadot/networks": ^12.6.2 - "@polkadot/types": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/types-create": 10.13.1 - "@polkadot/util": ^12.6.2 + "@polkadot/networks": ^13.0.2 + "@polkadot/types": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/types-create": 12.2.3 + "@polkadot/util": ^13.0.2 tslib: ^2.6.2 - checksum: c443fff703ab864440f626852badd1b6a80920bc9ed2efc104247bd9e98f66e74ee8227bea8a4a43cf442665a16456e4a31afd9e98ad1a9e17b49e1119d103ee + checksum: e2499edb751d8e38925512ff0e1396c5fe456e42d71fbdf090af8fe8dc14ac381fd747cd0b6a8c2492f90f2e6d48a0fc26a1da2cc7c8166648782f09916fc956 languageName: node linkType: hard -"@polkadot/types-support@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/types-support@npm:10.13.1" +"@polkadot/types-support@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/types-support@npm:12.2.3" dependencies: - "@polkadot/util": ^12.6.2 + "@polkadot/util": ^13.0.2 tslib: ^2.6.2 - checksum: c9b14b6c08922292f08f37a46f1c87973383f8fa657b695212595e839681aeff26b92f686dec2a6ae30bd77083e42674283ad2382f713850cdb95823725bd81d + checksum: dc681525f49129b8a2201f81e64032ac01ec84add507beb2e44dc8046246657645e6e7ed92012a03dfc08ea1167d5c4704c650396e0614ed2bc694054fc0a1d0 languageName: node linkType: hard -"@polkadot/types@npm:10.13.1": - version: 10.13.1 - resolution: "@polkadot/types@npm:10.13.1" +"@polkadot/types@npm:12.2.3": + version: 12.2.3 + resolution: "@polkadot/types@npm:12.2.3" dependencies: - "@polkadot/keyring": ^12.6.2 - "@polkadot/types-augment": 10.13.1 - "@polkadot/types-codec": 10.13.1 - "@polkadot/types-create": 10.13.1 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 + "@polkadot/keyring": ^13.0.2 + "@polkadot/types-augment": 12.2.3 + "@polkadot/types-codec": 12.2.3 + "@polkadot/types-create": 12.2.3 + "@polkadot/util": ^13.0.2 + "@polkadot/util-crypto": ^13.0.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: d1e7b582f7a8c50ab1944d719c8ef29e9b77c07bf89635f028db38192229dce213b11874923e50d102016b197d687170d9a33445be97e78505da474bd1c87d1e + checksum: 00b61ecb7a5d9c1ef1da568682c0fe65f28a5a16735944b0f7659943cf9dc15e6941824bd8e32920780ea507b5bf34472d393210cbf24dfe89c3fe84d1a5985d languageName: node linkType: hard -"@polkadot/util-crypto@npm:12.6.2, @polkadot/util-crypto@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/util-crypto@npm:12.6.2" +"@polkadot/util-crypto@npm:13.0.2, @polkadot/util-crypto@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/util-crypto@npm:13.0.2" dependencies: "@noble/curves": ^1.3.0 "@noble/hashes": ^1.3.3 - "@polkadot/networks": 12.6.2 - "@polkadot/util": 12.6.2 + "@polkadot/networks": 13.0.2 + "@polkadot/util": 13.0.2 "@polkadot/wasm-crypto": ^7.3.2 "@polkadot/wasm-util": ^7.3.2 - "@polkadot/x-bigint": 12.6.2 - "@polkadot/x-randomvalues": 12.6.2 + "@polkadot/x-bigint": 13.0.2 + "@polkadot/x-randomvalues": 13.0.2 "@scure/base": ^1.1.5 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.6.2 - checksum: 63d4bd9bdc3a7089a0a68555cd6a510b8da3cfab142a8f96ba4b43d5d1db2a543433079bc88c2daf15a329d19ba2cc60f6cca6dbebaefd25e96169cb6343794b + "@polkadot/util": 13.0.2 + checksum: 025bb2179d77b73dd8af775192627fe31e985e365fbecf38d7903a663aa11b703fa3f23fbb65e53d0a9710cc087e0cb9a113b0a660d8e9b36de21c36c1bc40d7 languageName: node linkType: hard -"@polkadot/util@npm:12.6.2, @polkadot/util@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/util@npm:12.6.2" +"@polkadot/util@npm:13.0.2, @polkadot/util@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/util@npm:13.0.2" dependencies: - "@polkadot/x-bigint": 12.6.2 - "@polkadot/x-global": 12.6.2 - "@polkadot/x-textdecoder": 12.6.2 - "@polkadot/x-textencoder": 12.6.2 + "@polkadot/x-bigint": 13.0.2 + "@polkadot/x-global": 13.0.2 + "@polkadot/x-textdecoder": 13.0.2 + "@polkadot/x-textencoder": 13.0.2 "@types/bn.js": ^5.1.5 bn.js: ^5.2.1 tslib: ^2.6.2 - checksum: a42a226f3c299026458d82e48516abf59c1cd8638167edaa3fc1a17aec0ebab203e0ad68a096a4a4fa188afd55093535a98e5083d682a79242a3c5ad79342599 + checksum: c7d71898395d2e9fb994ed53be10e9b44e9cb6f6bd502ce31a48848dda032a9e3f462a6039759798023425c6e17d5a7515784f0a8c0ab74c1a0a2691b0ef3660 languageName: node linkType: hard @@ -2617,88 +2880,88 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.6.2, @polkadot/x-bigint@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-bigint@npm:12.6.2" +"@polkadot/x-bigint@npm:13.0.2, @polkadot/x-bigint@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-bigint@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.6.2 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - checksum: 12b2d5c3a7b994f5bd4f7aeda9e268384b04bd080892400c65b88fb5aa4951df6c4abe3baf9820f3adf3da92e2add710858dd35dcd597d2527bbfd1cd0efe534 + checksum: a1c9d9ab3aa27f7a68a879c76cea38ca4757ae4802c6d2a7402dbfbf31468c4dd3c4f1e852e62c0a1bff18889fccac1ccbc38649bf96e9473948ea7d7c2899f3 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-fetch@npm:12.6.2" +"@polkadot/x-fetch@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-fetch@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.6.2 + "@polkadot/x-global": 13.0.2 node-fetch: ^3.3.2 tslib: ^2.6.2 - checksum: 2f0269b17ebbb907f4f4fa777898fd8ea16ecd37abfc2c0b69cfc49bd5ab0ed38cf836a4941e85f9100192f7005731a9a8c6b135799efd17b4261c3cc1ebf844 + checksum: 459948a2b95601b0a39a7eb55277e80bd33e2df1ecab133dbe9823e020d3d5f2a64056911fc2072d0c328550c510e7e0ec45327b354530ae83306d536c616e29 languageName: node linkType: hard -"@polkadot/x-global@npm:12.6.2, @polkadot/x-global@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-global@npm:12.6.2" +"@polkadot/x-global@npm:13.0.2, @polkadot/x-global@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-global@npm:13.0.2" dependencies: tslib: ^2.6.2 - checksum: eb17e039cb1668743c84f5eafbf518cf6248e93090e4877f81f338b418b3e6b0173f2414c62bd9cbe7bf8911ec566527ca7c49c4354ba90d57e62e90195329d0 + checksum: b487bf2a15d77681efae5e928364526102cff48207a871662515c500404ae58d9d08df813fd675c8bf0a2744dbf4648db6a0fe927993e597e8391349295560c8 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-randomvalues@npm:12.6.2" +"@polkadot/x-randomvalues@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-randomvalues@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.6.2 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.6.2 + "@polkadot/util": 13.0.2 "@polkadot/wasm-util": "*" - checksum: 7faccf2dbcf0c7383b5ecfd7beb098c8c8ad5cf4c8f5bafd601657f8271af8f00b66741531ecf8b2f7c59911d96f77e358184a7c5034c70bf387a8e929a4c210 + checksum: 3968ca273ccdc3055466a8bdeae64141ef20dd5451f7fc750eaef28465460e41d28cdd4eadedf3b4ca94024c9ebae023a8a04eb946b9fd17a1ff9c105ebfe39c languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-textdecoder@npm:12.6.2" +"@polkadot/x-textdecoder@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-textdecoder@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.6.2 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - checksum: c7e4b7f7ff943095a96bef3e3e56216d33d6ff38c965931356a06d01594b2c523ccbeada697a31b5457b134e578618f35425e0883f45187adffa98df99a45f27 + checksum: 586c970c66a014471b5354d41a55aa6dbeaa4aec041153d294205d7f86f93cfb6cb5c274b6ef38b0923b515b531bc8608fea7cdc6116c6dc61c370d892b207e4 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-textencoder@npm:12.6.2" +"@polkadot/x-textencoder@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-textencoder@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.6.2 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - checksum: d3eacdc0eb2e1ef8b8132d52a1f1033be62bc64360753a117f2e6517ccf7c9cde628558bbd016a73836eacd91cb1e2ac382dce0ce9c8d32c2f7db3fcc8863911 + checksum: b2db5ab0fd94b8a13816f028f9fb52e0f00c43df4a727c01911902b5fc11bec476b02b92aee5a98adabf4696907e828752c6e0eb9bece79f0440675e4eb030c9 languageName: node linkType: hard -"@polkadot/x-ws@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-ws@npm:12.6.2" +"@polkadot/x-ws@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-ws@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.6.2 + "@polkadot/x-global": 13.0.2 tslib: ^2.6.2 - ws: ^8.15.1 - checksum: a6bddc7ac81690f222fbc192f87f2d9b951d67414ea31a0377fb20844db8fde05d7771df5291633417aa4616bf968a31005ff22d416b2d4fecda2109f820abf7 + ws: ^8.16.0 + checksum: c5aad76a3e121016dd740eddaf5601b2d98b7e568da51b6a0ffe4bced6dfb7373a15067d0c5c267e6daed40ea55014ef4b875c5eaf395c8b3fcd9e85047d2dd9 languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:25.0.8": - version: 25.0.8 - resolution: "@rollup/plugin-commonjs@npm:25.0.8" +"@rollup/plugin-commonjs@npm:26.0.1": + version: 26.0.1 + resolution: "@rollup/plugin-commonjs@npm:26.0.1" dependencies: "@rollup/pluginutils": ^5.0.1 commondir: ^1.0.1 estree-walker: ^2.0.2 - glob: ^8.0.3 + glob: ^10.4.1 is-reference: 1.2.1 magic-string: ^0.30.3 peerDependencies: @@ -2706,7 +2969,7 @@ __metadata: peerDependenciesMeta: rollup: optional: true - checksum: dd105ee5625fbcaf832c0cf80be0aaf6a86bbd8fe99ff911f9ac4b78c79f26e9e99442b5aa0cc1136b5ddf89ec0b6c5728e5341ac04d687aef1b53063670b395 + checksum: 88d1349cc2cda4ad6193cce901356e4c14a830497fc01c91f38c94a871b203ffe657b29c9a98cd16787e3a6a8b45169dd0b471cb36d26d645478a177c958779a languageName: node linkType: hard @@ -2804,6 +3067,118 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm-eabi@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.19.2" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-android-arm64@npm:4.19.2" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-darwin-arm64@npm:4.19.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-darwin-x64@npm:4.19.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.19.2" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-musleabihf@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.19.2" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.19.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.19.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.19.2" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.19.2" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-s390x-gnu@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.19.2" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.19.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.19.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.19.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.19.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.19.2": + version: 4.19.2 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.19.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@scure/base@npm:^1.1.1, @scure/base@npm:^1.1.5": version: 1.1.5 resolution: "@scure/base@npm:1.1.5" @@ -2843,46 +3218,46 @@ __metadata: languageName: node linkType: hard -"@substrate/connect-known-chains@npm:^1.1.1": - version: 1.1.2 - resolution: "@substrate/connect-known-chains@npm:1.1.2" - checksum: 4e6f68219d87f56e4129209109870e8d270247a6e5a3cd143af72e9ebf3ae77b05e1d3fc9c583c108941c1371890714f6eef10e259069b1020af829d26fb1e9a +"@substrate/connect-known-chains@npm:^1.1.4": + version: 1.1.6 + resolution: "@substrate/connect-known-chains@npm:1.1.6" + checksum: 2ed04da37e721e773b15778732b8331031c175a3a95742b60ed04ee317c332be1d7435320012c4040a7a9d3dea590d3ecaf875aeba2bab7d93bd5a0ff74e5e0a languageName: node linkType: hard -"@substrate/connect@npm:0.8.8": - version: 0.8.8 - resolution: "@substrate/connect@npm:0.8.8" +"@substrate/connect@npm:0.8.10": + version: 0.8.10 + resolution: "@substrate/connect@npm:0.8.10" dependencies: "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.1.1 - "@substrate/light-client-extension-helpers": ^0.0.4 + "@substrate/connect-known-chains": ^1.1.4 + "@substrate/light-client-extension-helpers": ^0.0.6 smoldot: 2.0.22 - checksum: c70e8be2a121278af6adbace1060d8f1063c898cbc43b34ce454154cca23cd056e2e8d84407fe49e1c347ff221de9b8e74fbaa18f8145a7e65fb20cd06000368 + checksum: 2ed22ff5eefc547f9c3a7547f166b20c844372802cf406e6511844ed2f813b091f515611a720847e1b78848af1156d5cba403c9423c4ad32e4009daf014150bc languageName: node linkType: hard -"@substrate/light-client-extension-helpers@npm:^0.0.4": - version: 0.0.4 - resolution: "@substrate/light-client-extension-helpers@npm:0.0.4" +"@substrate/light-client-extension-helpers@npm:^0.0.6": + version: 0.0.6 + resolution: "@substrate/light-client-extension-helpers@npm:0.0.6" dependencies: - "@polkadot-api/client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/json-rpc-provider": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/json-rpc-provider-proxy": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/substrate-client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/json-rpc-provider": 0.0.1 + "@polkadot-api/json-rpc-provider-proxy": 0.0.1 + "@polkadot-api/observable-client": 0.1.0 + "@polkadot-api/substrate-client": 0.0.1 "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.1.1 + "@substrate/connect-known-chains": ^1.1.4 rxjs: ^7.8.1 peerDependencies: smoldot: 2.x - checksum: 7ec22cbc13d6acd29e40d716f717942be6cfa0af896fccb6ad797b37908d21a6a56398d8ece6b1b79b956c61dc50978594fbc1e660cbfeb127cd60d58203e043 + checksum: a0cc169e6edf56cdbfd839a32487e31ad0bcb4cc9d4d50bac632c16f95d6ebf54638b268c1f7b8e651482e201f38411139a90071bc91268a2c01e5b50f39f338 languageName: node linkType: hard -"@substrate/ss58-registry@npm:^1.44.0": - version: 1.44.0 - resolution: "@substrate/ss58-registry@npm:1.44.0" - checksum: 130fafc337a60bf22b1c01b8bd4fdbc2606a00483961bd173224478adb358a17b865d287cf99a2a32cb430d23d3a7969fce0457e8302dc48a98e1f666c7f6e40 +"@substrate/ss58-registry@npm:^1.46.0": + version: 1.49.0 + resolution: "@substrate/ss58-registry@npm:1.49.0" + checksum: 917437915d5ba98c46c650dce2fbe1f6a7bbcf2a6fa058df2a751743c774db37d6b5dacab4c2ce8bdf9d52275b2d325fcc63f6f08d37e5428fa133ff72e19c56 languageName: node linkType: hard @@ -2964,7 +3339,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:^1.0.0": +"@types/estree@npm:*, @types/estree@npm:1.0.5, @types/estree@npm:^1.0.0": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" checksum: dd8b5bed28e6213b7acd0fb665a84e693554d850b0df423ac8076cc3ad5823a6bc26b0251d080bdc545af83179ede51dd3f6fa78cad2c46ed1f29624ddf3e41a @@ -3070,72 +3445,67 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/parser@npm:5.62.0" +"@typescript-eslint/parser@npm:8.0.0": + version: 8.0.0 + resolution: "@typescript-eslint/parser@npm:8.0.0" dependencies: - "@typescript-eslint/scope-manager": 5.62.0 - "@typescript-eslint/types": 5.62.0 - "@typescript-eslint/typescript-estree": 5.62.0 + "@typescript-eslint/scope-manager": 8.0.0 + "@typescript-eslint/types": 8.0.0 + "@typescript-eslint/typescript-estree": 8.0.0 + "@typescript-eslint/visitor-keys": 8.0.0 debug: ^4.3.4 peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: d168f4c7f21a7a63f47002e2d319bcbb6173597af5c60c1cf2de046b46c76b4930a093619e69faf2d30214c29ab27b54dcf1efc7046a6a6bd6f37f59a990e752 + checksum: 7755cd26c4d51a6fb3cb83123eeb96e9ad1519b8ccc514de80ceccc823fe090e6cb185bb049a0edb345a69ca990e3b17090ef5592958953fe61e9b2378d5f78b languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/scope-manager@npm:5.62.0" +"@typescript-eslint/scope-manager@npm:8.0.0": + version: 8.0.0 + resolution: "@typescript-eslint/scope-manager@npm:8.0.0" dependencies: - "@typescript-eslint/types": 5.62.0 - "@typescript-eslint/visitor-keys": 5.62.0 - checksum: 6062d6b797fe1ce4d275bb0d17204c827494af59b5eaf09d8a78cdd39dadddb31074dded4297aaf5d0f839016d601032857698b0e4516c86a41207de606e9573 + "@typescript-eslint/types": 8.0.0 + "@typescript-eslint/visitor-keys": 8.0.0 + checksum: 0eea33f5fa5b8df0e8831c1c842403ac71e58b46b394e601b4aeda844c4a41fe19c6c1bbe528fe49093c3ba4ec6d6f444237b5ca073e3c40256b81c6b8671e78 languageName: node linkType: hard -"@typescript-eslint/types@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/types@npm:5.62.0" - checksum: 48c87117383d1864766486f24de34086155532b070f6264e09d0e6139449270f8a9559cfef3c56d16e3bcfb52d83d42105d61b36743626399c7c2b5e0ac3b670 +"@typescript-eslint/types@npm:8.0.0": + version: 8.0.0 + resolution: "@typescript-eslint/types@npm:8.0.0" + checksum: 2293c8c9bb91890c620900c45731f7d2a9b042b05d6c16bb18e35fc98e0fc749a293b2671aa375ec62b0eeb38e828da0b4768a0d84b31bcbbaf0293fe82e1117 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" +"@typescript-eslint/typescript-estree@npm:8.0.0": + version: 8.0.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.0.0" dependencies: - "@typescript-eslint/types": 5.62.0 - "@typescript-eslint/visitor-keys": 5.62.0 + "@typescript-eslint/types": 8.0.0 + "@typescript-eslint/visitor-keys": 8.0.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 - semver: ^7.3.7 - tsutils: ^3.21.0 + minimatch: ^9.0.4 + semver: ^7.6.0 + ts-api-utils: ^1.3.0 peerDependenciesMeta: typescript: optional: true - checksum: 3624520abb5807ed8f57b1197e61c7b1ed770c56dfcaca66372d584ff50175225798bccb701f7ef129d62c5989070e1ee3a0aa2d84e56d9524dcf011a2bb1a52 + checksum: 38b658079814caa49eb696b08144e5f5dbc5a70cacd541d1d3eaeee60adb4a7ea18616741d425aab2083c86b2b14782a4bd92700f9a854f661f931d102a86f06 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" +"@typescript-eslint/visitor-keys@npm:8.0.0": + version: 8.0.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.0.0" dependencies: - "@typescript-eslint/types": 5.62.0 - eslint-visitor-keys: ^3.3.0 - checksum: 976b05d103fe8335bef5c93ad3f76d781e3ce50329c0243ee0f00c0fcfb186c81df50e64bfdd34970148113f8ade90887f53e3c4938183afba830b4ba8e30a35 - languageName: node - linkType: hard - -"@ungap/structured-clone@npm:^1.2.0": - version: 1.2.0 - resolution: "@ungap/structured-clone@npm:1.2.0" - checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 + "@typescript-eslint/types": 8.0.0 + eslint-visitor-keys: ^3.4.3 + checksum: ae823bf8bd4d24e5b4bc5340139f239f8cd950231c0efdb7a30b576e774997de938489f191db87b0397a065b9fa961be37d5f47c2a4b359aa2055e692fcde4c1 languageName: node linkType: hard @@ -3162,7 +3532,16 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.4.1, acorn@npm:^8.9.0": +"acorn@npm:^8.12.0": + version: 8.12.0 + resolution: "acorn@npm:8.12.0" + bin: + acorn: bin/acorn + checksum: ae142de8739ef15a5d936c550c1d267fc4dedcdbe62ad1aa2c0009afed1de84dd0a584684a5d200bb55d8db14f3e09a95c6e92a5303973c04b9a7413c36d1df0 + languageName: node + linkType: hard + +"acorn@npm:^8.4.1": version: 8.11.2 resolution: "acorn@npm:8.11.2" bin: @@ -3379,6 +3758,13 @@ __metadata: languageName: node linkType: hard +"async@npm:^3.2.3": + version: 3.2.5 + resolution: "async@npm:3.2.5" + checksum: 5ec77f1312301dee02d62140a6b1f7ee0edd2a0f983b6fd2b0849b969f245225b990b47b8243e7b9ad16451a53e7f68e753700385b706198ced888beedba3af4 + languageName: node + linkType: hard + "atob@npm:^2.1.2": version: 2.1.2 resolution: "atob@npm:2.1.2" @@ -3793,7 +4179,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.21.9, browserslist@npm:^4.22.1": +"browserslist@npm:^4.21.9": version: 4.22.1 resolution: "browserslist@npm:4.22.1" dependencies: @@ -3835,6 +4221,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.23.1": + version: 4.23.2 + resolution: "browserslist@npm:4.23.2" + dependencies: + caniuse-lite: ^1.0.30001640 + electron-to-chromium: ^1.4.820 + node-releases: ^2.0.14 + update-browserslist-db: ^1.1.0 + bin: + browserslist: cli.js + checksum: 8212af37f6ca6355da191cf2d4ad49bd0b82854888b9a7e103638fada70d38cbe36d28feeeaa98344cb15d9128f9f74bcc8ce1bfc9011b5fd14381c1c6fb542c + languageName: node + linkType: hard + "bs-logger@npm:0.x": version: 0.2.6 resolution: "bs-logger@npm:0.2.6" @@ -3946,6 +4346,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001640": + version: 1.0.30001646 + resolution: "caniuse-lite@npm:1.0.30001646" + checksum: 53d45b990d21036aaab7547e164174a0ac9a117acdd14a6c33822c4983e2671b1df48686d5383002d0ef158b208b0047a7dc404312a6229bf8ee629de3351b44 + languageName: node + linkType: hard + "chalk@npm:^1.1.3": version: 1.1.3 resolution: "chalk@npm:1.1.3" @@ -3970,7 +4377,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0": +"chalk@npm:^4.0.0, chalk@npm:^4.0.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -4163,16 +4570,7 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.31.0": - version: 3.33.2 - resolution: "core-js-compat@npm:3.33.2" - dependencies: - browserslist: ^4.22.1 - checksum: 4206d3ff282a9188399e9003301fa4b96844152afcea7b9c9accc653542f40f581f77bf079b8be67f614e305da1f29e868a49ceebb6dbe3f5fb4a28bd2dbf431 - languageName: node - linkType: hard - -"core-js-compat@npm:^3.36.1": +"core-js-compat@npm:^3.36.1, core-js-compat@npm:^3.37.1": version: 3.37.1 resolution: "core-js-compat@npm:3.37.1" dependencies: @@ -4358,15 +4756,6 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:^3.0.0": - version: 3.0.0 - resolution: "doctrine@npm:3.0.0" - dependencies: - esutils: ^2.0.2 - checksum: fd7673ca77fe26cd5cba38d816bc72d641f500f1f9b25b83e8ce28827fe2da7ad583a8da26ab6af85f834138cf8dae9f69b0cd6ab925f52ddab1754db44d99ce - languageName: node - linkType: hard - "eastasianwidth@npm:^0.2.0": version: 0.2.0 resolution: "eastasianwidth@npm:0.2.0" @@ -4374,6 +4763,17 @@ __metadata: languageName: node linkType: hard +"ejs@npm:^3.1.10": + version: 3.1.10 + resolution: "ejs@npm:3.1.10" + dependencies: + jake: ^10.8.5 + bin: + ejs: bin/cli.js + checksum: ce90637e9c7538663ae023b8a7a380b2ef7cc4096de70be85abf5a3b9641912dde65353211d05e24d56b1f242d71185c6d00e02cb8860701d571786d92c71f05 + languageName: node + linkType: hard + "electron-to-chromium@npm:^1.4.535": version: 1.4.577 resolution: "electron-to-chromium@npm:1.4.577" @@ -4395,6 +4795,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.4.820": + version: 1.5.4 + resolution: "electron-to-chromium@npm:1.5.4" + checksum: 352f13c043cb185b464efe20f9b0a1adea2b1a7dad56e41dac995d0ad060f9981e479d632ebc73a1dce3bd5c36bbceeffe0667161ce296c2488fbb95f89bc793 + languageName: node + linkType: hard + "emittery@npm:^0.13.1": version: 0.13.1 resolution: "emittery@npm:0.13.1" @@ -4455,6 +4862,13 @@ __metadata: languageName: node linkType: hard +"escalade@npm:^3.1.2": + version: 3.1.2 + resolution: "escalade@npm:3.1.2" + checksum: 1ec0977aa2772075493002bdbd549d595ff6e9393b1cb0d7d6fcaf78c750da0c158f180938365486f75cb69fba20294351caddfce1b46552a7b6c3cde52eaa02 + languageName: node + linkType: hard + "escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -4476,57 +4890,60 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" +"eslint-scope@npm:^8.0.2": + version: 8.0.2 + resolution: "eslint-scope@npm:8.0.2" dependencies: esrecurse: ^4.3.0 estraverse: ^5.2.0 - checksum: ec97dbf5fb04b94e8f4c5a91a7f0a6dd3c55e46bfc7bbcd0e3138c3a76977570e02ed89a1810c778dcd72072ff0e9621ba1379b4babe53921d71e2e4486fda3e + checksum: bd1e7a0597ec605cf3bc9b35c9e13d7ea6c11fee031b0cada9e8993b0ecf16d81d6f40f1dcd463424af439abf53cd62302ea25707c1599689eb2750d6aa29688 languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 languageName: node linkType: hard -"eslint@npm:8.57.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" +"eslint-visitor-keys@npm:^4.0.0": + version: 4.0.0 + resolution: "eslint-visitor-keys@npm:4.0.0" + checksum: 5c09f89cf29d87cdbfbac38802a880d3c2e65f8cb61c689888346758f1e24a4c7f6caefeac9474dfa52058a99920623599bdb00516976a30134abeba91275aa2 + languageName: node + linkType: hard + +"eslint@npm:9.8.0": + version: 9.8.0 + resolution: "eslint@npm:9.8.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 - "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.4 - "@eslint/js": 8.57.0 - "@humanwhocodes/config-array": ^0.11.14 + "@eslint-community/regexpp": ^4.11.0 + "@eslint/config-array": ^0.17.1 + "@eslint/eslintrc": ^3.1.0 + "@eslint/js": 9.8.0 "@humanwhocodes/module-importer": ^1.0.1 + "@humanwhocodes/retry": ^0.3.0 "@nodelib/fs.walk": ^1.2.8 - "@ungap/structured-clone": ^1.2.0 ajv: ^6.12.4 chalk: ^4.0.0 cross-spawn: ^7.0.2 debug: ^4.3.2 - doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 - eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.3 - espree: ^9.6.1 - esquery: ^1.4.2 + eslint-scope: ^8.0.2 + eslint-visitor-keys: ^4.0.0 + espree: ^10.1.0 + esquery: ^1.5.0 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 - file-entry-cache: ^6.0.1 + file-entry-cache: ^8.0.0 find-up: ^5.0.0 glob-parent: ^6.0.2 - globals: ^13.19.0 - graphemer: ^1.4.0 ignore: ^5.2.0 imurmurhash: ^0.1.4 is-glob: ^4.0.0 is-path-inside: ^3.0.3 - js-yaml: ^4.1.0 json-stable-stringify-without-jsonify: ^1.0.1 levn: ^0.4.1 lodash.merge: ^4.6.2 @@ -4537,18 +4954,18 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 3a48d7ff85ab420a8447e9810d8087aea5b1df9ef68c9151732b478de698389ee656fd895635b5f2871c89ee5a2652b3f343d11e9db6f8486880374ebc74a2d9 + checksum: 3fdcf4047ccb2e18bf5d072542d41bd60b5816a68bfbe95dff17cc680c90c29dfb9c595f9691db290190e55219a8088cf09c675095790c80db58f1b4560b8a14 languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" +"espree@npm:^10.0.1, espree@npm:^10.1.0": + version: 10.1.0 + resolution: "espree@npm:10.1.0" dependencies: - acorn: ^8.9.0 + acorn: ^8.12.0 acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9 + eslint-visitor-keys: ^4.0.0 + checksum: a4708ab987f6c03734b8738b1588e9f31b2e305e869ca4677c60d82294eb05f7099b6687eb39eeb0913bb2d49bdf0bd0f31c511599ea7ee171281f871a9c897e languageName: node linkType: hard @@ -4562,7 +4979,7 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2": +"esquery@npm:^1.5.0": version: 1.5.0 resolution: "esquery@npm:1.5.0" dependencies: @@ -4791,12 +5208,12 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" +"file-entry-cache@npm:^8.0.0": + version: 8.0.0 + resolution: "file-entry-cache@npm:8.0.0" dependencies: - flat-cache: ^3.0.4 - checksum: f49701feaa6314c8127c3c2f6173cfefff17612f5ed2daaafc6da13b5c91fd43e3b2a58fd0d63f9f94478a501b167615931e7200e31485e320f74a33885a9c74 + flat-cache: ^4.0.0 + checksum: f67802d3334809048c69b3d458f672e1b6d26daefda701761c81f203b80149c35dea04d78ea4238969dd617678e530876722a0634c43031a0957f10cc3ed190f languageName: node linkType: hard @@ -4807,6 +5224,15 @@ __metadata: languageName: node linkType: hard +"filelist@npm:^1.0.4": + version: 1.0.4 + resolution: "filelist@npm:1.0.4" + dependencies: + minimatch: ^5.0.1 + checksum: a303573b0821e17f2d5e9783688ab6fbfce5d52aaac842790ae85e704a6f5e4e3538660a63183d6453834dedf1e0f19a9dadcebfa3e926c72397694ea11f5160 + languageName: node + linkType: hard + "filename-regex@npm:^2.0.0": version: 2.0.1 resolution: "filename-regex@npm:2.0.1" @@ -4879,14 +5305,13 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.1.1 - resolution: "flat-cache@npm:3.1.1" +"flat-cache@npm:^4.0.0": + version: 4.0.1 + resolution: "flat-cache@npm:4.0.1" dependencies: flatted: ^3.2.9 - keyv: ^4.5.3 - rimraf: ^3.0.2 - checksum: 4958cfe0f46acf84953d4e16676ef5f0d38eab3a92d532a1e8d5f88f11eea8b36d5d598070ff2aeae15f1fde18f8d7d089eefaf9db10b5a587cc1c9072325c7a + keyv: ^4.5.4 + checksum: 899fc86bf6df093547d76e7bfaeb900824b869d7d457d02e9b8aae24836f0a99fbad79328cfd6415ee8908f180699bf259dc7614f793447cb14f707caf5996f6 languageName: node linkType: hard @@ -5118,6 +5543,22 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.4.1": + version: 10.4.5 + resolution: "glob@npm:10.4.5" + dependencies: + foreground-child: ^3.1.0 + jackspeak: ^3.1.2 + minimatch: ^9.0.4 + minipass: ^7.1.2 + package-json-from-dist: ^1.0.0 + path-scurry: ^1.11.1 + bin: + glob: dist/esm/bin.mjs + checksum: 0bc725de5e4862f9f387fd0f2b274baf16850dcd2714502ccf471ee401803997983e2c05590cb65f9675a3c6f2a58e7a53f9e365704108c6ad3cbf1d60934c4a + languageName: node + linkType: hard + "glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -5132,19 +5573,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.3": - version: 8.1.0 - resolution: "glob@npm:8.1.0" - dependencies: - fs.realpath: ^1.0.0 - inflight: ^1.0.4 - inherits: 2 - minimatch: ^5.0.1 - once: ^1.3.0 - checksum: 92fbea3221a7d12075f26f0227abac435de868dd0736a17170663783296d0dd8d3d532a5672b4488a439bf5d7fb85cdd07c11185d6cd39184f0385cbdfb86a47 - languageName: node - linkType: hard - "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -5152,12 +5580,10 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.23.0 - resolution: "globals@npm:13.23.0" - dependencies: - type-fest: ^0.20.2 - checksum: 194c97cf8d1ef6ba59417234c2386549c4103b6e5f24b1ff1952de61a4753e5d2069435ba629de711a6480b1b1d114a98e2ab27f85e966d5a10c319c3bbd3dc3 +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: 534b8216736a5425737f59f6e6a5c7f386254560c9f41d24a9227d60ee3ad4a9e82c5b85def0e212e9d92162f83a92544be4c7fd4c902cb913736c10e08237ac languageName: node linkType: hard @@ -5189,13 +5615,6 @@ __metadata: languageName: node linkType: hard -"graphemer@npm:^1.4.0": - version: 1.4.0 - resolution: "graphemer@npm:1.4.0" - checksum: bab8f0be9b568857c7bec9fda95a89f87b783546d02951c40c33f84d05bb7da3fd10f863a9beb901463669b6583173a8c8cc6d6b306ea2b9b9d5d3d943c3a673 - languageName: node - linkType: hard - "handlebars@npm:^4.7.8": version: 4.7.8 resolution: "handlebars@npm:4.7.8" @@ -5799,6 +6218,33 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^3.1.2": + version: 3.4.3 + resolution: "jackspeak@npm:3.4.3" + dependencies: + "@isaacs/cliui": ^8.0.2 + "@pkgjs/parseargs": ^0.11.0 + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: be31027fc72e7cc726206b9f560395604b82e0fddb46c4cbf9f97d049bcef607491a5afc0699612eaa4213ca5be8fd3e1e7cd187b3040988b65c9489838a7c00 + languageName: node + linkType: hard + +"jake@npm:^10.8.5": + version: 10.9.2 + resolution: "jake@npm:10.9.2" + dependencies: + async: ^3.2.3 + chalk: ^4.0.2 + filelist: ^1.0.4 + minimatch: ^3.1.2 + bin: + jake: bin/cli.js + checksum: f2dc4a086b4f58446d02cb9be913c39710d9ea570218d7681bb861f7eeaecab7b458256c946aeaa7e548c5e0686cc293e6435501e4047174a3b6a504dcbfcaae + languageName: node + linkType: hard + "jest-changed-files@npm:^29.7.0": version: 29.7.0 resolution: "jest-changed-files@npm:29.7.0" @@ -6368,7 +6814,7 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^4.5.3": +"keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -6497,6 +6943,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^10.2.0": + version: 10.4.3 + resolution: "lru-cache@npm:10.4.3" + checksum: 6476138d2125387a6d20f100608c2583d415a4f64a0fecf30c9e2dda976614f09cad4baa0842447bd37dd459a7bd27f57d9d8f8ce558805abd487c583f3d774a + languageName: node + linkType: hard + "lru-cache@npm:^5.1.1": version: 5.1.1 resolution: "lru-cache@npm:5.1.1" @@ -6673,7 +7126,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -6700,6 +7153,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.4": + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" + dependencies: + brace-expansion: ^2.0.1 + checksum: 2c035575eda1e50623c731ec6c14f65a85296268f749b9337005210bb2b34e2705f8ef1a358b188f69892286ab99dc42c8fb98a57bde55c8d81b3023c19cea28 + languageName: node + linkType: hard + "minimist@npm:^1.2.5, minimist@npm:^1.2.6": version: 1.2.8 resolution: "minimist@npm:1.2.8" @@ -6781,6 +7243,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^7.1.2": + version: 7.1.2 + resolution: "minipass@npm:7.1.2" + checksum: 2bfd325b95c555f2b4d2814d49325691c7bee937d753814861b0b49d5edcda55cbbf22b6b6a60bb91eddac8668771f03c5ff647dcd9d0f798e9548b9cdc46ee3 + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -7152,6 +7621,13 @@ __metadata: languageName: node linkType: hard +"package-json-from-dist@npm:^1.0.0": + version: 1.0.0 + resolution: "package-json-from-dist@npm:1.0.0" + checksum: ac706ec856a5a03f5261e4e48fa974f24feb044d51f84f8332e2af0af04fbdbdd5bbbfb9cbbe354190409bc8307c83a9e38c6672c3c8855f709afb0006a009ea + languageName: node + linkType: hard + "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -7230,6 +7706,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.11.1": + version: 1.11.1 + resolution: "path-scurry@npm:1.11.1" + dependencies: + lru-cache: ^10.2.0 + minipass: ^5.0.0 || ^6.0.2 || ^7.0.0 + checksum: 890d5abcd593a7912dcce7cf7c6bf7a0b5648e3dee6caf0712c126ca0a65c7f3d7b9d769072a4d1baf370f61ce493ab5b038d59988688e0c5f3f646ee3c69023 + languageName: node + linkType: hard + "path-type@npm:^4.0.0": version: 4.0.0 resolution: "path-type@npm:4.0.0" @@ -7244,6 +7730,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.0.1": + version: 1.0.1 + resolution: "picocolors@npm:1.0.1" + checksum: fa68166d1f56009fc02a34cdfd112b0dd3cf1ef57667ac57281f714065558c01828cdf4f18600ad6851cbe0093952ed0660b1e0156bddf2184b6aaf5817553a5 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -7623,17 +8116,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.2": - version: 3.0.2 - resolution: "rimraf@npm:3.0.2" - dependencies: - glob: ^7.1.3 - bin: - rimraf: bin.js - checksum: 87f4164e396f0171b0a3386cc1877a817f572148ee13a7e113b238e48e8a9f2f31d009a92ec38a591ff1567d9662c6b67fd8818a2dbbaed74bc26a87a2a4a9a0 - languageName: node - linkType: hard - "rollup-plugin-peer-deps-external@npm:2.2.4": version: 2.2.4 resolution: "rollup-plugin-peer-deps-external@npm:2.2.4" @@ -7659,17 +8141,66 @@ __metadata: languageName: node linkType: hard -"rollup@npm:3.29.4": - version: 3.29.4 - resolution: "rollup@npm:3.29.4" - dependencies: +"rollup@npm:4.19.2": + version: 4.19.2 + resolution: "rollup@npm:4.19.2" + dependencies: + "@rollup/rollup-android-arm-eabi": 4.19.2 + "@rollup/rollup-android-arm64": 4.19.2 + "@rollup/rollup-darwin-arm64": 4.19.2 + "@rollup/rollup-darwin-x64": 4.19.2 + "@rollup/rollup-linux-arm-gnueabihf": 4.19.2 + "@rollup/rollup-linux-arm-musleabihf": 4.19.2 + "@rollup/rollup-linux-arm64-gnu": 4.19.2 + "@rollup/rollup-linux-arm64-musl": 4.19.2 + "@rollup/rollup-linux-powerpc64le-gnu": 4.19.2 + "@rollup/rollup-linux-riscv64-gnu": 4.19.2 + "@rollup/rollup-linux-s390x-gnu": 4.19.2 + "@rollup/rollup-linux-x64-gnu": 4.19.2 + "@rollup/rollup-linux-x64-musl": 4.19.2 + "@rollup/rollup-win32-arm64-msvc": 4.19.2 + "@rollup/rollup-win32-ia32-msvc": 4.19.2 + "@rollup/rollup-win32-x64-msvc": 4.19.2 + "@types/estree": 1.0.5 fsevents: ~2.3.2 dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true fsevents: optional: true bin: rollup: dist/bin/rollup - checksum: 8bb20a39c8d91130825159c3823eccf4dc2295c9a0a5c4ed851a5bf2167dbf24d9a29f23461a54c955e5506395e6cc188eafc8ab0e20399d7489fb33793b184e + checksum: ca0f17b3dd5efa219a933f7ed5047eeef122f6a822fd600a54f245590280cdfa846375acb6d3f2b0711734ed894ddc78f6a1930773f7d31deff258b3bfe01bef languageName: node linkType: hard @@ -7742,7 +8273,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -7753,6 +8284,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.6.0": + version: 7.6.2 + resolution: "semver@npm:7.6.2" + bin: + semver: bin/semver.js + checksum: 40f6a95101e8d854357a644da1b8dd9d93ce786d5c6a77227bc69dbb17bea83d0d1d1d7c4cd5920a6df909f48e8bd8a5909869535007f90278289f2451d0292d + languageName: node + linkType: hard + "set-value@npm:^2.0.0, set-value@npm:^2.0.1": version: 2.0.1 resolution: "set-value@npm:2.0.1" @@ -8216,11 +8756,21 @@ __metadata: languageName: node linkType: hard -"ts-jest@npm:29.1.4": - version: 29.1.4 - resolution: "ts-jest@npm:29.1.4" +"ts-api-utils@npm:^1.3.0": + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" + peerDependencies: + typescript: ">=4.2.0" + checksum: c746ddabfdffbf16cb0b0db32bb287236a19e583057f8649ee7c49995bb776e1d3ef384685181c11a1a480369e022ca97512cb08c517b2d2bd82c83754c97012 + languageName: node + linkType: hard + +"ts-jest@npm:29.2.4": + version: 29.2.4 + resolution: "ts-jest@npm:29.2.4" dependencies: bs-logger: 0.x + ejs: ^3.1.10 fast-json-stable-stringify: 2.x jest-util: ^29.0.0 json5: ^2.2.3 @@ -8248,7 +8798,7 @@ __metadata: optional: true bin: ts-jest: cli.js - checksum: e36cba389adbb3700b46422e883c8d25e76febcc01c4a39c801ef15e6edbd6da1695bdd144100153e992f98a754aea4099906955b1b9a83c3c72d77009c3d7e2 + checksum: 142246f12bb11d5edbfb5a65e298097667e2c4d390e316e356416ce00d3cd157220dbfb9de2a56b38f30776bc92ba59eff9fd78e9345ba4c6712783f27f5475a languageName: node linkType: hard @@ -8290,13 +8840,6 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.8.1": - version: 1.14.1 - resolution: "tslib@npm:1.14.1" - checksum: dbe628ef87f66691d5d2959b3e41b9ca0045c3ee3c7c7b906cc1e328b39f199bb1ad9e671c39025bd56122ac57dfbf7385a94843b1cc07c60a4db74795829acd - languageName: node - linkType: hard - "tslib@npm:^2.1.0, tslib@npm:^2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" @@ -8304,17 +8847,6 @@ __metadata: languageName: node linkType: hard -"tsutils@npm:^3.21.0": - version: 3.21.0 - resolution: "tsutils@npm:3.21.0" - dependencies: - tslib: ^1.8.1 - peerDependencies: - typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - checksum: 1843f4c1b2e0f975e08c4c21caa4af4f7f65a12ac1b81b3b8489366826259323feb3fc7a243123453d2d1a02314205a7634e048d4a8009921da19f99755cdc48 - languageName: node - linkType: hard - "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -8331,13 +8863,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: 4fb3272df21ad1c552486f8a2f8e115c09a521ad7a8db3d56d53718d0c907b62c6e9141ba5f584af3f6830d0872c521357e512381f24f7c44acae583ad517d73 - languageName: node - linkType: hard - "type-fest@npm:^0.21.3": version: 0.21.3 resolution: "type-fest@npm:0.21.3" @@ -8345,23 +8870,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.4.5": - version: 5.4.5 - resolution: "typescript@npm:5.4.5" +"typescript@npm:5.5.4": + version: 5.5.4 + resolution: "typescript@npm:5.5.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0 + checksum: b309040f3a1cd91c68a5a58af6b9fdd4e849b8c42d837b2c2e73f9a4f96a98c4f1ed398a9aab576ee0a4748f5690cf594e6b99dbe61de7839da748c41e6d6ca8 languageName: node linkType: hard -"typescript@patch:typescript@5.4.5#~builtin": - version: 5.4.5 - resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin::version=5.4.5&hash=d73830" +"typescript@patch:typescript@5.5.4#~builtin": + version: 5.5.4 + resolution: "typescript@patch:typescript@npm%3A5.5.4#~builtin::version=5.5.4&hash=d73830" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 2373c693f3b328f3b2387c3efafe6d257b057a142f9a79291854b14ff4d5367d3d730810aee981726b677ae0fd8329b23309da3b6aaab8263dbdccf1da07a3ba + checksum: fc52962f31a5bcb716d4213bef516885e4f01f30cea797a831205fc9ef12b405a40561c40eae3127ab85ba1548e7df49df2bcdee6b84a94bfbe3a0d7eff16b14 languageName: node linkType: hard @@ -8473,6 +8998,20 @@ __metadata: languageName: node linkType: hard +"update-browserslist-db@npm:^1.1.0": + version: 1.1.0 + resolution: "update-browserslist-db@npm:1.1.0" + dependencies: + escalade: ^3.1.2 + picocolors: ^1.0.1 + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 7b74694d96f0c360f01b702e72353dc5a49df4fe6663d3ee4e5c628f061576cddf56af35a3a886238c01dd3d8f231b7a86a8ceaa31e7a9220ae31c1c1238e562 + languageName: node + linkType: hard + "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -8623,9 +9162,9 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.15.1": - version: 8.15.1 - resolution: "ws@npm:8.15.1" +"ws@npm:^8.16.0": + version: 8.18.0 + resolution: "ws@npm:8.18.0" peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ">=5.0.2" @@ -8634,7 +9173,7 @@ __metadata: optional: true utf-8-validate: optional: true - checksum: 8c67365f6e6134278ad635d558bfce466d7ef7543a043baea333aaa430429f0af8a130c0c36e7dd78f918d68167a659ba9b5067330b77c4b279e91533395952b + checksum: 91d4d35bc99ff6df483bdf029b9ea4bfd7af1f16fc91231a96777a63d263e1eabf486e13a2353970efc534f9faa43bdbf9ee76525af22f4752cbc5ebda333975 languageName: node linkType: hard