diff --git a/package.json b/package.json index a3c91c339e..762d1b9f92 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,9 @@ "test:one": "polkadot-dev-run-test --env node" }, "devDependencies": { - "@polkadot/dev": "^0.72.43", + "@polkadot/dev": "^0.73.1", "@polkadot/typegen": "workspace:packages/typegen", - "@types/node": "^18.15.11" + "@types/node": "^18.15.13" }, "resolutions": { "typescript": "^5.0.4" diff --git a/packages/api-augment/package.json b/packages/api-augment/package.json index ef81043fb7..acbc5842cd 100644 --- a/packages/api-augment/package.json +++ b/packages/api-augment/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "API generated augmentation", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-augment#readme", "license": "Apache-2.0", diff --git a/packages/api-base/package.json b/packages/api-base/package.json index cd9856a134..5c586f7131 100644 --- a/packages/api-base/package.json +++ b/packages/api-base/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Interfaces for interacting with contracts and contract ABIs", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-base#readme", "license": "Apache-2.0", diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 6e52e54f6f..98328e6343 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Interfaces for interacting with contracts and contract ABIs", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme", "license": "Apache-2.0", diff --git a/packages/api-contract/src/base/Base.ts b/packages/api-contract/src/base/Base.ts index 0f05beb754..5860ea0a15 100644 --- a/packages/api-contract/src/base/Base.ts +++ b/packages/api-contract/src/base/Base.ts @@ -1,11 +1,11 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiBase } from '@polkadot/api/base'; import type { ApiTypes, DecorateMethod } from '@polkadot/api/types'; import type { WeightV2 } from '@polkadot/types/interfaces'; import type { Registry } from '@polkadot/types/types'; -import { ApiBase } from '@polkadot/api/base'; import { isFunction } from '@polkadot/util'; import { Abi } from '../Abi/index.js'; diff --git a/packages/api-contract/src/base/Blueprint.ts b/packages/api-contract/src/base/Blueprint.ts index 170c3b2aea..6350592836 100644 --- a/packages/api-contract/src/base/Blueprint.ts +++ b/packages/api-contract/src/base/Blueprint.ts @@ -1,18 +1,18 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiBase } from '@polkadot/api/base'; import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types'; import type { ApiTypes, DecorateMethod } from '@polkadot/api/types'; import type { AccountId, EventRecord, Hash } from '@polkadot/types/interfaces'; import type { ISubmittableResult } from '@polkadot/types/types'; +import type { Abi } from '../Abi/index.js'; import type { AbiConstructor, BlueprintOptions } from '../types.js'; import type { MapConstructorExec } from './types.js'; import { SubmittableResult } from '@polkadot/api'; -import { ApiBase } from '@polkadot/api/base'; import { BN_ZERO, isUndefined } from '@polkadot/util'; -import { Abi } from '../Abi/index.js'; import { applyOnEvent } from '../util.js'; import { Base } from './Base.js'; import { Contract } from './Contract.js'; diff --git a/packages/api-contract/src/base/Code.ts b/packages/api-contract/src/base/Code.ts index b41094e03e..69e9660425 100644 --- a/packages/api-contract/src/base/Code.ts +++ b/packages/api-contract/src/base/Code.ts @@ -1,19 +1,19 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiBase } from '@polkadot/api/base'; import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types'; import type { ApiTypes, DecorateMethod } from '@polkadot/api/types'; import type { AccountId, EventRecord } from '@polkadot/types/interfaces'; import type { ISubmittableResult } from '@polkadot/types/types'; import type { Codec } from '@polkadot/types-codec/types'; +import type { Abi } from '../Abi/index.js'; import type { AbiConstructor, BlueprintOptions } from '../types.js'; import type { MapConstructorExec } from './types.js'; import { SubmittableResult } from '@polkadot/api'; -import { ApiBase } from '@polkadot/api/base'; import { BN_ZERO, compactAddLength, isUndefined, isWasm, u8aToU8a } from '@polkadot/util'; -import { Abi } from '../Abi/index.js'; import { applyOnEvent } from '../util.js'; import { Base } from './Base.js'; import { Blueprint } from './Blueprint.js'; diff --git a/packages/api-contract/src/base/Contract.ts b/packages/api-contract/src/base/Contract.ts index ad2bc5d325..9e8aea8b70 100644 --- a/packages/api-contract/src/base/Contract.ts +++ b/packages/api-contract/src/base/Contract.ts @@ -1,21 +1,21 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiBase } from '@polkadot/api/base'; import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types'; import type { ApiTypes, DecorateMethod } from '@polkadot/api/types'; import type { Bytes } from '@polkadot/types'; import type { AccountId, ContractExecResult, EventRecord, Weight, WeightV2 } from '@polkadot/types/interfaces'; import type { ISubmittableResult } from '@polkadot/types/types'; +import type { Abi } from '../Abi/index.js'; import type { AbiMessage, ContractCallOutcome, ContractOptions, DecodedEvent, WeightAll } from '../types.js'; import type { ContractCallResult, ContractCallSend, ContractQuery, ContractTx, MapMessageQuery, MapMessageTx } from './types.js'; import { map } from 'rxjs'; import { SubmittableResult } from '@polkadot/api'; -import { ApiBase } from '@polkadot/api/base'; import { BN, BN_HUNDRED, BN_ONE, BN_ZERO, isUndefined, logger } from '@polkadot/util'; -import { Abi } from '../Abi/index.js'; import { applyOnEvent } from '../util.js'; import { Base } from './Base.js'; import { convertWeight, withMeta } from './util.js'; diff --git a/packages/api-contract/src/base/mock.ts b/packages/api-contract/src/base/mock.ts index d2630d381a..2ca7676628 100644 --- a/packages/api-contract/src/base/mock.ts +++ b/packages/api-contract/src/base/mock.ts @@ -1,7 +1,8 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { ApiBase } from '@polkadot/api/base'; +import type { ApiBase } from '@polkadot/api/base'; + import { TypeRegistry } from '@polkadot/types'; const registry = new TypeRegistry(); diff --git a/packages/api-contract/src/promise/index.ts b/packages/api-contract/src/promise/index.ts index 7ab4f1de33..3c859925c5 100644 --- a/packages/api-contract/src/promise/index.ts +++ b/packages/api-contract/src/promise/index.ts @@ -1,11 +1,12 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { AccountId, Hash } from '@polkadot/types/interfaces'; +import type { Abi } from '../Abi/index.js'; -import { ApiPromise, toPromiseMethod } from '@polkadot/api'; +import { toPromiseMethod } from '@polkadot/api'; -import { Abi } from '../Abi/index.js'; import { Blueprint, Code, Contract } from '../base/index.js'; export class BlueprintPromise extends Blueprint<'promise'> { diff --git a/packages/api-contract/src/rx/index.ts b/packages/api-contract/src/rx/index.ts index e657c2b93f..1987c9c94c 100644 --- a/packages/api-contract/src/rx/index.ts +++ b/packages/api-contract/src/rx/index.ts @@ -1,11 +1,12 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiRx } from '@polkadot/api'; import type { AccountId, Hash } from '@polkadot/types/interfaces'; +import type { Abi } from '../Abi/index.js'; -import { ApiRx, toRxMethod } from '@polkadot/api'; +import { toRxMethod } from '@polkadot/api'; -import { Abi } from '../Abi/index.js'; import { Blueprint, Code, Contract } from '../base/index.js'; export class BlueprintRx extends Blueprint<'rxjs'> { diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index f5ccdbe7ea..f235427d40 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Common functions used across Polkadot, derived from RPC calls and storage queries.", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme", "license": "Apache-2.0", diff --git a/packages/api-derive/src/bounties/bounties.spec.ts b/packages/api-derive/src/bounties/bounties.spec.ts index 624c741517..222f5a7f50 100644 --- a/packages/api-derive/src/bounties/bounties.spec.ts +++ b/packages/api-derive/src/bounties/bounties.spec.ts @@ -3,6 +3,7 @@ /// +import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api-base/types'; import type { Bytes, Option, StorageKey } from '@polkadot/types'; import type { Bounty, BountyIndex, Proposal, ProposalIndex } from '@polkadot/types/interfaces'; @@ -11,8 +12,6 @@ import type { DeriveApi, DeriveCollectiveProposal } from '../types.js'; import { firstValueFrom, of } from 'rxjs'; -import { ApiPromise } from '@polkadot/api'; - import { BountyFactory } from '../test/bountyFactory.js'; import { BytesFactory } from '../test/bytesFactory.js'; import { createApiWithAugmentations } from '../test/helpers.js'; diff --git a/packages/api-derive/src/test/bountyFactory.ts b/packages/api-derive/src/test/bountyFactory.ts index ed3405332e..f777d25fdf 100644 --- a/packages/api-derive/src/test/bountyFactory.ts +++ b/packages/api-derive/src/test/bountyFactory.ts @@ -1,10 +1,10 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { Bounty, BountyIndex } from '@polkadot/types/interfaces'; import type { Codec, Constructor, InterfaceTypes, Registry } from '@polkadot/types/types'; -import { ApiPromise } from '@polkadot/api'; import { Option, StorageKey } from '@polkadot/types'; export class BountyFactory { diff --git a/packages/api/package.json b/packages/api/package.json index b20e882055..2fb7fea270 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Promise and RxJS wrappers around the Polkadot JS RPC", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme", "license": "Apache-2.0", diff --git a/packages/api/src/base/Decorate.ts b/packages/api/src/base/Decorate.ts index 747a8447b6..b6959752ee 100644 --- a/packages/api/src/base/Decorate.ts +++ b/packages/api/src/base/Decorate.ts @@ -4,7 +4,7 @@ import type { Observable } from 'rxjs'; import type { AugmentedCall, DeriveCustom, QueryableCalls } from '@polkadot/api-base/types'; import type { RpcInterface } from '@polkadot/rpc-core/types'; -import type { StorageKey, Text, u64 } from '@polkadot/types'; +import type { Metadata, StorageKey, Text, u64 } from '@polkadot/types'; import type { Call, Hash, RuntimeVersion } from '@polkadot/types/interfaces'; import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types'; import type { StorageEntry } from '@polkadot/types/primitive/types'; @@ -20,7 +20,7 @@ import { BehaviorSubject, combineLatest, from, map, of, switchMap, tap, toArray import { getAvailableDerives } from '@polkadot/api-derive'; import { memo, RpcCore } from '@polkadot/rpc-core'; import { WsProvider } from '@polkadot/rpc-provider'; -import { expandMetadata, GenericExtrinsic, Metadata, typeDefinitions, TypeRegistry } from '@polkadot/types'; +import { expandMetadata, GenericExtrinsic, typeDefinitions, TypeRegistry } from '@polkadot/types'; import { getSpecRuntime } from '@polkadot/types-known'; import { arrayChunk, arrayFlatten, assertReturn, BN, compactStripLength, lazyMethod, lazyMethods, logger, nextTick, objectSpread, stringCamelCase, stringUpperFirst, u8aConcatStrict, u8aToHex } from '@polkadot/util'; import { blake2AsHex } from '@polkadot/util-crypto'; diff --git a/packages/api/src/checkTypes.manual.ts b/packages/api/src/checkTypes.manual.ts index 6c2f9b33af..4d09b99832 100644 --- a/packages/api/src/checkTypes.manual.ts +++ b/packages/api/src/checkTypes.manual.ts @@ -11,13 +11,12 @@ import type { StorageKey } from '@polkadot/types'; import type { AccountId, Balance, DispatchErrorModule, Event, Header, Index } from '@polkadot/types/interfaces'; import type { FrameSystemAccountInfo } from '@polkadot/types/lookup'; import type { AnyTuple, IExtrinsic, IMethod } from '@polkadot/types/types'; +import type { SubmittableResult } from './index.js'; import { ApiPromise } from '@polkadot/api'; import { createTestPairs } from '@polkadot/keyring/testingPairs'; import { createTypeUnsafe, TypeRegistry } from '@polkadot/types/create'; -import { SubmittableResult } from './index.js'; - const registry = new TypeRegistry(); async function calls (api: ApiPromise): Promise { diff --git a/packages/api/src/promise/decorateMethod.ts b/packages/api/src/promise/decorateMethod.ts index 38ff459ef5..011a92255b 100644 --- a/packages/api/src/promise/decorateMethod.ts +++ b/packages/api/src/promise/decorateMethod.ts @@ -1,11 +1,11 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { Observable } from 'rxjs'; +import type { Observable, Subscription } from 'rxjs'; import type { Callback, Codec } from '@polkadot/types/types'; import type { DecorateFn, DecorateMethodOptions, ObsInnerType, StorageEntryPromiseOverloads, UnsubscribePromise, VoidFn } from '../types/index.js'; -import { catchError, EMPTY, Subscription, tap } from 'rxjs'; +import { catchError, EMPTY, tap } from 'rxjs'; import { isFunction, nextTick } from '@polkadot/util'; diff --git a/packages/api/src/rx/Api.ts b/packages/api/src/rx/Api.ts index a627507ee2..4afacc2753 100644 --- a/packages/api/src/rx/Api.ts +++ b/packages/api/src/rx/Api.ts @@ -1,9 +1,10 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Observable } from 'rxjs'; import type { ApiOptions } from '../types/index.js'; -import { from, Observable } from 'rxjs'; +import { from } from 'rxjs'; import { objectSpread } from '@polkadot/util'; diff --git a/packages/api/src/submittable/createClass.ts b/packages/api/src/submittable/createClass.ts index 544028882e..50d847c11b 100644 --- a/packages/api/src/submittable/createClass.ts +++ b/packages/api/src/submittable/createClass.ts @@ -7,6 +7,7 @@ import type { Observable } from 'rxjs'; import type { Address, ApplyExtrinsicResult, Call, Extrinsic, ExtrinsicEra, ExtrinsicStatus, Hash, Header, Index, RuntimeDispatchInfo, SignerPayload } from '@polkadot/types/interfaces'; import type { Callback, Codec, Constructor, ISubmittableResult, SignatureOptions } from '@polkadot/types/types'; import type { Registry } from '@polkadot/types-codec/types'; +import type { ApiBase } from '../base/index.js'; import type { ApiInterfaceRx, ApiTypes, PromiseOrObs, SignerResult } from '../types/index.js'; import type { AddressOrPair, SignerOptions, SubmittableDryRunResult, SubmittableExtrinsic, SubmittablePaymentResult, SubmittableResultResult, SubmittableResultSubscription } from './types.js'; @@ -14,7 +15,6 @@ import { catchError, first, map, mergeMap, of, switchMap, tap } from 'rxjs'; import { isBn, isFunction, isNumber, isString, isU8a, objectSpread } from '@polkadot/util'; -import { ApiBase } from '../base/index.js'; import { filterEvents, isKeyringPair } from '../util/index.js'; import { SubmittableResult } from './Result.js'; diff --git a/packages/api/src/submittable/createSubmittable.ts b/packages/api/src/submittable/createSubmittable.ts index 5b95cf5f93..d74e2fd585 100644 --- a/packages/api/src/submittable/createSubmittable.ts +++ b/packages/api/src/submittable/createSubmittable.ts @@ -3,10 +3,10 @@ import type { Call, Extrinsic } from '@polkadot/types/interfaces'; import type { Registry } from '@polkadot/types-codec/types'; +import type { ApiBase } from '../base/index.js'; import type { ApiInterfaceRx, ApiTypes } from '../types/index.js'; import type { SubmittableExtrinsic } from './types.js'; -import { ApiBase } from '../base/index.js'; import { createClass } from './createClass.js'; type Creator = (extrinsic: Call | Uint8Array | string) => SubmittableExtrinsic; diff --git a/packages/api/src/test/logEvents.ts b/packages/api/src/test/logEvents.ts index cb0f726800..f20b954872 100644 --- a/packages/api/src/test/logEvents.ts +++ b/packages/api/src/test/logEvents.ts @@ -2,8 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { EventRecord } from '@polkadot/types/interfaces'; - -import { SubmittableResult } from '../index.js'; +import type { SubmittableResult } from '../index.js'; // log all events for the transfers, calling done() when finalized export const logEvents = (done: () => Record): (r: SubmittableResult) => void => diff --git a/packages/rpc-augment/package.json b/packages/rpc-augment/package.json index 0ece12ce41..73e93509d1 100644 --- a/packages/rpc-augment/package.json +++ b/packages/rpc-augment/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "RPC generated augmentation", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-augment#readme", "license": "Apache-2.0", diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 82b73577dd..d4f11ab857 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "A JavaScript wrapper for the Polkadot JsonRPC interface", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", "license": "Apache-2.0", diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 26f88fd979..41c04d1ce1 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Transport providers for the API", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme", "license": "Apache-2.0", @@ -35,9 +35,9 @@ "tslib": "^2.5.0" }, "devDependencies": { - "@substrate/connect": "0.7.23" + "@substrate/connect": "0.7.24" }, "optionalDependencies": { - "@substrate/connect": "0.7.23" + "@substrate/connect": "0.7.24" } } diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 1d5359dfd4..68d77e935d 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Type generation scripts", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme", "license": "Apache-2.0", diff --git a/packages/typegen/src/extractChain.ts b/packages/typegen/src/extractChain.ts index 6120fbe81a..cfefe8fb98 100644 --- a/packages/typegen/src/extractChain.ts +++ b/packages/typegen/src/extractChain.ts @@ -4,7 +4,7 @@ // Connects to the local chain and outputs a re-usable calls-only chain definition in the form // export default { chain: 'Development', genesisHash: '0x27b6d5e0f4fdce1c4d20b82406f193acacce0c19e0d2c0e7ca47725c2572a06a', ss58Format: 42, tokenDecimals: 0, tokenSymbol: 'UNIT'; metaCalls: 'bWV0...4AAA==' }; -import process from 'process'; +import process from 'node:process'; import yargs from 'yargs'; import { hideBin } from 'yargs/helpers'; diff --git a/packages/typegen/src/generate/lookup.ts b/packages/typegen/src/generate/lookup.ts index 45db124b51..5155cd88dc 100644 --- a/packages/typegen/src/generate/lookup.ts +++ b/packages/typegen/src/generate/lookup.ts @@ -8,7 +8,7 @@ import type { TypeDef } from '@polkadot/types-create/types'; import type { HexString } from '@polkadot/util/types'; import Handlebars from 'handlebars'; -import path from 'path'; +import path from 'node:path'; import * as defaultDefinitions from '@polkadot/types/interfaces/definitions'; import staticKusama from '@polkadot/types-support/metadata/static-kusama'; diff --git a/packages/typegen/src/generate/tsDef.ts b/packages/typegen/src/generate/tsDef.ts index 934346d2e6..17b6b268f9 100644 --- a/packages/typegen/src/generate/tsDef.ts +++ b/packages/typegen/src/generate/tsDef.ts @@ -7,7 +7,7 @@ import type { ModuleTypes } from '../util/imports.js'; import type { TypeImports } from '../util/index.js'; import Handlebars from 'handlebars'; -import path from 'path'; +import path from 'node:path'; import { TypeRegistry } from '@polkadot/types/create'; import * as defaultDefinitions from '@polkadot/types/interfaces/definitions'; diff --git a/packages/typegen/src/generate/tx.ts b/packages/typegen/src/generate/tx.ts index f0682b7eb0..0c7a521e81 100644 --- a/packages/typegen/src/generate/tx.ts +++ b/packages/typegen/src/generate/tx.ts @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { Metadata } from '@polkadot/types/metadata/Metadata'; +import type { Text } from '@polkadot/types/primitive'; import type { Definitions, Registry } from '@polkadot/types/types'; import type { HexString } from '@polkadot/util/types'; import type { ExtraTypes } from './types.js'; @@ -9,7 +10,6 @@ import type { ExtraTypes } from './types.js'; import Handlebars from 'handlebars'; import * as defaultDefs from '@polkadot/types/interfaces/definitions'; -import { Text } from '@polkadot/types/primitive'; import lookupDefinitions from '@polkadot/types-augment/lookup/definitions'; import { stringCamelCase } from '@polkadot/util'; diff --git a/packages/typegen/src/metadataMd.ts b/packages/typegen/src/metadataMd.ts index cac5cf317d..1a21b259f2 100644 --- a/packages/typegen/src/metadataMd.ts +++ b/packages/typegen/src/metadataMd.ts @@ -3,6 +3,7 @@ import type { MetadataLatest, SiLookupTypeId } from '@polkadot/types/interfaces'; import type { PortableRegistry } from '@polkadot/types/metadata'; +import type { Text } from '@polkadot/types/primitive'; import type { Codec, DefinitionRpcParam } from '@polkadot/types/types'; import type { HexString } from '@polkadot/util/types'; @@ -15,7 +16,6 @@ import { hideBin } from 'yargs/helpers'; import { Metadata, TypeRegistry, Vec } from '@polkadot/types'; import * as definitions from '@polkadot/types/interfaces/definitions'; import { getStorage as getSubstrateStorage } from '@polkadot/types/metadata/decorate/storage/getStorage'; -import { Text } from '@polkadot/types/primitive'; import { unwrapStorageType } from '@polkadot/types/util'; import kusamaMeta, { rpc as kusamaRpc, version as kusamaVer } from '@polkadot/types-support/metadata/static-kusama'; import polkadotMeta, { rpc as polkadotRpc, version as polkadotVer } from '@polkadot/types-support/metadata/static-polkadot'; diff --git a/packages/typegen/src/util/derived.ts b/packages/typegen/src/util/derived.ts index a393aef0ff..71a579e68d 100644 --- a/packages/typegen/src/util/derived.ts +++ b/packages/typegen/src/util/derived.ts @@ -2,12 +2,13 @@ // SPDX-License-Identifier: Apache-2.0 import type { Constructor, Registry } from '@polkadot/types/types'; +import type { UInt } from '@polkadot/types-codec'; import type { TypeDef } from '@polkadot/types-create/types'; import type { ModuleTypes, TypeImports } from './imports.js'; import { GenericAccountId, GenericCall, GenericLookupSource, GenericVote } from '@polkadot/types/generic'; import { AllConvictions } from '@polkadot/types/interfaces/democracy/definitions'; -import { AbstractInt, bool, Compact, Enum, Null, Option, Struct, Tuple, UInt, Vec, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec'; +import { AbstractInt, bool, Compact, Enum, Null, Option, Struct, Tuple, Vec, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec'; import { getTypeDef, TypeDefInfo } from '@polkadot/types-create'; import { isChildClass, stringify } from '@polkadot/util'; diff --git a/packages/typegen/src/util/register.ts b/packages/typegen/src/util/register.ts index 296ed5d574..e4a4332969 100644 --- a/packages/typegen/src/util/register.ts +++ b/packages/typegen/src/util/register.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/typegen authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { TypeRegistry } from '@polkadot/types/create'; +import type { TypeRegistry } from '@polkadot/types/create'; export function registerDefinitions (registry: TypeRegistry, extras: Record }>>): void { Object.values(extras).forEach((def): void => { diff --git a/packages/types-augment/package.json b/packages/types-augment/package.json index 07dd616150..41bb5b187b 100644 --- a/packages/types-augment/package.json +++ b/packages/types-augment/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Types generated augmentation", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-augment#readme", "license": "Apache-2.0", diff --git a/packages/types-codec/package.json b/packages/types-codec/package.json index a859036301..011bb08992 100644 --- a/packages/types-codec/package.json +++ b/packages/types-codec/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Implementation of the SCALE codec", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-codec#readme", "license": "Apache-2.0", diff --git a/packages/types-codec/src/native/Struct.spec.ts b/packages/types-codec/src/native/Struct.spec.ts index 437c9b8367..2f8b9ff876 100644 --- a/packages/types-codec/src/native/Struct.spec.ts +++ b/packages/types-codec/src/native/Struct.spec.ts @@ -5,10 +5,11 @@ /* eslint-disable sort-keys */ +import type { Bool, Option } from '@polkadot/types-codec'; import type { CodecTo } from '@polkadot/types-codec/types'; import { TypeRegistry } from '@polkadot/types'; -import { Bool, Enum, Option, Struct, Text, U32, Vec } from '@polkadot/types-codec'; +import { Enum, Struct, Text, U32, Vec } from '@polkadot/types-codec'; import { TEST_A } from './Struct.data.js'; diff --git a/packages/types-create/package.json b/packages/types-create/package.json index 36b31f37a5..1d79a5a4e0 100644 --- a/packages/types-create/package.json +++ b/packages/types-create/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Type creator helpers", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-create#readme", "license": "Apache-2.0", diff --git a/packages/types-create/src/create/type.ts b/packages/types-create/src/create/type.ts index 7f1749fdc9..1d57448f9f 100644 --- a/packages/types-create/src/create/type.ts +++ b/packages/types-create/src/create/type.ts @@ -1,10 +1,11 @@ // Copyright 2017-2023 @polkadot/types-create authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Bytes } from '@polkadot/types-codec'; import type { Codec, CodecClass, IU8a, Registry } from '@polkadot/types-codec/types'; import type { CreateOptions } from '../types/index.js'; -import { Bytes, Option } from '@polkadot/types-codec'; +import { Option } from '@polkadot/types-codec'; import { isHex, isU8a, u8aEq, u8aToHex, u8aToU8a } from '@polkadot/util'; import { createClassUnsafe } from './class.js'; diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 565983df3a..72ef8d5761 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Known type definitions", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme", "license": "Apache-2.0", diff --git a/packages/types-support/package.json b/packages/types-support/package.json index a2ee6e66f4..78d2f2e352 100644 --- a/packages/types-support/package.json +++ b/packages/types-support/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Supporting files for types, mostly for testing", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-support#readme", "license": "Apache-2.0", diff --git a/packages/types/package.json b/packages/types/package.json index 8b0295e68e..32ac782705 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -3,7 +3,7 @@ "bugs": "https://github.com/polkadot-js/api/issues", "description": "Implementation of the Parity codec", "engines": { - "node": ">=14" + "node": ">=16" }, "homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme", "license": "Apache-2.0", diff --git a/packages/types/src/create/createType.spec.ts b/packages/types/src/create/createType.spec.ts index d46de4ab07..0db8f0f773 100644 --- a/packages/types/src/create/createType.spec.ts +++ b/packages/types/src/create/createType.spec.ts @@ -3,7 +3,9 @@ /// -import { CodecSet, Int } from '@polkadot/types-codec'; +import type { CodecSet } from '@polkadot/types-codec'; + +import { Int } from '@polkadot/types-codec'; import { createClass, TypeRegistry } from './index.js'; diff --git a/packages/types/src/ethereum/AccountId.spec.ts b/packages/types/src/ethereum/AccountId.spec.ts index 4b890ce377..1a260c4b87 100644 --- a/packages/types/src/ethereum/AccountId.spec.ts +++ b/packages/types/src/ethereum/AccountId.spec.ts @@ -5,10 +5,11 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ +import type { GenericEthereumAccountId as AccountId } from './AccountId.js'; + import { Raw } from '@polkadot/types-codec'; import { TypeRegistry } from '../create/index.js'; -import { GenericEthereumAccountId as AccountId } from './AccountId.js'; describe('EthereumAccountId', (): void => { const registry = new TypeRegistry(); diff --git a/packages/types/src/ethereum/LookupSource.spec.ts b/packages/types/src/ethereum/LookupSource.spec.ts index f0d671bbc8..2b71e5d79f 100644 --- a/packages/types/src/ethereum/LookupSource.spec.ts +++ b/packages/types/src/ethereum/LookupSource.spec.ts @@ -3,9 +3,10 @@ /// +import type { GenericAccountIndex as AccountIndex } from '../generic/index.js'; +import type { GenericEthereumAccountId as AccountId, GenericEthereumLookupSource as Address } from './index.js'; + import { TypeRegistry } from '../create/index.js'; -import { GenericAccountIndex as AccountIndex } from '../generic/index.js'; -import { GenericEthereumAccountId as AccountId, GenericEthereumLookupSource as Address } from './index.js'; describe('EthereumLookupSource', (): void => { const registry = new TypeRegistry(); diff --git a/packages/types/src/extrinsic/ExtrinsicPayload.ts b/packages/types/src/extrinsic/ExtrinsicPayload.ts index 2dac9d9961..511a5181c5 100644 --- a/packages/types/src/extrinsic/ExtrinsicPayload.ts +++ b/packages/types/src/extrinsic/ExtrinsicPayload.ts @@ -1,17 +1,18 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Bytes } from '@polkadot/types-codec'; import type { AnyJson, BareOpts, Registry } from '@polkadot/types-codec/types'; import type { HexString } from '@polkadot/util/types'; import type { BlockHash } from '../interfaces/chain/index.js'; import type { ExtrinsicPayloadV4 } from '../interfaces/extrinsics/index.js'; import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber } from '../types/index.js'; +import type { GenericExtrinsicEra } from './ExtrinsicEra.js'; -import { AbstractBase, Bytes } from '@polkadot/types-codec'; +import { AbstractBase } from '@polkadot/types-codec'; import { u8aToHex } from '@polkadot/util'; import { DEFAULT_VERSION } from './constants.js'; -import { GenericExtrinsicEra } from './ExtrinsicEra.js'; interface ExtrinsicPayloadOptions { version?: number; diff --git a/packages/types/src/extrinsic/SignerPayload.ts b/packages/types/src/extrinsic/SignerPayload.ts index 3a9cffa4a9..133aaa47da 100644 --- a/packages/types/src/extrinsic/SignerPayload.ts +++ b/packages/types/src/extrinsic/SignerPayload.ts @@ -1,12 +1,13 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Text, Vec } from '@polkadot/types-codec'; import type { Registry } from '@polkadot/types-codec/types'; import type { HexString } from '@polkadot/util/types'; import type { Address, BlockHash, Call, ExtrinsicEra, Hash } from '../interfaces/index.js'; import type { Codec, ICompact, INumber, IRuntimeVersion, ISignerPayload, SignerPayloadJSON, SignerPayloadRaw } from '../types/index.js'; -import { Option, Struct, Text, Vec } from '@polkadot/types-codec'; +import { Option, Struct } from '@polkadot/types-codec'; import { objectProperty, objectSpread, u8aToHex } from '@polkadot/util'; export interface SignerPayloadType extends Codec { diff --git a/packages/types/src/extrinsic/v4/ExtrinsicPayload.ts b/packages/types/src/extrinsic/v4/ExtrinsicPayload.ts index caa938e4d0..dbe5ed6c22 100644 --- a/packages/types/src/extrinsic/v4/ExtrinsicPayload.ts +++ b/packages/types/src/extrinsic/v4/ExtrinsicPayload.ts @@ -2,13 +2,14 @@ // SPDX-License-Identifier: Apache-2.0 import type { SignOptions } from '@polkadot/keyring/types'; +import type { Bytes } from '@polkadot/types-codec'; import type { Inspect, Registry } from '@polkadot/types-codec/types'; import type { HexString } from '@polkadot/util/types'; import type { BlockHash } from '../../interfaces/chain/index.js'; import type { ExtrinsicEra } from '../../interfaces/extrinsics/index.js'; import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber, IOption } from '../../types/index.js'; -import { Bytes, Enum, Struct } from '@polkadot/types-codec'; +import { Enum, Struct } from '@polkadot/types-codec'; import { objectSpread } from '@polkadot/util'; import { sign } from '../util.js'; diff --git a/packages/types/src/generic/ChainProperties.ts b/packages/types/src/generic/ChainProperties.ts index 978c22536e..b45e565086 100644 --- a/packages/types/src/generic/ChainProperties.ts +++ b/packages/types/src/generic/ChainProperties.ts @@ -1,10 +1,11 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Option, Text, u32, Vec } from '@polkadot/types-codec'; import type { Registry } from '@polkadot/types-codec/types'; import type { Codec } from '../types/index.js'; -import { Json, Option, Text, u32, Vec } from '@polkadot/types-codec'; +import { Json } from '@polkadot/types-codec'; import { isFunction, isNull, isUndefined } from '@polkadot/util'; function createValue (registry: Registry, type: string, value: unknown, asArray = true): Option { diff --git a/packages/types/src/generic/ConsensusEngineId.ts b/packages/types/src/generic/ConsensusEngineId.ts index aac3b68e32..20853ec976 100644 --- a/packages/types/src/generic/ConsensusEngineId.ts +++ b/packages/types/src/generic/ConsensusEngineId.ts @@ -1,10 +1,11 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Bytes, u32 } from '@polkadot/types-codec'; import type { AnyU8a, Registry } from '@polkadot/types-codec/types'; import type { AccountId, RawAuraPreDigest, RawBabePreDigestCompat } from '../interfaces/index.js'; -import { Bytes, U8aFixed, u32 } from '@polkadot/types-codec'; +import { U8aFixed } from '@polkadot/types-codec'; import { BN, bnToU8a, isNumber, stringToU8a, u8aToHex, u8aToString } from '@polkadot/util'; export const CID_AURA = /*#__PURE__*/ stringToU8a('aura'); diff --git a/packages/types/src/generic/LookupSource.spec.ts b/packages/types/src/generic/LookupSource.spec.ts index f29a292e84..f5a214566b 100644 --- a/packages/types/src/generic/LookupSource.spec.ts +++ b/packages/types/src/generic/LookupSource.spec.ts @@ -3,8 +3,9 @@ /// +import type { GenericAccountId as AccountId, GenericAccountIndex as AccountIndex, GenericLookupSource as LookupSource } from './index.js'; + import { TypeRegistry } from '../create/index.js'; -import { GenericAccountId as AccountId, GenericAccountIndex as AccountIndex, GenericLookupSource as LookupSource } from './index.js'; describe('LookupSource', (): void => { const registry = new TypeRegistry(); diff --git a/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts b/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts index d20276ad30..1e806170c9 100644 --- a/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts +++ b/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts @@ -1,13 +1,13 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { Option, Text, Type, Vec } from '@polkadot/types-codec'; +import type { Option, Text, Type, u32, Vec } from '@polkadot/types-codec'; import type { AnyString, LookupString, Registry } from '@polkadot/types-codec/types'; import type { ILookup, TypeDef } from '@polkadot/types-create/types'; import type { PortableType } from '../../interfaces/metadata/index.js'; import type { SiField, SiLookupTypeId, SiType, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '../../interfaces/scaleInfo/index.js'; -import { sanitize, Struct, u32 } from '@polkadot/types-codec'; +import { sanitize, Struct } from '@polkadot/types-codec'; import { getTypeDef, TypeDefInfo, withTypeString } from '@polkadot/types-create'; import { assertUnreachable, isNumber, isString, logger, objectSpread, stringCamelCase, stringify, stringPascalCase } from '@polkadot/util'; diff --git a/packages/types/src/metadata/decorate/storage/createFunction.ts b/packages/types/src/metadata/decorate/storage/createFunction.ts index d007dd46e6..dbe511c03d 100644 --- a/packages/types/src/metadata/decorate/storage/createFunction.ts +++ b/packages/types/src/metadata/decorate/storage/createFunction.ts @@ -3,6 +3,7 @@ import type { ICompact, Inspect, INumber } from '@polkadot/types-codec/types'; import type { StorageEntryMetadataLatest, StorageHasher } from '../../../interfaces/metadata/index.js'; +import type { StorageKey } from '../../../primitive/index.js'; import type { StorageEntry, StorageEntryIterator } from '../../../primitive/types.js'; import type { Registry } from '../../../types/index.js'; @@ -10,7 +11,6 @@ import { Raw } from '@polkadot/types-codec'; import { compactAddLength, compactStripLength, isUndefined, objectSpread, stringCamelCase, u8aConcat, u8aToU8a } from '@polkadot/util'; import { xxhashAsU8a } from '@polkadot/util-crypto'; -import { StorageKey } from '../../../primitive/index.js'; import { getSiName } from '../../util/index.js'; import { getHasher } from './getHasher.js'; diff --git a/packages/types/src/metadata/util/toCallsOnly.ts b/packages/types/src/metadata/util/toCallsOnly.ts index 9d2f34b21a..cecb5f9e33 100644 --- a/packages/types/src/metadata/util/toCallsOnly.ts +++ b/packages/types/src/metadata/util/toCallsOnly.ts @@ -1,10 +1,10 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Option, Text, u8 } from '@polkadot/types-codec'; import type { AnyJson, Registry } from '@polkadot/types-codec/types'; import type { MetadataLatest, PalletCallMetadataLatest } from '../../interfaces/metadata/index.js'; -import { Option, Text, u8 } from '@polkadot/types-codec'; import { objectSpread } from '@polkadot/util'; interface ModuleMetadataTrimmed { diff --git a/packages/types/src/primitive/Data.ts b/packages/types/src/primitive/Data.ts index 33c1af40f0..f605617358 100644 --- a/packages/types/src/primitive/Data.ts +++ b/packages/types/src/primitive/Data.ts @@ -1,10 +1,11 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Bytes } from '@polkadot/types-codec'; import type { IU8a, Registry } from '@polkadot/types-codec/types'; import type { H256 } from '../interfaces/runtime/index.js'; -import { Bytes, Enum } from '@polkadot/types-codec'; +import { Enum } from '@polkadot/types-codec'; import { isString, isU8a, u8aToU8a } from '@polkadot/util'; /** @internal */ diff --git a/yarn.lock b/yarn.lock index 5b48294425..94233cdc16 100644 --- a/yarn.lock +++ b/yarn.lock @@ -452,34 +452,34 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/dev-test@npm:^0.72.43": - version: 0.72.43 - resolution: "@polkadot/dev-test@npm:0.72.43" +"@polkadot/dev-test@npm:^0.73.1": + version: 0.73.1 + resolution: "@polkadot/dev-test@npm:0.73.1" dependencies: jsdom: ^21.1.1 tslib: ^2.5.0 - checksum: c7675d4338bc7dd77a7b281e50f50a8c667aea516669b3b3ac522afbecbc4689be4b13273642c02aa7277eb67d0843646da6790c7310074d640d98dc30d067cf + checksum: b77723ea9cc92b0f0276a3c5e32f036b5838a0f1bdaf57e7adfb144cb24fa668852dda32a5a034332b24184327ceb5eddbd546830cc88f91cd3cab8cdbf1d288 languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.72.43": - version: 0.72.43 - resolution: "@polkadot/dev-ts@npm:0.72.43" +"@polkadot/dev-ts@npm:^0.73.1": + version: 0.73.1 + resolution: "@polkadot/dev-ts@npm:0.73.1" dependencies: json5: ^2.2.3 tslib: ^2.5.0 typescript: ^5.0.4 - checksum: 848c08c83f1e599322cd6afdd5562d4f51f82573cc2d12cb0a6b49554eee11d264ffb58d4b2a0359643d0854033877f2c020a2713709e360775375181c49bd25 + checksum: a594a30d6d552d80e6932f3b3576a1e1c8c4ac7c49b3f9470575dcdfe27b35d07f89b4fd83e94d822638f85ebd5b5299815b3a6241f5f59e38979be75807d5e5 languageName: node linkType: hard -"@polkadot/dev@npm:^0.72.43": - version: 0.72.43 - resolution: "@polkadot/dev@npm:0.72.43" +"@polkadot/dev@npm:^0.73.1": + version: 0.73.1 + resolution: "@polkadot/dev@npm:0.73.1" dependencies: "@eslint/js": ^8.38.0 - "@polkadot/dev-test": ^0.72.43 - "@polkadot/dev-ts": ^0.72.43 + "@polkadot/dev-test": ^0.73.1 + "@polkadot/dev-ts": ^0.73.1 "@rollup/plugin-alias": ^5.0.0 "@rollup/plugin-commonjs": ^24.1.0 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -487,9 +487,10 @@ __metadata: "@rollup/plugin-json": ^6.0.0 "@rollup/plugin-node-resolve": ^15.0.2 "@rushstack/eslint-patch": ^1.2.0 - "@tsconfig/strictest": ^2.0.0 - "@typescript-eslint/eslint-plugin": ^5.58.0 - "@typescript-eslint/parser": ^5.58.0 + "@tsconfig/esm": ^1.0.3 + "@tsconfig/strictest": ^2.0.1 + "@typescript-eslint/eslint-plugin": ^5.59.0 + "@typescript-eslint/parser": ^5.59.0 eslint: ^8.38.0 eslint-config-standard: ^17.0.0 eslint-import-resolver-node: ^0.3.7 @@ -507,13 +508,13 @@ __metadata: gh-pages: ^5.0.0 gh-release: ^7.0.2 madge: ^6.0.0 - rollup: ^3.20.2 + rollup: ^3.20.7 rollup-plugin-cleanup: ^3.2.1 tslib: ^2.5.0 typescript: ^5.0.4 - webpack: ^5.79.0 + webpack: ^5.80.0 webpack-cli: ^5.0.1 - webpack-dev-server: ^4.13.2 + webpack-dev-server: ^4.13.3 webpack-merge: ^5.8.0 webpack-subresource-integrity: ^5.2.0-rc.1 yargs: ^17.7.1 @@ -541,7 +542,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 77de56882855209cc02b9f5b4e37faea5971c9652486d596959703863923aebca4088aeac12fb03471c0c3fdf8715f4298e9529e70819851e3eb3f0c2cb1f0a3 + checksum: 36040232f4be9e8e5257f2df6cfbc18316cc9d44a1f3e87c8a12cc603bef8f836e1fc4d45cee7e6b4681f408c6706f01c7397d1f7acbc56ca9dac0f90c0bfe34 languageName: node linkType: hard @@ -608,7 +609,7 @@ __metadata: "@polkadot/x-fetch": ^11.1.3 "@polkadot/x-global": ^11.1.3 "@polkadot/x-ws": ^11.1.3 - "@substrate/connect": 0.7.23 + "@substrate/connect": 0.7.24 eventemitter3: ^5.0.0 mock-socket: ^9.2.1 nock: ^13.3.0 @@ -1051,14 +1052,14 @@ __metadata: languageName: node linkType: hard -"@substrate/connect@npm:0.7.23": - version: 0.7.23 - resolution: "@substrate/connect@npm:0.7.23" +"@substrate/connect@npm:0.7.24": + version: 0.7.24 + resolution: "@substrate/connect@npm:0.7.24" dependencies: "@substrate/connect-extension-protocol": ^1.0.1 eventemitter3: ^4.0.7 - smoldot: 1.0.1 - checksum: 74ee49494455149f20427fdc0d2cdc8af4bc572e5a581f21109e47bacfc7cebaf77694dd8d5d4ef2d8ef4756b198fe4edd08d9bc8b6e3b647b085cbcac5b9fa2 + smoldot: 1.0.2 + checksum: ffede7dd5cdc7512f5a6f97d4ff2655dc294c78d21856aa9d215e39b84c623ebfda3557d970652eba7c4ac4e02eb765cf7140b17345aface1f700af200e0bf2d languageName: node linkType: hard @@ -1085,10 +1086,17 @@ __metadata: languageName: node linkType: hard -"@tsconfig/strictest@npm:^2.0.0": - version: 2.0.0 - resolution: "@tsconfig/strictest@npm:2.0.0" - checksum: a21d79fb3eb587e3e61b5bf3e4f52bc2a4f471ca4f3b1effe93849b97a36723cecfbef8181bac2c68cba9b44ef6b220cbe64194d17826622402de144383440f3 +"@tsconfig/esm@npm:^1.0.3": + version: 1.0.3 + resolution: "@tsconfig/esm@npm:1.0.3" + checksum: 07216f491c2603fbd7a5c214f39a2efa183c810dabb77d282ae930bab62f99ff7dbb2ddd7372e5e56ce72e8fb55eb92e3ee5dd6a46c0a7f980c1b59c402fa60b + languageName: node + linkType: hard + +"@tsconfig/strictest@npm:^2.0.1": + version: 2.0.1 + resolution: "@tsconfig/strictest@npm:2.0.1" + checksum: 3a9b913e06c20fee0a002fc22a925370525dd917853dee2e0082de763b10a61a69d72d60d02e243629da94b3e0b98843469a3b063c0ab2a5d6716183867dd114 languageName: node linkType: hard @@ -1228,10 +1236,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^18.15.11": - version: 18.15.11 - resolution: "@types/node@npm:18.15.11" - checksum: 977b4ad04708897ff0eb049ecf82246d210939c82461922d20f7d2dcfd81bbc661582ba3af28869210f7e8b1934529dcd46bff7d448551400f9d48b9d3bddec3 +"@types/node@npm:*, @types/node@npm:^18.15.13": + version: 18.15.13 + resolution: "@types/node@npm:18.15.13" + checksum: 79cc5a2b5f98e8973061a4260a781425efd39161a0e117a69cd089603964816c1a14025e1387b4590c8e82d05133b7b4154fa53a7dffb3877890a66145e76515 languageName: node linkType: hard @@ -1341,14 +1349,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.58.0" +"@typescript-eslint/eslint-plugin@npm:^5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.59.0" dependencies: "@eslint-community/regexpp": ^4.4.0 - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/type-utils": 5.58.0 - "@typescript-eslint/utils": 5.58.0 + "@typescript-eslint/scope-manager": 5.59.0 + "@typescript-eslint/type-utils": 5.59.0 + "@typescript-eslint/utils": 5.59.0 debug: ^4.3.4 grapheme-splitter: ^1.0.4 ignore: ^5.2.0 @@ -1361,43 +1369,43 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: e5d76d43c466ebd4b552e3307eff72ab5ae8a0c09a1d35fa13b62769ac3336df94d9281728ab5aafd2c14a0a644133583edcd708fce60a9a82df1db3ca3b8e14 + checksum: 3b2582fe7baa9bf7733be79c6e35a390806f91c8d5ba5b604f71cb3635fb36abc975b926195c3ef5c6a4018bb94f66e009d727e3af2ce8b92c96aa3ee9ed194a languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/parser@npm:5.58.0" +"@typescript-eslint/parser@npm:^5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/parser@npm:5.59.0" dependencies: - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/typescript-estree": 5.58.0 + "@typescript-eslint/scope-manager": 5.59.0 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/typescript-estree": 5.59.0 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 38681da48a40132c0538579c818ceef9ba2793ab8f79236c3f64980ba1649bb87cb367cd79d37bf2982b8bfbc28f91846b8676f9bd333e8b691c9befffd8874a + checksum: 1a442d6b776fc1dca4fe104bac77eae0a59b807ba11cef00dec8f5dbbc0fb4e5fc10519eac03dd94d52e4dd6d814800d0e5c0a3bd43eefce80d829c65ba47ad0 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/scope-manager@npm:5.58.0" +"@typescript-eslint/scope-manager@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/scope-manager@npm:5.59.0" dependencies: - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/visitor-keys": 5.58.0 - checksum: f0d3df5cc3c461fe63ef89ad886b53c239cc7c1d9061d83d8a9d9c8e087e5501eac84bebff8a954728c17ccea191f235686373d54d2b8b6370af2bcf2b18e062 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/visitor-keys": 5.59.0 + checksum: dd89cd34291f7674edcbe9628748faa61dbf7199f9776586167e81fd91b93ba3a7f0ddd493c559c0dbb805b58629858fae648d56550e8ac5330b2ed1802b0178 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/type-utils@npm:5.58.0" +"@typescript-eslint/type-utils@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/type-utils@npm:5.59.0" dependencies: - "@typescript-eslint/typescript-estree": 5.58.0 - "@typescript-eslint/utils": 5.58.0 + "@typescript-eslint/typescript-estree": 5.59.0 + "@typescript-eslint/utils": 5.59.0 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -1405,7 +1413,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 803f24daed185152bf86952d4acebb5ea18ff03db5f28750368edf76fdea46b4b0f8803ae0b61c0282b47181c9977113457b16e33d5d2cb33b13855f55c5e5b2 + checksum: 811981ea117808315fe37ce8489ae6e20979f588cf0fdef2bd969d58c505ececff0bccf7957f3b178933028433ce28764ebc9fea32a35a4c2da81b5b1e98b454 languageName: node linkType: hard @@ -1416,19 +1424,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/types@npm:5.58.0" - checksum: 8622a73d73220c4a7111537825f488c0271272032a1d4e129dc722bc6e8b3ec84f64469b2ca3b8dae7da3a9c18953ce1449af51f5f757dad60835eb579ad1d2c +"@typescript-eslint/types@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/types@npm:5.59.0" + checksum: 5dc608a867b07b4262a236a264a65e894f841388b3aba461c4c1a30d76a2c3aed0c6a1e3d1ea2f64cce55e783091bafb826bf01a0ef83258820af63da860addf languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.58.0, @typescript-eslint/typescript-estree@npm:^5.13.0": - version: 5.58.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.58.0" +"@typescript-eslint/typescript-estree@npm:5.59.0, @typescript-eslint/typescript-estree@npm:^5.13.0": + version: 5.59.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.59.0" dependencies: - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/visitor-keys": 5.58.0 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/visitor-keys": 5.59.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -1437,7 +1445,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 51b668ec858db0c040a71dff526273945cee4ba5a9b240528d503d02526685882d900cf071c6636a4d9061ed3fd4a7274f7f1a23fba55c4b48b143344b4009c7 + checksum: d80f2766e2830dc830b9f4f1b9e744e1e7a285ebe72babdf0970f75bfe26cb832c6623bb836a53c48f1e707069d1e407ac1ea095bd583807007f713ba6e2e0e1 languageName: node linkType: hard @@ -1459,21 +1467,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.58.0, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": - version: 5.58.0 - resolution: "@typescript-eslint/utils@npm:5.58.0" +"@typescript-eslint/utils@npm:5.59.0, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": + version: 5.59.0 + resolution: "@typescript-eslint/utils@npm:5.59.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/typescript-estree": 5.58.0 + "@typescript-eslint/scope-manager": 5.59.0 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/typescript-estree": 5.59.0 eslint-scope: ^5.1.1 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: c618ae67963ecf96b1492c09afaeb363f542f0d6780bcac4af3c26034e3b20034666b2d523aa94821df813aafb57a0b150a7d5c2224fe8257452ad1de2237a58 + checksum: 228318df02f2381f859af184cafa5de4146a2e1518a5062444bf9bd7d468e058f9bd93a3e46cc4683d9bd02159648f416e5c7c539901ca16142456cae3c1af5f languageName: node linkType: hard @@ -1487,164 +1495,164 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.58.0" +"@typescript-eslint/visitor-keys@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.59.0" dependencies: - "@typescript-eslint/types": 5.58.0 + "@typescript-eslint/types": 5.59.0 eslint-visitor-keys: ^3.3.0 - checksum: ab2d1f37660559954c840429ef78bbf71834063557e3e68e435005b4987970b9356fdf217ead53f7a57f66f5488dc478062c5c44bf17053a8bf041733539b98f + checksum: e21656de02e221a27a5fe9f7fd34a1ca28530e47675134425f84fd0d1f276695fe39e35120837a491b02255d49aa2fd871e2c858ecccc66c687db972d057bd1c languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/ast@npm:1.11.1" +"@webassemblyjs/ast@npm:1.11.5, @webassemblyjs/ast@npm:^1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/ast@npm:1.11.5" dependencies: - "@webassemblyjs/helper-numbers": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - checksum: 1eee1534adebeece635362f8e834ae03e389281972611408d64be7895fc49f48f98fddbbb5339bf8a72cb101bcb066e8bca3ca1bf1ef47dadf89def0395a8d87 + "@webassemblyjs/helper-numbers": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + checksum: 7df16d8d4364d40e2506776330f8114fddc6494e6e18e8d5ec386312a0881a564cef136b0a74cc4a6ba284e2ff6bad890ddc029a0ba6cf45cc15186e638db118 languageName: node linkType: hard -"@webassemblyjs/floating-point-hex-parser@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.11.1" - checksum: b8efc6fa08e4787b7f8e682182d84dfdf8da9d9c77cae5d293818bc4a55c1f419a87fa265ab85252b3e6c1fd323d799efea68d825d341a7c365c64bc14750e97 +"@webassemblyjs/floating-point-hex-parser@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.11.5" + checksum: a6f35e3035a1ec4e446fa43da01539f3ed7e0f4b53d152f36ff34be1b63b08d86c4b09b6af375c95472a75f0c37b3b98b07199d157e767b8b3274e7a3962890c languageName: node linkType: hard -"@webassemblyjs/helper-api-error@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-api-error@npm:1.11.1" - checksum: 0792813f0ed4a0e5ee0750e8b5d0c631f08e927f4bdfdd9fe9105dc410c786850b8c61bff7f9f515fdfb149903bec3c976a1310573a4c6866a94d49bc7271959 +"@webassemblyjs/helper-api-error@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-api-error@npm:1.11.5" + checksum: 717a6ffb3283bd24a7b74710c9bd3d71ec331a26c15446441af19fae9f087e36acb8dcf25b900b6897a1d1eff838e463fe678d66281e7eccee9a3ac0e3447372 languageName: node linkType: hard -"@webassemblyjs/helper-buffer@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-buffer@npm:1.11.1" - checksum: a337ee44b45590c3a30db5a8b7b68a717526cf967ada9f10253995294dbd70a58b2da2165222e0b9830cd4fc6e4c833bf441a721128d1fe2e9a7ab26b36003ce +"@webassemblyjs/helper-buffer@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-buffer@npm:1.11.5" + checksum: 2c0925b1c3c9b115c183b88d9cf1a12e87fa4fc83ef985aa2a65d72cda543eba6b73b378d231b4feb810b17d3aa6cd297bd603199854346f8a50e3458d7ebbc0 languageName: node linkType: hard -"@webassemblyjs/helper-numbers@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-numbers@npm:1.11.1" +"@webassemblyjs/helper-numbers@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-numbers@npm:1.11.5" dependencies: - "@webassemblyjs/floating-point-hex-parser": 1.11.1 - "@webassemblyjs/helper-api-error": 1.11.1 + "@webassemblyjs/floating-point-hex-parser": 1.11.5 + "@webassemblyjs/helper-api-error": 1.11.5 "@xtuc/long": 4.2.2 - checksum: 44d2905dac2f14d1e9b5765cf1063a0fa3d57295c6d8930f6c59a36462afecc6e763e8a110b97b342a0f13376166c5d41aa928e6ced92e2f06b071fd0db59d3a + checksum: 49c8bbf561d4df38009e38e6357c396f4454773fd31a03579a8e050a2b28053f5c47f675f00a37f79a65082c938c2159fa603049688ac01b1bafdb472c21110c languageName: node linkType: hard -"@webassemblyjs/helper-wasm-bytecode@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.11.1" - checksum: eac400113127832c88f5826bcc3ad1c0db9b3dbd4c51a723cfdb16af6bfcbceb608170fdaac0ab7731a7e18b291be7af68a47fcdb41cfe0260c10857e7413d97 +"@webassemblyjs/helper-wasm-bytecode@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.11.5" + checksum: 4e868de92587e131a7f22bc4eb44eee60c178d4c2c3eeabcb973b4eac73ec477f25d5f838394797265dbe4b600e781c6e150c762a45f249b94bf0711e73409a7 languageName: node linkType: hard -"@webassemblyjs/helper-wasm-section@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-wasm-section@npm:1.11.1" +"@webassemblyjs/helper-wasm-section@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-wasm-section@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-buffer": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/wasm-gen": 1.11.1 - checksum: 617696cfe8ecaf0532763162aaf748eb69096fb27950219bb87686c6b2e66e11cd0614d95d319d0ab1904bc14ebe4e29068b12c3e7c5e020281379741fe4bedf + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-buffer": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/wasm-gen": 1.11.5 + checksum: 1752d7e0dbbf236a5cdc2257e1626a3562bfb0a7d2e967dc5e798c73088f18f20a991491565e2ffee61615f08035b4760e7aa080380bb60b86b393b6eb7486ae languageName: node linkType: hard -"@webassemblyjs/ieee754@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/ieee754@npm:1.11.1" +"@webassemblyjs/ieee754@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/ieee754@npm:1.11.5" dependencies: "@xtuc/ieee754": ^1.2.0 - checksum: 23a0ac02a50f244471631802798a816524df17e56b1ef929f0c73e3cde70eaf105a24130105c60aff9d64a24ce3b640dad443d6f86e5967f922943a7115022ec + checksum: 68a855a3e3dd488fff4d2d100e491cb6ac07f728c9432f3216b8e1bb0a374b397b0a5f58fd3b71195e525d49c0c827db15c18897e1c220c629e759b19978e64c languageName: node linkType: hard -"@webassemblyjs/leb128@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/leb128@npm:1.11.1" +"@webassemblyjs/leb128@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/leb128@npm:1.11.5" dependencies: "@xtuc/long": 4.2.2 - checksum: 33ccc4ade2f24de07bf31690844d0b1ad224304ee2062b0e464a610b0209c79e0b3009ac190efe0e6bd568b0d1578d7c3047fc1f9d0197c92fc061f56224ff4a + checksum: 555314708b6615c203c31a9dd810141c6de728e0043c2169ca69905ccf4d8603102994cb74ac5d057ac229bfc2be40f69cad2edd134ef2b909ef694eefe7bba6 languageName: node linkType: hard -"@webassemblyjs/utf8@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/utf8@npm:1.11.1" - checksum: 972c5cfc769d7af79313a6bfb96517253a270a4bf0c33ba486aa43cac43917184fb35e51dfc9e6b5601548cd5931479a42e42c89a13bb591ffabebf30c8a6a0b +"@webassemblyjs/utf8@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/utf8@npm:1.11.5" + checksum: d8f67a5650d9bf26810da76e72d0547211a44f30f35657953f547e08185facb39ff326920bddec96d35b5cc65e4e66b1f23c6461847e2f93fad2a60b0bb20211 languageName: node linkType: hard -"@webassemblyjs/wasm-edit@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-edit@npm:1.11.1" +"@webassemblyjs/wasm-edit@npm:^1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-edit@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-buffer": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/helper-wasm-section": 1.11.1 - "@webassemblyjs/wasm-gen": 1.11.1 - "@webassemblyjs/wasm-opt": 1.11.1 - "@webassemblyjs/wasm-parser": 1.11.1 - "@webassemblyjs/wast-printer": 1.11.1 - checksum: 6d7d9efaec1227e7ef7585a5d7ff0be5f329f7c1c6b6c0e906b18ed2e9a28792a5635e450aca2d136770d0207225f204eff70a4b8fd879d3ac79e1dcc26dbeb9 + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-buffer": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/helper-wasm-section": 1.11.5 + "@webassemblyjs/wasm-gen": 1.11.5 + "@webassemblyjs/wasm-opt": 1.11.5 + "@webassemblyjs/wasm-parser": 1.11.5 + "@webassemblyjs/wast-printer": 1.11.5 + checksum: 790142a1e282848201c7b68860aabc0141ee44a98a62c3f0af05f8de3cc69b439c3af54ae9a06acbbfbf7fd192b30ee97fb31eda3e08973cae373534ad2135c7 languageName: node linkType: hard -"@webassemblyjs/wasm-gen@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-gen@npm:1.11.1" +"@webassemblyjs/wasm-gen@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-gen@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/ieee754": 1.11.1 - "@webassemblyjs/leb128": 1.11.1 - "@webassemblyjs/utf8": 1.11.1 - checksum: 1f6921e640293bf99fb16b21e09acb59b340a79f986c8f979853a0ae9f0b58557534b81e02ea2b4ef11e929d946708533fd0693c7f3712924128fdafd6465f5b + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/ieee754": 1.11.5 + "@webassemblyjs/leb128": 1.11.5 + "@webassemblyjs/utf8": 1.11.5 + checksum: 0122df4e5ce52d873f19f34b3ebe8237072e9e6a69667cbec42a2d98ba49f85ea2ed3d935195e6a7ad4f64b9dd7da42883f057fe1103d2062bc90f3428b063fe languageName: node linkType: hard -"@webassemblyjs/wasm-opt@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-opt@npm:1.11.1" +"@webassemblyjs/wasm-opt@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-opt@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-buffer": 1.11.1 - "@webassemblyjs/wasm-gen": 1.11.1 - "@webassemblyjs/wasm-parser": 1.11.1 - checksum: 21586883a20009e2b20feb67bdc451bbc6942252e038aae4c3a08e6f67b6bae0f5f88f20bfc7bd0452db5000bacaf5ab42b98cf9aa034a6c70e9fc616142e1db + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-buffer": 1.11.5 + "@webassemblyjs/wasm-gen": 1.11.5 + "@webassemblyjs/wasm-parser": 1.11.5 + checksum: f9416b0dece071e308616fb30e560f0c3c53b5bb23cc4409781b8c47d31e935b27e9a248c65aee9dd9136271e37a4c5cb0971b27e5adf623020fbb298423fe55 languageName: node linkType: hard -"@webassemblyjs/wasm-parser@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-parser@npm:1.11.1" +"@webassemblyjs/wasm-parser@npm:1.11.5, @webassemblyjs/wasm-parser@npm:^1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-parser@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-api-error": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/ieee754": 1.11.1 - "@webassemblyjs/leb128": 1.11.1 - "@webassemblyjs/utf8": 1.11.1 - checksum: 1521644065c360e7b27fad9f4bb2df1802d134dd62937fa1f601a1975cde56bc31a57b6e26408b9ee0228626ff3ba1131ae6f74ffb7d718415b6528c5a6dbfc2 + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-api-error": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/ieee754": 1.11.5 + "@webassemblyjs/leb128": 1.11.5 + "@webassemblyjs/utf8": 1.11.5 + checksum: 094b3df07532cd2a1db91710622cbaf3d7467a361f9f73dc564999385a472fcc08497d8ccf9294bd7c8813d5e2056c06a81e032abb60520168899605fde9b12c languageName: node linkType: hard -"@webassemblyjs/wast-printer@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wast-printer@npm:1.11.1" +"@webassemblyjs/wast-printer@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wast-printer@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 + "@webassemblyjs/ast": 1.11.5 "@xtuc/long": 4.2.2 - checksum: f15ae4c2441b979a3b4fce78f3d83472fb22350c6dc3fd34bfe7c3da108e0b2360718734d961bba20e7716cb8578e964b870da55b035e209e50ec9db0378a3f7 + checksum: c2995224c56b403be7fce7afbb3ad6b2ceadce07a47b28bce745eabb0435fa363c0180bca907d28703ece02422d0de219e689253b55de288c79b8f92416c1d71 languageName: node linkType: hard @@ -3276,13 +3284,13 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.10.0, enhanced-resolve@npm:^5.8.3": - version: 5.12.0 - resolution: "enhanced-resolve@npm:5.12.0" +"enhanced-resolve@npm:^5.13.0, enhanced-resolve@npm:^5.8.3": + version: 5.13.0 + resolution: "enhanced-resolve@npm:5.13.0" dependencies: graceful-fs: ^4.2.4 tapable: ^2.2.0 - checksum: bf3f787facaf4ce3439bef59d148646344e372bef5557f0d37ea8aa02c51f50a925cd1f07b8d338f18992c29f544ec235a8c64bcdb56030196c48832a5494174 + checksum: 76d6844c4393d76beed5b3ce6cf5a98dee3ad5c84a9887f49ccde1224e3b7af201dfbd5a57ebf2b49f623b74883df262d50ff480d3cc02fc2881fc58b84e1bbe languageName: node linkType: hard @@ -7340,9 +7348,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"rollup@npm:^3.20.2": - version: 3.20.2 - resolution: "rollup@npm:3.20.2" +"rollup@npm:^3.20.7": + version: 3.20.7 + resolution: "rollup@npm:3.20.7" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -7350,7 +7358,7 @@ fsevents@~2.3.2: optional: true bin: rollup: dist/bin/rollup - checksum: 34b0932839b7c2a5d1742fb21ce95a47e0b49a0849f4abee2dccf25833187aa7babb898ca90d4fc761cffa4102b9ed0ac6ad7f6f6b96c8b8e2d67305abc5da65 + checksum: 443f26aa6e42b94b4b137fbc3a07c78254cafc4ae53e0547bf5a94337b0658ca100d4e1c7e24870e399e5c7068a419cc0d367bfd35f4b1552d0b5e6d3482c517 languageName: node linkType: hard @@ -7358,9 +7366,9 @@ fsevents@~2.3.2: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.72.43 + "@polkadot/dev": ^0.73.1 "@polkadot/typegen": "workspace:packages/typegen" - "@types/node": ^18.15.11 + "@types/node": ^18.15.13 languageName: unknown linkType: soft @@ -7455,14 +7463,14 @@ fsevents@~2.3.2: languageName: node linkType: hard -"schema-utils@npm:^3.1.0, schema-utils@npm:^3.1.1": - version: 3.1.1 - resolution: "schema-utils@npm:3.1.1" +"schema-utils@npm:^3.1.1, schema-utils@npm:^3.1.2": + version: 3.1.2 + resolution: "schema-utils@npm:3.1.2" dependencies: "@types/json-schema": ^7.0.8 ajv: ^6.12.5 ajv-keywords: ^3.5.2 - checksum: fb73f3d759d43ba033c877628fe9751620a26879f6301d3dbeeb48cf2a65baec5cdf99da65d1bf3b4ff5444b2e59cbe4f81c2456b5e0d2ba7d7fd4aed5da29ce + checksum: 39683edfe3beff018cdb1ae4fa296fc55cea13a080aa2b4d9351895cd64b22ba4d87e2e548c2a2ac1bc76e60980670adb0f413a58104479f1a0c12e5663cb8ca languageName: node linkType: hard @@ -7703,13 +7711,13 @@ fsevents@~2.3.2: languageName: node linkType: hard -"smoldot@npm:1.0.1": - version: 1.0.1 - resolution: "smoldot@npm:1.0.1" +"smoldot@npm:1.0.2": + version: 1.0.2 + resolution: "smoldot@npm:1.0.2" dependencies: pako: ^2.0.4 ws: ^8.8.1 - checksum: 161066f2f2aabb98c31ef84aa21a1e7c9301d391cc99c429eb589a31e4d4f848d9c51fe521ce2d7f977a9cf81d8e48d101e437e751479063e92e0d6e8ff30f47 + checksum: 2e069c49e520e72c63d16d94c51a074a6f90ae598a2299afbf5b90c3a0ba607e1640bf51d8e2a3b06dc7843e571c96b5838209a1d9c9d0dae66c8693fa0369c9 languageName: node linkType: hard @@ -8704,9 +8712,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack-dev-server@npm:^4.13.2": - version: 4.13.2 - resolution: "webpack-dev-server@npm:4.13.2" +"webpack-dev-server@npm:^4.13.3": + version: 4.13.3 + resolution: "webpack-dev-server@npm:4.13.3" dependencies: "@types/bonjour": ^3.5.9 "@types/connect-history-api-fallback": ^1.3.5 @@ -8747,7 +8755,7 @@ fsevents@~2.3.2: optional: true bin: webpack-dev-server: bin/webpack-dev-server.js - checksum: 9bf573abf05b0e0f1e8219820f6264e25a0f8ee6aebed3c0d0449c24a37f88b575972e0a2bec426112ee37d48c8f5090e7754aa1873206d3c9b6344a54718232 + checksum: d019844d3bc384676921afadfbd0a95fd06e475f2d43604789a4a8f42f79a8fb37e745f15f47f352630046dd6c6c9694051a7552b34a056c59d3a601e74d6320 languageName: node linkType: hard @@ -8781,20 +8789,20 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack@npm:^5.79.0": - version: 5.79.0 - resolution: "webpack@npm:5.79.0" +"webpack@npm:^5.80.0": + version: 5.80.0 + resolution: "webpack@npm:5.80.0" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^1.0.0 - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/wasm-edit": 1.11.1 - "@webassemblyjs/wasm-parser": 1.11.1 + "@webassemblyjs/ast": ^1.11.5 + "@webassemblyjs/wasm-edit": ^1.11.5 + "@webassemblyjs/wasm-parser": ^1.11.5 acorn: ^8.7.1 acorn-import-assertions: ^1.7.6 browserslist: ^4.14.5 chrome-trace-event: ^1.0.2 - enhanced-resolve: ^5.10.0 + enhanced-resolve: ^5.13.0 es-module-lexer: ^1.2.1 eslint-scope: 5.1.1 events: ^3.2.0 @@ -8804,7 +8812,7 @@ fsevents@~2.3.2: loader-runner: ^4.2.0 mime-types: ^2.1.27 neo-async: ^2.6.2 - schema-utils: ^3.1.0 + schema-utils: ^3.1.2 tapable: ^2.1.1 terser-webpack-plugin: ^5.3.7 watchpack: ^2.4.0 @@ -8814,7 +8822,7 @@ fsevents@~2.3.2: optional: true bin: webpack: bin/webpack.js - checksum: 3fbd82dadc75c8f823c900c5d50263830b77e6be6a8abb26eec12f93dec94c2f07fa44c1ef1f28319682404e532d9707ed04ed6cb89af87ca7d544e435d8ef95 + checksum: 7b9229d64439ceb20372e0b1452025e2a37cf136f7867102e095b99c3f2bbaf8b0e7e8ff093278238e45b0b1efaae4ed5f0709be48c20e8dab94e94f11c8e5c7 languageName: node linkType: hard