diff --git a/package.json b/package.json index ce8d6d9dcb..b86e6427aa 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "test:one": "polkadot-dev-run-test --env node" }, "devDependencies": { - "@polkadot/dev": "^0.72.4", + "@polkadot/dev": "^0.72.8", "@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 237a73fbd1..c6db61445d 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 5c45cf7f06..87bf91a7ec 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 fc8ee99a57..a5a8a47014 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 48a51e1356..624c741517 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 d7f2b2bb7c..c651e0fe92 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 3042b9e9f4..722372afee 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 a279bd30d4..057a1dc0ee 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 43965bf98c..4a4f31c23d 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 4b7631ff40..25ac6df501 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 0c91ee6c3c..c3907b4bc6 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 5d516e0ac4..56b206be40 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 842f63df8e..cb85d9f9bc 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 3f56c2ecc2..90d072d9bf 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 6753e37fc8..1f5d54eb58 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 72284aeb3c..2c8541b579 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/package.json b/packages/rpc-provider/package.json index f7123b8cdd..fdc60f6df6 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -35,9 +35,9 @@ "tslib": "^2.5.0" }, "devDependencies": { - "@substrate/connect": "0.7.20" + "@substrate/connect": "0.7.21" }, "optionalDependencies": { - "@substrate/connect": "0.7.20" + "@substrate/connect": "0.7.21" } } diff --git a/packages/rpc-provider/src/coder/decodeResponse.spec.ts b/packages/rpc-provider/src/coder/decodeResponse.spec.ts index b5bdc7e7aa..9a6d84f5ad 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 f4d4432a2d..b910352786 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 a735b70e02..c93d8865b0 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 3e5ecb4d4d..d0d62c6e7a 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 3bbc852635..51678e85f0 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 15b227fda5..4661fbc433 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 e1c54fbb76..f7507e4434 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 7c24c594f5..325f803291 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 0f60e1fdde..8f0ba86be3 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 12d91e567d..4e1ea486ec 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 5bc6753b96..eaf3a5f815 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 1ebe7a9c2a..8aea257901 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 e1270dc5d9..7df0332c24 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 4ea93e9d88..a4a34df2cc 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 3025b63d49..28fc56f11d 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 5e6860bfd1..7b10673318 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 1813e55206..abe75c9c78 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 ca897be936..e6e7dd58f9 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 ed26fa9476..1c013e3292 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 de30e3384f..ad69ffa58e 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 fd2a7b1aa0..e50459da56 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 2d840e2b81..67a974764e 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 23cdcab502..2ade5699b6 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 1e3a1409dc..852b004db2 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 fa27489b25..a01bd095de 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 f2b7b2eecb..692ae81b2c 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 2fe39eb951..c0bfba48c6 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 f88a248ab3..94a1788f96 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 0ce8b73a2a..ecf3c06d02 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 86926b75ed..be3b9200cf 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 c89a9c1489..4e540f130e 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 65c051170f..8a60baa423 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 fdc8ecb9b2..9eaaf2f48b 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 f2b2a0c850..581fc2fd7e 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 98a74dc187..93747cbfdb 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 57d928989a..4fcbf55ec9 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 7309273992..8f20ea0870 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 a43964189f..e7f6d14687 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 6dd08b6097..ab1f10f81f 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 7f86777f8f..6e7d801b75 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 33bf48ab3e..fb2c0dc624 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 e972267078..acdb18cdc6 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 342783921c..6e61ac3e2b 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 70f36bf056..82bf0ad481 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 656119057d..47fe0170b9 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 dcc1a529a4..77ec03aec8 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 2adc09e58e..2a702db7d2 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 ac1eaef0ff..7e7a9c54e1 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 af756382bf..fdd1f440e5 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 8db3076813..437c9b8367 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 2e52bf6fcb..7af9382182 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 f979b55895..b3ebb16dfb 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 3e76ad33d8..1a996a5637 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 6578453995..6fa6bddc97 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 87a11a7fda..236df2ba04 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 af1c2a0cc8..3e45de91cf 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 e9ff0f7691..387ffb6877 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 339e8e80e4..f4155b9e6d 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 908a41ccaa..d46de4ab07 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 8b8c86b963..c98f82e8b1 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 c9d1605b37..4b890ce377 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 e5ece5450d..f0d671bbc8 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 c620296a09..d0e51da62e 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 03fe6f19dc..7e9b25811e 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 362703c0d0..7128a29c41 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 f67739da95..0f64694ff4 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 3145965be1..86f5359c08 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 03e46d4a15..97e5bfce4a 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 2e0b32de06..d7a4364c78 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 4fe740632e..b7c907cfcb 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 d9be304ddf..f44cf28c8e 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 518b764d61..fb36a8e5b2 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 35352b6935..9227300962 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 341ffa5ae9..88f8f7d473 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 defb84f434..17667a78b6 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 f71d481845..f29a292e84 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 71a7006c54..0cdca2eda9 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 e11e577399..d6945676cb 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 8f2ac66711..af9a115139 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 c200971678..3034eb6342 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 917f83e4cc..a5931d8c8e 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 5d2a6984f9..5ca4eb14b9 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 83d9abf5e0..477d12f0af 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 d457203673..cd43261102 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 1e299cf427..81597393c3 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 1d53e43306..90166ad5a4 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 aa1b48de72..bc24df22a0 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 4ceeb182e2..ac102889c1 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 af8aa4bc1b..b637c7b042 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 61df8e6d5e..79ed236024 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 ae810155d6..8b8b5ac293 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 794858b473..3c23de01ad 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 e6458320cb..121523eee8 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 51b96c63a2..bc59f1a965 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 1d21295ef4..36e1c49051 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 56d5cd9954..bcdd526492 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 6bd5f2c665..6c891f20d1 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 8c78c42c6c..4dd35e8ece 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 057c2f8ab9..691713ec69 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 e8c28454cc..5b00ebc208 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 748524c936..fef7c1dbd9 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 63a66010c3..4fb1b6ede4 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 c84948d1dd..9d0b71be6a 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 66fe84d2ef..ba4b4114a7 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 113423ccce..842ba29921 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 67b1569d5c..34598d9f80 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 64f5e7630f..bfc903ba99 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 6eb4c9971a..9db72511fd 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 2f193dc9ee..ff2fc64439 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 9c62610927..a8420da5c9 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 c7dfc96db2..56b45a6562 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 7c2fc8259d..00ce0d53ea 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 095f6f7de7..7ab28e59be 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 d30c640fa9..bfdbd1e8cb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -452,33 +452,34 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/dev-test@npm:^0.72.4": - version: 0.72.4 - resolution: "@polkadot/dev-test@npm:0.72.4" +"@polkadot/dev-test@npm:^0.72.8": + version: 0.72.8 + resolution: "@polkadot/dev-test@npm:0.72.8" dependencies: + jsdom: ^21.1.1 tslib: ^2.5.0 - checksum: 029b88baacc60285fc0e6f41a1bcd4bcaf81329c41f38d12445e055fcdc4003570908b098a76b0f59850e0cf646f285de55273e4885db8d4823a4c02f16debb1 + checksum: d691ba15cd4a7992b677b7ec64f4ef7b1cb5d5c3575b11f6728b2757228829fdda404db295f4db1af4eddadaa9795e1802ba3da230ce22fe32ba6ebc0261a3fc languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.72.4": - version: 0.72.4 - resolution: "@polkadot/dev-ts@npm:0.72.4" +"@polkadot/dev-ts@npm:^0.72.8": + version: 0.72.8 + resolution: "@polkadot/dev-ts@npm:0.72.8" dependencies: json5: ^2.2.3 tslib: ^2.5.0 typescript: ^4.9.5 - checksum: b2f4529324ee0835db771e9815590fd886278870119b210fde65e8f06ab3b3633f4b0a1339df464bed951c1db578c0949cb3f28b7c135feb0edc5d2d056e99b9 + checksum: 3dff1b029f7a72a4ee4a9f0ae0125422bafea8cf07192639aa672997fa273ea05c50f8c4e84c134f21e7a038385108ada3094652e35a79abdae95b1a650b25ba languageName: node linkType: hard -"@polkadot/dev@npm:^0.72.4": - version: 0.72.4 - resolution: "@polkadot/dev@npm:0.72.4" +"@polkadot/dev@npm:^0.72.8": + version: 0.72.8 + resolution: "@polkadot/dev@npm:0.72.8" dependencies: "@eslint/js": ^8.36.0 - "@polkadot/dev-test": ^0.72.4 - "@polkadot/dev-ts": ^0.72.4 + "@polkadot/dev-test": ^0.72.8 + "@polkadot/dev-ts": ^0.72.8 "@rollup/plugin-alias": ^4.0.3 "@rollup/plugin-commonjs": ^24.0.1 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -504,14 +505,13 @@ __metadata: eslint-plugin-sort-destructure-keys: ^1.5.0 gh-pages: ^5.0.0 gh-release: ^7.0.2 - jsdom: ^21.1.1 madge: ^6.0.0 rollup: ^3.19.1 rollup-plugin-cleanup: ^3.2.1 tap-parser: ^12.0.1 tslib: ^2.5.0 typescript: ^4.9.5 - webpack: ^5.76.1 + webpack: ^5.76.2 webpack-cli: ^5.0.1 webpack-dev-server: ^4.12.0 webpack-merge: ^5.8.0 @@ -541,7 +541,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: f5d8badf0274ff683ac45433b6ace2ca14eb889967f9f42cf18dc12fc34337f5d4e5e6b3c436c77ccf68d87880feadd1842ff77e11f3a76e6c7731fe6e57692f + checksum: 5208193b7d81290298a81fc2c229614ea28fee3d0166a1fa30128aba40101b3c659e080639a36acfa04499aae1ccd0f63bcf1790941e2ab02d7e0490c55c35b5 languageName: node linkType: hard @@ -608,7 +608,7 @@ __metadata: "@polkadot/x-fetch": ^11.0.2 "@polkadot/x-global": ^11.0.2 "@polkadot/x-ws": ^11.0.2 - "@substrate/connect": 0.7.20 + "@substrate/connect": 0.7.21 eventemitter3: ^5.0.0 mock-socket: ^9.2.1 nock: ^13.3.0 @@ -1052,14 +1052,14 @@ __metadata: languageName: node linkType: hard -"@substrate/connect@npm:0.7.20": - version: 0.7.20 - resolution: "@substrate/connect@npm:0.7.20" +"@substrate/connect@npm:0.7.21": + version: 0.7.21 + resolution: "@substrate/connect@npm:0.7.21" dependencies: "@substrate/connect-extension-protocol": ^1.0.1 eventemitter3: ^4.0.7 - smoldot: 0.7.11 - checksum: 397419d77fa7811e602d4964450660f5e95dd501dd94e7b6bced7cd8a41ebacb889faed6708b0a621b81ab552c5aa9aa5786b25cf0d65de725a8bf8f5e3a9bc8 + smoldot: 1.0.0 + checksum: 63fd91ed42ed5e36158c7fb9df916fad31f3ee19f93eddd16bd7ebea934c1aecac1cbc1c01ddffcb9623b618b52fe2ece5bbba959626ee129eafaaa199b78389 languageName: node linkType: hard @@ -7449,7 +7449,7 @@ fsevents@~2.3.2: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.72.4 + "@polkadot/dev": ^0.72.8 "@polkadot/typegen": "workspace:packages/typegen" "@types/node": ^18.15.3 languageName: unknown @@ -7794,13 +7794,13 @@ fsevents@~2.3.2: languageName: node linkType: hard -"smoldot@npm:0.7.11": - version: 0.7.11 - resolution: "smoldot@npm:0.7.11" +"smoldot@npm:1.0.0": + version: 1.0.0 + resolution: "smoldot@npm:1.0.0" dependencies: pako: ^2.0.4 ws: ^8.8.1 - checksum: 99861d92d28eeb3c150b518ecc25de1f403ca9a3134b8d240071e825a6b8d2da7e2c13e52c2a692a425e643b74a314ed0598bfb66a9482583a265b5bb464df7f + checksum: 507126c07a6512ea7d19fb2041cc0f78b8031a3f76471b491f19db81e61dbe7ebbd633c23951e9f8e7c3aeee3fc4c0b508dee5b925bfb7d6640ce0853ce6e3ef languageName: node linkType: hard @@ -8891,9 +8891,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack@npm:^5.76.1": - version: 5.76.1 - resolution: "webpack@npm:5.76.1" +"webpack@npm:^5.76.2": + version: 5.76.2 + resolution: "webpack@npm:5.76.2" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^0.0.51 @@ -8924,7 +8924,7 @@ fsevents@~2.3.2: optional: true bin: webpack: bin/webpack.js - checksum: b01fe0bc2dbca0e10d290ddb0bf81e807a031de48028176e2b21afd696b4d3f25ab9accdad888ef4a1f7c7f4d41f13d5bf2395b7653fdf3e5e3dafa54e56dab2 + checksum: 86db98299a175c371031449c26077e87b33acd8f45de7f7945ed4b9b37c8ca11bc5169af9c44743efccd4d55e08042a3aa3a3bc42aff831309a0821ffbcd395e languageName: node linkType: hard