diff --git a/package.json b/package.json index b563f8af06..dbabfbc25c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "scripts": { "build": "yarn build:interfaces && polkadot-dev-build-ts", "build:before": "(cd packages/typegen && polkadot-dev-copy-dir scripts build/scripts)", - "build:interfaces": "node --loader @polkadot/dev/node/ts packages/typegen/scripts/polkadot-types-internal-interfaces.mjs", + "build:interfaces": "node --loader @polkadot/dev-ts packages/typegen/scripts/polkadot-types-internal-interfaces.mjs", "build:metadata": "yarn build:interfaces && polkadot-dev-run-test packages/types/src/metadata/v14", "build:release": "polkadot-ci-ghact-build", "build:rollup": "polkadot-exec-rollup --config", @@ -40,7 +40,7 @@ "test:one": "polkadot-dev-run-test --env node" }, "devDependencies": { - "@polkadot/dev": "^0.71.11", + "@polkadot/dev": "^0.72.1", "@polkadot/typegen": "workspace:packages/typegen", "@types/node": "^18.15.3" }, diff --git a/packages/api-contract/src/Abi/Abi.spec.ts b/packages/api-contract/src/Abi/Abi.spec.ts index 878fcc355a..237a73fbd1 100644 --- a/packages/api-contract/src/Abi/Abi.spec.ts +++ b/packages/api-contract/src/Abi/Abi.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Registry } from '@polkadot/types/types'; diff --git a/packages/api-contract/src/Abi/toLatest.spec.ts b/packages/api-contract/src/Abi/toLatest.spec.ts index 3a7fb0550e..5c45cf7f06 100644 --- a/packages/api-contract/src/Abi/toLatest.spec.ts +++ b/packages/api-contract/src/Abi/toLatest.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; diff --git a/packages/api-contract/src/base/Code.spec.ts b/packages/api-contract/src/base/Code.spec.ts index ae6ec55546..fc8ee99a57 100644 --- a/packages/api-contract/src/base/Code.spec.ts +++ b/packages/api-contract/src/base/Code.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import fs from 'node:fs'; import path from 'node:path'; diff --git a/packages/api-derive/src/bounties/bounties.spec.ts b/packages/api-derive/src/bounties/bounties.spec.ts index ca15e3cafa..48a51e1356 100644 --- a/packages/api-derive/src/bounties/bounties.spec.ts +++ b/packages/api-derive/src/bounties/bounties.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api-derive authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { SubmittableExtrinsic } from '@polkadot/api-base/types'; import type { Bytes, Option, StorageKey } from '@polkadot/types'; diff --git a/packages/api-derive/src/index.spec.ts b/packages/api-derive/src/index.spec.ts index 9a20254b69..d7f2b2bb7c 100644 --- a/packages/api-derive/src/index.spec.ts +++ b/packages/api-derive/src/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api-derive authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-return */ /* eslint-disable @typescript-eslint/no-unsafe-call */ diff --git a/packages/api-derive/src/util/approvalFlagToBools.spec.ts b/packages/api-derive/src/util/approvalFlagToBools.spec.ts index 63a52bc450..3042b9e9f4 100644 --- a/packages/api-derive/src/util/approvalFlagToBools.spec.ts +++ b/packages/api-derive/src/util/approvalFlagToBools.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api-derive authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { ApprovalFlag } from '@polkadot/types/interfaces'; diff --git a/packages/api/src/promise/Combinators.spec.ts b/packages/api/src/promise/Combinators.spec.ts index 264c19693e..a279bd30d4 100644 --- a/packages/api/src/promise/Combinators.spec.ts +++ b/packages/api/src/promise/Combinators.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { UnsubscribePromise } from '../types/index.js'; diff --git a/packages/api/src/promise/index.spec.ts b/packages/api/src/promise/index.spec.ts index ba37180f08..43965bf98c 100644 --- a/packages/api/src/promise/index.spec.ts +++ b/packages/api/src/promise/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { HexString } from '@polkadot/util/types'; import type { SubmittableExtrinsic } from '../types/index.js'; diff --git a/packages/api/src/util/augmentObject.spec.ts b/packages/api/src/util/augmentObject.spec.ts index 5b44bb02e6..4b7631ff40 100644 --- a/packages/api/src/util/augmentObject.spec.ts +++ b/packages/api/src/util/augmentObject.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { augmentObject } from './augmentObject.js'; diff --git a/packages/api/src/util/validate.spec.ts b/packages/api/src/util/validate.spec.ts index 0833c214e3..0c91ee6c3c 100644 --- a/packages/api/src/util/validate.spec.ts +++ b/packages/api/src/util/validate.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { decorateStorage, Metadata, TypeRegistry } from '@polkadot/types'; import metaStatic from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/rpc-core/src/cached.spec.ts b/packages/rpc-core/src/cached.spec.ts index 1dcb6ca62e..5d516e0ac4 100644 --- a/packages/rpc-core/src/cached.spec.ts +++ b/packages/rpc-core/src/cached.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-core authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { RpcInterface } from './types/index.js'; diff --git a/packages/rpc-core/src/index.spec.ts b/packages/rpc-core/src/index.spec.ts index 5dfcb8751d..842f63df8e 100644 --- a/packages/rpc-core/src/index.spec.ts +++ b/packages/rpc-core/src/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-core authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { ProviderInterface } from '@polkadot/rpc-provider/types'; diff --git a/packages/rpc-core/src/methodSend.spec.ts b/packages/rpc-core/src/methodSend.spec.ts index 0d731aec7b..3f56c2ecc2 100644 --- a/packages/rpc-core/src/methodSend.spec.ts +++ b/packages/rpc-core/src/methodSend.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-core authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { ProviderInterface } from '@polkadot/rpc-provider/types'; import type { DefinitionRpc } from '@polkadot/types/types'; diff --git a/packages/rpc-core/src/replay.spec.ts b/packages/rpc-core/src/replay.spec.ts index f8fadcb619..6753e37fc8 100644 --- a/packages/rpc-core/src/replay.spec.ts +++ b/packages/rpc-core/src/replay.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-core authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { RpcInterface } from './types/index.js'; diff --git a/packages/rpc-core/src/util/drr.spec.ts b/packages/rpc-core/src/util/drr.spec.ts index 28b55d6206..72284aeb3c 100644 --- a/packages/rpc-core/src/util/drr.spec.ts +++ b/packages/rpc-core/src/util/drr.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/api-derive authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { of, timer } from 'rxjs'; diff --git a/packages/rpc-provider/src/coder/decodeResponse.spec.ts b/packages/rpc-provider/src/coder/decodeResponse.spec.ts index 14da937b31..b5bdc7e7aa 100644 --- a/packages/rpc-provider/src/coder/decodeResponse.spec.ts +++ b/packages/rpc-provider/src/coder/decodeResponse.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { JsonRpcResponse } from '../types.js'; diff --git a/packages/rpc-provider/src/coder/encodeJson.spec.ts b/packages/rpc-provider/src/coder/encodeJson.spec.ts index ff6fba5fc2..f4d4432a2d 100644 --- a/packages/rpc-provider/src/coder/encodeJson.spec.ts +++ b/packages/rpc-provider/src/coder/encodeJson.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { RpcCoder } from './index.js'; diff --git a/packages/rpc-provider/src/coder/encodeObject.spec.ts b/packages/rpc-provider/src/coder/encodeObject.spec.ts index 6e1c84a93a..a735b70e02 100644 --- a/packages/rpc-provider/src/coder/encodeObject.spec.ts +++ b/packages/rpc-provider/src/coder/encodeObject.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { RpcCoder } from './index.js'; diff --git a/packages/rpc-provider/src/coder/error.spec.ts b/packages/rpc-provider/src/coder/error.spec.ts index 486c63adde..3e5ecb4d4d 100644 --- a/packages/rpc-provider/src/coder/error.spec.ts +++ b/packages/rpc-provider/src/coder/error.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { isError } from '@polkadot/util'; diff --git a/packages/rpc-provider/src/http/index.spec.ts b/packages/rpc-provider/src/http/index.spec.ts index 1bcbaa7f37..3bbc852635 100644 --- a/packages/rpc-provider/src/http/index.spec.ts +++ b/packages/rpc-provider/src/http/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TEST_HTTP_URL } from '../mock/mockHttp.js'; import { HttpProvider } from './index.js'; diff --git a/packages/rpc-provider/src/http/send.spec.ts b/packages/rpc-provider/src/http/send.spec.ts index bce4401a37..15b227fda5 100644 --- a/packages/rpc-provider/src/http/send.spec.ts +++ b/packages/rpc-provider/src/http/send.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Mock } from '../mock/types.js'; diff --git a/packages/rpc-provider/src/lru.spec.ts b/packages/rpc-provider/src/lru.spec.ts index 9543b52e97..e1c54fbb76 100644 --- a/packages/rpc-provider/src/lru.spec.ts +++ b/packages/rpc-provider/src/lru.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { LRUCache } from './lru.js'; diff --git a/packages/rpc-provider/src/mock/on.spec.ts b/packages/rpc-provider/src/mock/on.spec.ts index 0fad63432b..7c24c594f5 100644 --- a/packages/rpc-provider/src/mock/on.spec.ts +++ b/packages/rpc-provider/src/mock/on.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { ProviderInterfaceEmitted } from '../types.js'; diff --git a/packages/rpc-provider/src/mock/send.spec.ts b/packages/rpc-provider/src/mock/send.spec.ts index 0b0499dc63..0f60e1fdde 100644 --- a/packages/rpc-provider/src/mock/send.spec.ts +++ b/packages/rpc-provider/src/mock/send.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types/create'; diff --git a/packages/rpc-provider/src/mock/subscribe.spec.ts b/packages/rpc-provider/src/mock/subscribe.spec.ts index 28acd0343f..12d91e567d 100644 --- a/packages/rpc-provider/src/mock/subscribe.spec.ts +++ b/packages/rpc-provider/src/mock/subscribe.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types/create'; diff --git a/packages/rpc-provider/src/mock/unsubscribe.spec.ts b/packages/rpc-provider/src/mock/unsubscribe.spec.ts index deb14e9384..5bc6753b96 100644 --- a/packages/rpc-provider/src/mock/unsubscribe.spec.ts +++ b/packages/rpc-provider/src/mock/unsubscribe.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types/create'; diff --git a/packages/rpc-provider/src/substrate-connect/index.spec.ts b/packages/rpc-provider/src/substrate-connect/index.spec.ts index 8eab9b5259..1ebe7a9c2a 100644 --- a/packages/rpc-provider/src/substrate-connect/index.spec.ts +++ b/packages/rpc-provider/src/substrate-connect/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable sort-keys */ /* eslint-disable promise/param-names */ diff --git a/packages/rpc-provider/src/ws/connect.spec.ts b/packages/rpc-provider/src/ws/connect.spec.ts index 23430f5056..e1270dc5d9 100644 --- a/packages/rpc-provider/src/ws/connect.spec.ts +++ b/packages/rpc-provider/src/ws/connect.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Mock } from '../mock/types.js'; diff --git a/packages/rpc-provider/src/ws/index.spec.ts b/packages/rpc-provider/src/ws/index.spec.ts index dc066c5693..4ea93e9d88 100644 --- a/packages/rpc-provider/src/ws/index.spec.ts +++ b/packages/rpc-provider/src/ws/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Request } from '../mock/mockWs.js'; import type { Mock } from '../mock/types.js'; diff --git a/packages/rpc-provider/src/ws/send.spec.ts b/packages/rpc-provider/src/ws/send.spec.ts index 3472141cce..3025b63d49 100644 --- a/packages/rpc-provider/src/ws/send.spec.ts +++ b/packages/rpc-provider/src/ws/send.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Request } from '../mock/mockWs.js'; diff --git a/packages/rpc-provider/src/ws/state.spec.ts b/packages/rpc-provider/src/ws/state.spec.ts index 23c9ec3f11..5e6860bfd1 100644 --- a/packages/rpc-provider/src/ws/state.spec.ts +++ b/packages/rpc-provider/src/ws/state.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { WsProvider } from './index.js'; diff --git a/packages/rpc-provider/src/ws/subscribe.spec.ts b/packages/rpc-provider/src/ws/subscribe.spec.ts index 4b1554f2ec..1813e55206 100644 --- a/packages/rpc-provider/src/ws/subscribe.spec.ts +++ b/packages/rpc-provider/src/ws/subscribe.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Request } from '../mock/mockWs.js'; import type { Global, Mock } from './../mock/types.js'; diff --git a/packages/rpc-provider/src/ws/unsubscribe.spec.ts b/packages/rpc-provider/src/ws/unsubscribe.spec.ts index ec7827ca5e..ca897be936 100644 --- a/packages/rpc-provider/src/ws/unsubscribe.spec.ts +++ b/packages/rpc-provider/src/ws/unsubscribe.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/rpc-provider authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Request } from '../mock/mockWs.js'; import type { Global, Mock } from './../mock/types.js'; diff --git a/packages/typegen/src/util/derived.spec.ts b/packages/typegen/src/util/derived.spec.ts index c9bee5288f..ed26fa9476 100644 --- a/packages/typegen/src/util/derived.spec.ts +++ b/packages/typegen/src/util/derived.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/typegen authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types/create'; diff --git a/packages/typegen/src/util/formatting.spec.ts b/packages/typegen/src/util/formatting.spec.ts index f29d658698..de30e3384f 100644 --- a/packages/typegen/src/util/formatting.spec.ts +++ b/packages/typegen/src/util/formatting.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/typegen authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; diff --git a/packages/types-codec/src/base/Compact.spec.ts b/packages/types-codec/src/base/Compact.spec.ts index 50b013d532..fd2a7b1aa0 100644 --- a/packages/types-codec/src/base/Compact.spec.ts +++ b/packages/types-codec/src/base/Compact.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { CodecDate, Compact, U32 } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/base/DoNotConstruct.spec.ts b/packages/types-codec/src/base/DoNotConstruct.spec.ts index 9c7bedb3dc..2d840e2b81 100644 --- a/packages/types-codec/src/base/DoNotConstruct.spec.ts +++ b/packages/types-codec/src/base/DoNotConstruct.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { DoNotConstruct } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/base/Enum.spec.ts b/packages/types-codec/src/base/Enum.spec.ts index 63d56e69e5..23cdcab502 100644 --- a/packages/types-codec/src/base/Enum.spec.ts +++ b/packages/types-codec/src/base/Enum.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Registry } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/base/Int.spec.ts b/packages/types-codec/src/base/Int.spec.ts index 24dc8e611d..1e3a1409dc 100644 --- a/packages/types-codec/src/base/Int.spec.ts +++ b/packages/types-codec/src/base/Int.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Int } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/base/Null.spec.ts b/packages/types-codec/src/base/Null.spec.ts index fa5e270a15..fa27489b25 100644 --- a/packages/types-codec/src/base/Null.spec.ts +++ b/packages/types-codec/src/base/Null.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Null } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/base/Option.spec.ts b/packages/types-codec/src/base/Option.spec.ts index aa81de7b74..f2b7b2eecb 100644 --- a/packages/types-codec/src/base/Option.spec.ts +++ b/packages/types-codec/src/base/Option.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { bool, Bytes, Null, Option, Text, U32 } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/base/Result.spec.ts b/packages/types-codec/src/base/Result.spec.ts index e8b1d901aa..2fe39eb951 100644 --- a/packages/types-codec/src/base/Result.spec.ts +++ b/packages/types-codec/src/base/Result.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Result, Text, u32 } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/base/Tuple.spec.ts b/packages/types-codec/src/base/Tuple.spec.ts index 79457b8074..f88a248ab3 100644 --- a/packages/types-codec/src/base/Tuple.spec.ts +++ b/packages/types-codec/src/base/Tuple.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { BlockNumber, VoteThreshold } from '@polkadot/types/interfaces'; import type { AnyTupleValue, CodecTo } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/base/UInt.spec.ts b/packages/types-codec/src/base/UInt.spec.ts index dfd171e17b..0ce8b73a2a 100644 --- a/packages/types-codec/src/base/UInt.spec.ts +++ b/packages/types-codec/src/base/UInt.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { UInt } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/base/Vec.spec.ts b/packages/types-codec/src/base/Vec.spec.ts index e5cc3af06c..86926b75ed 100644 --- a/packages/types-codec/src/base/Vec.spec.ts +++ b/packages/types-codec/src/base/Vec.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { PropIndex } from '@polkadot/types/interfaces/democracy'; import type { Codec, CodecTo, ITuple } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/base/VecFixed.spec.ts b/packages/types-codec/src/base/VecFixed.spec.ts index cbc74ab5be..c89a9c1489 100644 --- a/packages/types-codec/src/base/VecFixed.spec.ts +++ b/packages/types-codec/src/base/VecFixed.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Text, u16, VecFixed } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/BTreeMap.spec.ts b/packages/types-codec/src/extended/BTreeMap.spec.ts index a83586669a..65c051170f 100644 --- a/packages/types-codec/src/extended/BTreeMap.spec.ts +++ b/packages/types-codec/src/extended/BTreeMap.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { CodecClass, ITuple } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/extended/BTreeSet.spec.ts b/packages/types-codec/src/extended/BTreeSet.spec.ts index 8d58e73e0d..fdc8ecb9b2 100644 --- a/packages/types-codec/src/extended/BTreeSet.spec.ts +++ b/packages/types-codec/src/extended/BTreeSet.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { CodecClass, CodecTo } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/extended/BitVec.spec.ts b/packages/types-codec/src/extended/BitVec.spec.ts index b71b8037cd..f2b2a0c850 100644 --- a/packages/types-codec/src/extended/BitVec.spec.ts +++ b/packages/types-codec/src/extended/BitVec.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { hexToU8a } from '@polkadot/util'; diff --git a/packages/types-codec/src/extended/Bytes.spec.ts b/packages/types-codec/src/extended/Bytes.spec.ts index 091a9393ed..98a74dc187 100644 --- a/packages/types-codec/src/extended/Bytes.spec.ts +++ b/packages/types-codec/src/extended/Bytes.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Bytes } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/HashMap.spec.ts b/packages/types-codec/src/extended/HashMap.spec.ts index d36703c6d8..57d928989a 100644 --- a/packages/types-codec/src/extended/HashMap.spec.ts +++ b/packages/types-codec/src/extended/HashMap.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { HashMap, Struct, Text, U32 } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/Linkage.spec.ts b/packages/types-codec/src/extended/Linkage.spec.ts index 10270b4138..7309273992 100644 --- a/packages/types-codec/src/extended/Linkage.spec.ts +++ b/packages/types-codec/src/extended/Linkage.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Linkage } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/Map.spec.ts b/packages/types-codec/src/extended/Map.spec.ts index e3a4cd453a..a43964189f 100644 --- a/packages/types-codec/src/extended/Map.spec.ts +++ b/packages/types-codec/src/extended/Map.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { CodecTo } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/extended/OptionBool.spec.ts b/packages/types-codec/src/extended/OptionBool.spec.ts index d1f9e8ba94..6dd08b6097 100644 --- a/packages/types-codec/src/extended/OptionBool.spec.ts +++ b/packages/types-codec/src/extended/OptionBool.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { OptionBool } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/Range.spec.ts b/packages/types-codec/src/extended/Range.spec.ts index 47c3ad7c1c..7f86777f8f 100644 --- a/packages/types-codec/src/extended/Range.spec.ts +++ b/packages/types-codec/src/extended/Range.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Range, U32 } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/Type.spec.ts b/packages/types-codec/src/extended/Type.spec.ts index 5dfbc4533b..33bf48ab3e 100644 --- a/packages/types-codec/src/extended/Type.spec.ts +++ b/packages/types-codec/src/extended/Type.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Text, Type } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/U8aFixed.spec.ts b/packages/types-codec/src/extended/U8aFixed.spec.ts index 0695b8b388..e972267078 100644 --- a/packages/types-codec/src/extended/U8aFixed.spec.ts +++ b/packages/types-codec/src/extended/U8aFixed.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { U8aFixed } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/WrapperKeepOpaque.spec.ts b/packages/types-codec/src/extended/WrapperKeepOpaque.spec.ts index d4b7aff295..342783921c 100644 --- a/packages/types-codec/src/extended/WrapperKeepOpaque.spec.ts +++ b/packages/types-codec/src/extended/WrapperKeepOpaque.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { Bytes, Raw, u32, WrapperKeepOpaque } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/extended/WrapperOpaque.spec.ts b/packages/types-codec/src/extended/WrapperOpaque.spec.ts index 8cbdd28e1e..70f36bf056 100644 --- a/packages/types-codec/src/extended/WrapperOpaque.spec.ts +++ b/packages/types-codec/src/extended/WrapperOpaque.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { WrapperOpaque } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/native/Bool.spec.ts b/packages/types-codec/src/native/Bool.spec.ts index 72b2ec4c20..656119057d 100644 --- a/packages/types-codec/src/native/Bool.spec.ts +++ b/packages/types-codec/src/native/Bool.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { CodecTo } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/native/Date.spec.ts b/packages/types-codec/src/native/Date.spec.ts index 1eeb46f318..dcc1a529a4 100644 --- a/packages/types-codec/src/native/Date.spec.ts +++ b/packages/types-codec/src/native/Date.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { CodecTo } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/native/Float.spec.ts b/packages/types-codec/src/native/Float.spec.ts index 26fd82ea51..2adc09e58e 100644 --- a/packages/types-codec/src/native/Float.spec.ts +++ b/packages/types-codec/src/native/Float.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { F32, F64 } from '@polkadot/types-codec'; diff --git a/packages/types-codec/src/native/Raw.spec.ts b/packages/types-codec/src/native/Raw.spec.ts index 7dfd6281c3..ac1eaef0ff 100644 --- a/packages/types-codec/src/native/Raw.spec.ts +++ b/packages/types-codec/src/native/Raw.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { AnyU8a, CodecTo } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/native/Set.spec.ts b/packages/types-codec/src/native/Set.spec.ts index c330ae865b..af756382bf 100644 --- a/packages/types-codec/src/native/Set.spec.ts +++ b/packages/types-codec/src/native/Set.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable sort-keys */ diff --git a/packages/types-codec/src/native/Struct.spec.ts b/packages/types-codec/src/native/Struct.spec.ts index 6a1f3cad06..8db3076813 100644 --- a/packages/types-codec/src/native/Struct.spec.ts +++ b/packages/types-codec/src/native/Struct.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable sort-keys */ diff --git a/packages/types-codec/src/native/Text.spec.ts b/packages/types-codec/src/native/Text.spec.ts index e4d303c508..2e52bf6fcb 100644 --- a/packages/types-codec/src/native/Text.spec.ts +++ b/packages/types-codec/src/native/Text.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { CodecTo } from '@polkadot/types-codec/types'; diff --git a/packages/types-codec/src/utils/sanitize.spec.ts b/packages/types-codec/src/utils/sanitize.spec.ts index 2ce08ffe4d..f979b55895 100644 --- a/packages/types-codec/src/utils/sanitize.spec.ts +++ b/packages/types-codec/src/utils/sanitize.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-codec authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { alias, flattenSingleTuple, removeColons, removeExtensions } from './sanitize.js'; diff --git a/packages/types-create/src/util/encodeTypes.spec.ts b/packages/types-create/src/util/encodeTypes.spec.ts index 219bd021f9..3e76ad33d8 100644 --- a/packages/types-create/src/util/encodeTypes.spec.ts +++ b/packages/types-create/src/util/encodeTypes.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { encodeTypeDef, TypeDefInfo } from '@polkadot/types-create'; diff --git a/packages/types-create/src/util/getTypeDef.spec.ts b/packages/types-create/src/util/getTypeDef.spec.ts index 1cf5a060db..6578453995 100644 --- a/packages/types-create/src/util/getTypeDef.spec.ts +++ b/packages/types-create/src/util/getTypeDef.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '@polkadot/types'; import { getTypeDef, TypeDefInfo } from '@polkadot/types-create'; diff --git a/packages/types-create/src/util/typeSplit.spec.ts b/packages/types-create/src/util/typeSplit.spec.ts index 1550a4d260..87a11a7fda 100644 --- a/packages/types-create/src/util/typeSplit.spec.ts +++ b/packages/types-create/src/util/typeSplit.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { typeSplit } from '@polkadot/types-create'; diff --git a/packages/types-known/src/upgrades/e2e/index.spec.ts b/packages/types-known/src/upgrades/e2e/index.spec.ts index c0671e087b..af1c2a0cc8 100644 --- a/packages/types-known/src/upgrades/e2e/index.spec.ts +++ b/packages/types-known/src/upgrades/e2e/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-known authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { HexString } from '@polkadot/util/types'; import type { ChainUpgradesExpanded } from '../types.js'; diff --git a/packages/types-known/src/upgrades/index.spec.ts b/packages/types-known/src/upgrades/index.spec.ts index 34d5844b69..e9ff0f7691 100644 --- a/packages/types-known/src/upgrades/index.spec.ts +++ b/packages/types-known/src/upgrades/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-known authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { ChainUpgradesExpanded, ChainUpgradesRaw } from './types.js'; diff --git a/packages/types/src/create/createClass.spec.ts b/packages/types/src/create/createClass.spec.ts index 697dd56ab6..339e8e80e4 100644 --- a/packages/types/src/create/createClass.spec.ts +++ b/packages/types/src/create/createClass.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeDefInfo } from '@polkadot/types-create'; diff --git a/packages/types/src/create/createType.spec.ts b/packages/types/src/create/createType.spec.ts index dfcc8db4bf..908a41ccaa 100644 --- a/packages/types/src/create/createType.spec.ts +++ b/packages/types/src/create/createType.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { CodecSet, Int } from '@polkadot/types-codec'; diff --git a/packages/types/src/create/registry.spec.ts b/packages/types/src/create/registry.spec.ts index 1f810c5102..8b8c86b963 100644 --- a/packages/types/src/create/registry.spec.ts +++ b/packages/types/src/create/registry.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/ethereum/AccountId.spec.ts b/packages/types/src/ethereum/AccountId.spec.ts index 52a474500e..c9d1605b37 100644 --- a/packages/types/src/ethereum/AccountId.spec.ts +++ b/packages/types/src/ethereum/AccountId.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/ethereum/LookupSource.spec.ts b/packages/types/src/ethereum/LookupSource.spec.ts index 41cb21ecf7..e5ece5450d 100644 --- a/packages/types/src/ethereum/LookupSource.spec.ts +++ b/packages/types/src/ethereum/LookupSource.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; import { GenericAccountIndex as AccountIndex } from '../generic/index.js'; diff --git a/packages/types/src/extrinsic/Extrinsic.spec.ts b/packages/types/src/extrinsic/Extrinsic.spec.ts index 0c9d907ded..c620296a09 100644 --- a/packages/types/src/extrinsic/Extrinsic.spec.ts +++ b/packages/types/src/extrinsic/Extrinsic.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import rpcMetadata from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/extrinsic/ExtrinsicEra.spec.ts b/packages/types/src/extrinsic/ExtrinsicEra.spec.ts index 1195b197a2..03fe6f19dc 100644 --- a/packages/types/src/extrinsic/ExtrinsicEra.spec.ts +++ b/packages/types/src/extrinsic/ExtrinsicEra.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; import { GenericExtrinsicEra as ExtrinsicEra } from './index.js'; diff --git a/packages/types/src/extrinsic/ExtrinsicPayload.spec.ts b/packages/types/src/extrinsic/ExtrinsicPayload.spec.ts index e8d0ce4356..362703c0d0 100644 --- a/packages/types/src/extrinsic/ExtrinsicPayload.spec.ts +++ b/packages/types/src/extrinsic/ExtrinsicPayload.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { u8aToHex } from '@polkadot/util'; diff --git a/packages/types/src/extrinsic/SignerPayload.spec.ts b/packages/types/src/extrinsic/SignerPayload.spec.ts index 8aab5191ec..f67739da95 100644 --- a/packages/types/src/extrinsic/SignerPayload.spec.ts +++ b/packages/types/src/extrinsic/SignerPayload.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import rpcMetadata from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/extrinsic/v4/Extrinsic.spec.ts b/packages/types/src/extrinsic/v4/Extrinsic.spec.ts index cae69d4389..3145965be1 100644 --- a/packages/types/src/extrinsic/v4/Extrinsic.spec.ts +++ b/packages/types/src/extrinsic/v4/Extrinsic.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { createTestPairs } from '@polkadot/keyring/testingPairs'; import rpcMetadata from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/extrinsic/v4/ExtrinsicPayload.spec.ts b/packages/types/src/extrinsic/v4/ExtrinsicPayload.spec.ts index 360c6eec94..03e46d4a15 100644 --- a/packages/types/src/extrinsic/v4/ExtrinsicPayload.spec.ts +++ b/packages/types/src/extrinsic/v4/ExtrinsicPayload.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import rpcMetadata from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/extrinsic/v4/ExtrinsicSignature.spec.ts b/packages/types/src/extrinsic/v4/ExtrinsicSignature.spec.ts index 64914f16d2..2e0b32de06 100644 --- a/packages/types/src/extrinsic/v4/ExtrinsicSignature.spec.ts +++ b/packages/types/src/extrinsic/v4/ExtrinsicSignature.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { createTestPairs } from '@polkadot/keyring/testingPairs'; import metadataStatic from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/generic/AccountId.spec.ts b/packages/types/src/generic/AccountId.spec.ts index ed4a1c1d52..4fe740632e 100644 --- a/packages/types/src/generic/AccountId.spec.ts +++ b/packages/types/src/generic/AccountId.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/generic/AccountIndex.spec.ts b/packages/types/src/generic/AccountIndex.spec.ts index 1d9f46d837..d9be304ddf 100644 --- a/packages/types/src/generic/AccountIndex.spec.ts +++ b/packages/types/src/generic/AccountIndex.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { BN } from '@polkadot/util'; diff --git a/packages/types/src/generic/Block.spec.ts b/packages/types/src/generic/Block.spec.ts index 710f7de8ec..518b764d61 100644 --- a/packages/types/src/generic/Block.spec.ts +++ b/packages/types/src/generic/Block.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable sort-keys */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/generic/Call.spec.ts b/packages/types/src/generic/Call.spec.ts index 415a8593fc..35352b6935 100644 --- a/packages/types/src/generic/Call.spec.ts +++ b/packages/types/src/generic/Call.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import metadataStatic from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/generic/ChainProperties.spec.ts b/packages/types/src/generic/ChainProperties.spec.ts index 12b5f8d074..341ffa5ae9 100644 --- a/packages/types/src/generic/ChainProperties.spec.ts +++ b/packages/types/src/generic/ChainProperties.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; diff --git a/packages/types/src/generic/ConsensusEngineId.spec.ts b/packages/types/src/generic/ConsensusEngineId.spec.ts index e12ba2115c..defb84f434 100644 --- a/packages/types/src/generic/ConsensusEngineId.spec.ts +++ b/packages/types/src/generic/ConsensusEngineId.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; import { CID_AURA, GenericConsensusEngineId as ConsensusEngineId } from './ConsensusEngineId.js'; diff --git a/packages/types/src/generic/LookupSource.spec.ts b/packages/types/src/generic/LookupSource.spec.ts index 44968f665c..f71d481845 100644 --- a/packages/types/src/generic/LookupSource.spec.ts +++ b/packages/types/src/generic/LookupSource.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; import { GenericAccountId as AccountId, GenericAccountIndex as AccountIndex, GenericLookupSource as LookupSource } from './index.js'; diff --git a/packages/types/src/generic/MultiAddress.spec.ts b/packages/types/src/generic/MultiAddress.spec.ts index aae602c1e5..71a7006c54 100644 --- a/packages/types/src/generic/MultiAddress.spec.ts +++ b/packages/types/src/generic/MultiAddress.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; diff --git a/packages/types/src/generic/Vote.spec.ts b/packages/types/src/generic/Vote.spec.ts index 5541ef6dff..e11e577399 100644 --- a/packages/types/src/generic/Vote.spec.ts +++ b/packages/types/src/generic/Vote.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; import { GenericVote } from './index.js'; diff --git a/packages/types/src/interfaces/alias.spec.ts b/packages/types/src/interfaces/alias.spec.ts index 56df8b0834..8f2ac66711 100644 --- a/packages/types/src/interfaces/alias.spec.ts +++ b/packages/types/src/interfaces/alias.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types-known authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/registry.js'; import { getAliasTypes } from './alias.js'; diff --git a/packages/types/src/interfaces/author/ExtrinsicStatus.spec.ts b/packages/types/src/interfaces/author/ExtrinsicStatus.spec.ts index d9e77e5010..c200971678 100644 --- a/packages/types/src/interfaces/author/ExtrinsicStatus.spec.ts +++ b/packages/types/src/interfaces/author/ExtrinsicStatus.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/interfaces/extrinsics/EdcsaSignature.spec.ts b/packages/types/src/interfaces/extrinsics/EdcsaSignature.spec.ts index cbf35d518e..917f83e4cc 100644 --- a/packages/types/src/interfaces/extrinsics/EdcsaSignature.spec.ts +++ b/packages/types/src/interfaces/extrinsics/EdcsaSignature.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { hexToU8a } from '@polkadot/util'; diff --git a/packages/types/src/interfaces/grandpa/ReportedRoundStates.spec.ts b/packages/types/src/interfaces/grandpa/ReportedRoundStates.spec.ts index 33ad758f1c..5d2a6984f9 100644 --- a/packages/types/src/interfaces/grandpa/ReportedRoundStates.spec.ts +++ b/packages/types/src/interfaces/grandpa/ReportedRoundStates.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/interfaces/identity/IdentityFields.spec.ts b/packages/types/src/interfaces/identity/IdentityFields.spec.ts index 82934bee29..83d9abf5e0 100644 --- a/packages/types/src/interfaces/identity/IdentityFields.spec.ts +++ b/packages/types/src/interfaces/identity/IdentityFields.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/identity/Registration.spec.ts b/packages/types/src/interfaces/identity/Registration.spec.ts index a94ab59ede..d457203673 100644 --- a/packages/types/src/interfaces/identity/Registration.spec.ts +++ b/packages/types/src/interfaces/identity/Registration.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { createType, TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/offchain/definitions.spec.ts b/packages/types/src/interfaces/offchain/definitions.spec.ts index 46db2e3a72..1e299cf427 100644 --- a/packages/types/src/interfaces/offchain/definitions.spec.ts +++ b/packages/types/src/interfaces/offchain/definitions.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/parachains/SystemInherentData.spec.ts b/packages/types/src/interfaces/parachains/SystemInherentData.spec.ts index 8c286c7909..1d53e43306 100644 --- a/packages/types/src/interfaces/parachains/SystemInherentData.spec.ts +++ b/packages/types/src/interfaces/parachains/SystemInherentData.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/runtime/Digest.spec.ts b/packages/types/src/interfaces/runtime/Digest.spec.ts index b7a1b05c94..aa1b48de72 100644 --- a/packages/types/src/interfaces/runtime/Digest.spec.ts +++ b/packages/types/src/interfaces/runtime/Digest.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/interfaces/runtime/Header.spec.ts b/packages/types/src/interfaces/runtime/Header.spec.ts index 32ae320c7f..4ceeb182e2 100644 --- a/packages/types/src/interfaces/runtime/Header.spec.ts +++ b/packages/types/src/interfaces/runtime/Header.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/interfaces/runtime/KeyValue.spec.ts b/packages/types/src/interfaces/runtime/KeyValue.spec.ts index bfc7f7ce47..af8aa4bc1b 100644 --- a/packages/types/src/interfaces/runtime/KeyValue.spec.ts +++ b/packages/types/src/interfaces/runtime/KeyValue.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/staking/CompactAssignments.spec.ts b/packages/types/src/interfaces/staking/CompactAssignments.spec.ts index 4bb75d5b8b..61df8e6d5e 100644 --- a/packages/types/src/interfaces/staking/CompactAssignments.spec.ts +++ b/packages/types/src/interfaces/staking/CompactAssignments.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/staking/Exposure.spec.ts b/packages/types/src/interfaces/staking/Exposure.spec.ts index 2485edcb7c..ae810155d6 100644 --- a/packages/types/src/interfaces/staking/Exposure.spec.ts +++ b/packages/types/src/interfaces/staking/Exposure.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/state/KeyValueOption.spec.ts b/packages/types/src/interfaces/state/KeyValueOption.spec.ts index a3017ba1bf..794858b473 100644 --- a/packages/types/src/interfaces/state/KeyValueOption.spec.ts +++ b/packages/types/src/interfaces/state/KeyValueOption.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; diff --git a/packages/types/src/interfaces/state/RuntimeVersion.spec.ts b/packages/types/src/interfaces/state/RuntimeVersion.spec.ts index 0690697c40..e6458320cb 100644 --- a/packages/types/src/interfaces/state/RuntimeVersion.spec.ts +++ b/packages/types/src/interfaces/state/RuntimeVersion.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/interfaces/state/StorageChangeSet.spec.ts b/packages/types/src/interfaces/state/StorageChangeSet.spec.ts index 49a1392131..51b96c63a2 100644 --- a/packages/types/src/interfaces/state/StorageChangeSet.spec.ts +++ b/packages/types/src/interfaces/state/StorageChangeSet.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/interfaces/system/EventRecord.spec.ts b/packages/types/src/interfaces/system/EventRecord.spec.ts index 01c5988964..1d21295ef4 100644 --- a/packages/types/src/interfaces/system/EventRecord.spec.ts +++ b/packages/types/src/interfaces/system/EventRecord.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ diff --git a/packages/types/src/metadata/MagicNumber.spec.ts b/packages/types/src/metadata/MagicNumber.spec.ts index ea91b23efc..56d5cd9954 100644 --- a/packages/types/src/metadata/MagicNumber.spec.ts +++ b/packages/types/src/metadata/MagicNumber.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; import { MAGIC_NUMBER, MagicNumber } from './MagicNumber.js'; diff --git a/packages/types/src/metadata/Metadata.spec.ts b/packages/types/src/metadata/Metadata.spec.ts index 41cfbb068a..6bd5f2c665 100644 --- a/packages/types/src/metadata/Metadata.spec.ts +++ b/packages/types/src/metadata/Metadata.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { HexString } from '@polkadot/util/types'; diff --git a/packages/types/src/metadata/PortableRegistry/PortableRegistry.Range.spec.ts b/packages/types/src/metadata/PortableRegistry/PortableRegistry.Range.spec.ts index baecf411e4..8c78c42c6c 100644 --- a/packages/types/src/metadata/PortableRegistry/PortableRegistry.Range.spec.ts +++ b/packages/types/src/metadata/PortableRegistry/PortableRegistry.Range.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../../create/index.js'; import { PortableRegistry } from './index.js'; diff --git a/packages/types/src/metadata/decorate/constants/index.spec.ts b/packages/types/src/metadata/decorate/constants/index.spec.ts index 12d3b4a210..057c2f8ab9 100644 --- a/packages/types/src/metadata/decorate/constants/index.spec.ts +++ b/packages/types/src/metadata/decorate/constants/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { HexString } from '@polkadot/util/types'; import type { BlockNumber } from '../../../interfaces/index.js'; diff --git a/packages/types/src/metadata/decorate/errors/index.spec.ts b/packages/types/src/metadata/decorate/errors/index.spec.ts index 2d403ebe80..e8c28454cc 100644 --- a/packages/types/src/metadata/decorate/errors/index.spec.ts +++ b/packages/types/src/metadata/decorate/errors/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import rpcMetadata from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/metadata/decorate/events/index.spec.ts b/packages/types/src/metadata/decorate/events/index.spec.ts index da56a23f11..748524c936 100644 --- a/packages/types/src/metadata/decorate/events/index.spec.ts +++ b/packages/types/src/metadata/decorate/events/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import rpcMetadata from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/metadata/decorate/extrinsics/index.spec.ts b/packages/types/src/metadata/decorate/extrinsics/index.spec.ts index 2fc5e4a75d..63a66010c3 100644 --- a/packages/types/src/metadata/decorate/extrinsics/index.spec.ts +++ b/packages/types/src/metadata/decorate/extrinsics/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { createTestPairs } from '@polkadot/keyring/testingPairs'; import metadataStatic from '@polkadot/types-support/metadata/v13/substrate-hex'; diff --git a/packages/types/src/metadata/decorate/index.spec.ts b/packages/types/src/metadata/decorate/index.spec.ts index 12c7a8d4e2..c84948d1dd 100644 --- a/packages/types/src/metadata/decorate/index.spec.ts +++ b/packages/types/src/metadata/decorate/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { u32 } from '@polkadot/types-codec'; import json from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/metadata/decorate/storage/createFunction.spec.ts b/packages/types/src/metadata/decorate/storage/createFunction.spec.ts index 49b6eb95b3..66fe84d2ef 100644 --- a/packages/types/src/metadata/decorate/storage/createFunction.spec.ts +++ b/packages/types/src/metadata/decorate/storage/createFunction.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { u8aToHex } from '@polkadot/util'; diff --git a/packages/types/src/metadata/decorate/storage/getHasher.spec.ts b/packages/types/src/metadata/decorate/storage/getHasher.spec.ts index ba16b7fe2b..113423ccce 100644 --- a/packages/types/src/metadata/decorate/storage/getHasher.spec.ts +++ b/packages/types/src/metadata/decorate/storage/getHasher.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { stringToU8a } from '@polkadot/util'; import { xxhashAsU8a } from '@polkadot/util-crypto'; diff --git a/packages/types/src/metadata/decorate/storage/getStorage.spec.ts b/packages/types/src/metadata/decorate/storage/getStorage.spec.ts index de0232d04b..67b1569d5c 100644 --- a/packages/types/src/metadata/decorate/storage/getStorage.spec.ts +++ b/packages/types/src/metadata/decorate/storage/getStorage.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import metadataStatic from '@polkadot/types-support/metadata/static-substrate'; import { compactAddLength, u8aToU8a } from '@polkadot/util'; diff --git a/packages/types/src/metadata/decorate/storage/index.spec.ts b/packages/types/src/metadata/decorate/storage/index.spec.ts index f4dcd00e9c..64f5e7630f 100644 --- a/packages/types/src/metadata/decorate/storage/index.spec.ts +++ b/packages/types/src/metadata/decorate/storage/index.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { createTestPairs } from '@polkadot/keyring/testingPairs'; import rpcMetadata from '@polkadot/types-support/metadata/static-substrate'; diff --git a/packages/types/src/metadata/decorate/storage/substrate.spec.ts b/packages/types/src/metadata/decorate/storage/substrate.spec.ts index d7b40c6500..6eb4c9971a 100644 --- a/packages/types/src/metadata/decorate/storage/substrate.spec.ts +++ b/packages/types/src/metadata/decorate/storage/substrate.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import metadataStatic from '@polkadot/types-support/metadata/static-substrate'; import { compactAddLength, u8aToU8a } from '@polkadot/util'; diff --git a/packages/types/src/metadata/util/flattenUniq.spec.ts b/packages/types/src/metadata/util/flattenUniq.spec.ts index f9ee6ea8fa..2f193dc9ee 100644 --- a/packages/types/src/metadata/util/flattenUniq.spec.ts +++ b/packages/types/src/metadata/util/flattenUniq.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { flattenUniq } from './index.js'; diff --git a/packages/types/src/metadata/util/testUtil.ts b/packages/types/src/metadata/util/testUtil.ts index b89c70a56c..9c62610927 100644 --- a/packages/types/src/metadata/util/testUtil.ts +++ b/packages/types/src/metadata/util/testUtil.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import type { Registry } from '@polkadot/types-codec/types'; import type { Check } from './types.js'; diff --git a/packages/types/src/metadata/util/toCallsOnly.spec.ts b/packages/types/src/metadata/util/toCallsOnly.spec.ts index 94c38657e8..c7dfc96db2 100644 --- a/packages/types/src/metadata/util/toCallsOnly.spec.ts +++ b/packages/types/src/metadata/util/toCallsOnly.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import staticLatest from '@polkadot/types-support/metadata/static-substrate'; import staticV13 from '@polkadot/types-support/metadata/v13/substrate-hex'; diff --git a/packages/types/src/primitive/Data.spec.ts b/packages/types/src/primitive/Data.spec.ts index dde81d2120..7c2fc8259d 100644 --- a/packages/types/src/primitive/Data.spec.ts +++ b/packages/types/src/primitive/Data.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import { TypeRegistry } from '../create/index.js'; import { Data } from './index.js'; diff --git a/packages/types/src/primitive/StorageKey.spec.ts b/packages/types/src/primitive/StorageKey.spec.ts index 2c6d49121b..095f6f7de7 100644 --- a/packages/types/src/primitive/StorageKey.spec.ts +++ b/packages/types/src/primitive/StorageKey.spec.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// +/// import rpcDataV11 from '@polkadot/types-support/metadata/v11/substrate-hex'; diff --git a/yarn.lock b/yarn.lock index 848b6035d9..f72ad5247b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -452,11 +452,32 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/dev@npm:^0.71.11": - version: 0.71.11 - resolution: "@polkadot/dev@npm:0.71.11" +"@polkadot/dev-test@npm:^0.72.1": + version: 0.72.1 + resolution: "@polkadot/dev-test@npm:0.72.1" + dependencies: + tslib: ^2.5.0 + checksum: ff0fbb8c082f9bdee3e5708287337cdc2f2c2ade92bdcc8ff5910a2d764c40b044e363de92e4079173927c2b15f4af9137e50e9f07b944d51c3fd3764dca84d2 + languageName: node + linkType: hard + +"@polkadot/dev-ts@npm:^0.72.1": + version: 0.72.1 + resolution: "@polkadot/dev-ts@npm:0.72.1" + dependencies: + tslib: ^2.5.0 + typescript: ^4.9.5 + checksum: 89d716117904072309fea9662c9e2f8bd0cb06becc2909b613a342141fc32f8ea64ff43ee6c35f8d6b39cf5e4f568cad449d41b491eec5602fd5b3aa58033e97 + languageName: node + linkType: hard + +"@polkadot/dev@npm:^0.72.1": + version: 0.72.1 + resolution: "@polkadot/dev@npm:0.72.1" dependencies: "@eslint/js": ^8.36.0 + "@polkadot/dev-test": ^0.72.1 + "@polkadot/dev-ts": ^0.72.1 "@rollup/plugin-alias": ^4.0.3 "@rollup/plugin-commonjs": ^24.0.1 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -519,7 +540,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: 8ff97a2909a23f01bed99625c9f4416ab6814f8b18be88539afe4eef1d40ce7cc61934e9da5bdea93b88c0fd08ffc8e9d0cbb3f801197c90a793fe03b3cbf5c3 + checksum: 55a396d13dc032d8f77c41e2e3857266e364bad99567bed9d209c0f6563052925624326c36a771cbf32ccd6b315039fc318a54da2b932dbbe57034089c798422 languageName: node linkType: hard @@ -7418,7 +7439,7 @@ fsevents@~2.3.2: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.71.11 + "@polkadot/dev": ^0.72.1 "@polkadot/typegen": "workspace:packages/typegen" "@types/node": ^18.15.3 languageName: unknown