* Bump dev

* Change ref types

* Fix build
This commit is contained in:
Jaco
2023-03-15 17:14:35 +02:00
committed by GitHub
parent 0c5211c1a6
commit 058edbe9c5
130 changed files with 156 additions and 135 deletions
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeDefInfo } from '@polkadot/types-create';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { CodecSet, Int } from '@polkadot/types-codec';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
import { GenericAccountIndex as AccountIndex } from '../generic/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
import { GenericExtrinsicEra as ExtrinsicEra } from './index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { u8aToHex } from '@polkadot/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { createTestPairs } from '@polkadot/keyring/testingPairs';
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { createTestPairs } from '@polkadot/keyring/testingPairs';
import metadataStatic from '@polkadot/types-support/metadata/static-substrate';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { BN } from '@polkadot/util';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable sort-keys */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import metadataStatic from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
import { CID_AURA, GenericConsensusEngineId as ConsensusEngineId } from './ConsensusEngineId.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
import { GenericAccountId as AccountId, GenericAccountIndex as AccountIndex, GenericLookupSource as LookupSource } from './index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
import { GenericVote } from './index.js';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types-known authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/registry.js';
import { getAliasTypes } from './alias.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { hexToU8a } from '@polkadot/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { createType, TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
import { MAGIC_NUMBER, MagicNumber } from './MagicNumber.js';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import type { HexString } from '@polkadot/util/types';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../../create/index.js';
import { PortableRegistry } from './index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import type { HexString } from '@polkadot/util/types';
import type { BlockNumber } from '../../../interfaces/index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { createTestPairs } from '@polkadot/keyring/testingPairs';
import metadataStatic from '@polkadot/types-support/metadata/v13/substrate-hex';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { u32 } from '@polkadot/types-codec';
import json from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { u8aToHex } from '@polkadot/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { stringToU8a } from '@polkadot/util';
import { xxhashAsU8a } from '@polkadot/util-crypto';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import metadataStatic from '@polkadot/types-support/metadata/static-substrate';
import { compactAddLength, u8aToU8a } from '@polkadot/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { createTestPairs } from '@polkadot/keyring/testingPairs';
import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import metadataStatic from '@polkadot/types-support/metadata/static-substrate';
import { compactAddLength, u8aToU8a } from '@polkadot/util';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { flattenUniq } from './index.js';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import type { Registry } from '@polkadot/types-codec/types';
import type { Check } from './types.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import staticLatest from '@polkadot/types-support/metadata/static-substrate';
import staticV13 from '@polkadot/types-support/metadata/v13/substrate-hex';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import { TypeRegistry } from '../create/index.js';
import { Data } from './index.js';
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev/node/test/node.d.ts" />
/// <reference types="@polkadot/dev-test/node.d.ts" />
import rpcDataV11 from '@polkadot/types-support/metadata/v11/substrate-hex';