Bump deps w/ export ordering (#5614)

This commit is contained in:
Jaco
2023-04-26 12:40:14 +03:00
committed by GitHub
parent cd440ea3c4
commit a6adeb739f
30 changed files with 162 additions and 127 deletions
+2
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2023 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all named
export { Abi } from './Abi/index.js';
export { packageInfo } from './packageInfo.js';
// all starred
export * from './promise/index.js';
export * from './rx/index.js';
@@ -5,7 +5,7 @@ export { default as delegator } from './delegator.json' assert { type: 'json' };
export { default as dns } from './dns.json' assert { type: 'json' };
export { default as erc20 } from './erc20.json' assert { type: 'json' };
export { default as erc721 } from './erc721.json' assert { type: 'json' };
export { default as flipper } from './flipper.json' assert { type: 'json' };
export { default as flipperBundle } from './flipper.contract.json' assert { type: 'json' };
export { default as flipper } from './flipper.json' assert { type: 'json' };
export { default as incrementer } from './incrementer.json' assert { type: 'json' };
export { default as multisigPlain } from './multisig_plain.json' assert { type: 'json' };
+2 -2
View File
@@ -4,8 +4,8 @@
export * from './accountId.js';
export * from './flags.js';
export * from './idAndIndex.js';
export * from './idToIndex.js';
export * from './identity.js';
export * from './indexToId.js';
export * from './idToIndex.js';
export * from './indexes.js';
export * from './indexToId.js';
export * from './info.js';
+1 -1
View File
@@ -4,9 +4,9 @@
export * from './bestNumber.js';
export * from './bestNumberFinalized.js';
export * from './bestNumberLag.js';
export * from './getHeader.js';
export * from './getBlock.js';
export * from './getBlockByNumber.js';
export * from './getHeader.js';
export * from './subscribeFinalizedHeads.js';
export * from './subscribeNewBlocks.js';
export * from './subscribeNewHeads.js';
+1 -1
View File
@@ -3,13 +3,13 @@
export * from './account.js';
export * from './currentPoints.js';
export * from './electedInfo.js';
export * from './erasExposure.js';
export * from './erasHistoric.js';
export * from './erasPoints.js';
export * from './erasPrefs.js';
export * from './erasRewards.js';
export * from './erasSlashes.js';
export * from './electedInfo.js';
export * from './keys.js';
export * from './overview.js';
export * from './ownExposure.js';
+1 -1
View File
@@ -9,8 +9,8 @@ import type { BN } from '@polkadot/util';
import type { ExactDerive } from './derive.js';
export * from './accounts/types.js';
export * from './balances/types.js';
export * from './bagsList/types.js';
export * from './balances/types.js';
export * from './council/types.js';
export * from './crowdloan/types.js';
export * from './democracy/types.js';
+2
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2023 @polkadot/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all named
export { drr, memo } from '@polkadot/rpc-core';
// all starred
export * from './approvalFlagsToBools.js';
export * from './blockNumber.js';
export * from './cache.js';
+3
View File
@@ -3,11 +3,14 @@
import '@polkadot/rpc-augment';
// all external
export { Keyring } from '@polkadot/keyring';
export { HttpProvider, ScProvider, WsProvider } from '@polkadot/rpc-provider';
// all named
export { packageInfo } from './packageInfo.js';
export { SubmittableResult } from './submittable/index.js';
// all starred
export * from './promise/index.js';
export * from './rx/index.js';
+8 -5
View File
@@ -18,17 +18,20 @@ import type { ApiBase } from '../base/index.js';
import type { SubmittableExtrinsic } from '../types/submittable.js';
import type { AllDerives } from '../util/decorate.js';
export * from '@polkadot/api-base/types';
// types
export type { Signer, SignerResult } from '@polkadot/types/types';
// all named
export { ApiBase } from '../base/index.js';
// all starred
export * from '@polkadot/api/types/calls';
export * from '@polkadot/api/types/consts';
export * from '@polkadot/api/types/errors';
export * from '@polkadot/api/types/events';
export * from '@polkadot/api/types/storage';
export * from '@polkadot/api/types/submittable';
export type { Signer, SignerResult } from '@polkadot/types/types';
export { ApiBase } from '../base/index.js';
export * from '@polkadot/api-base/types';
// A smaller interface of ApiRx, used in derive and in SubmittableExtrinsic
export interface ApiInterfaceRx extends ApiInterfaceBase {
+4 -2
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2023 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './decorate.js';
// all named
export { filterEvents } from './filterEvents.js';
export { isKeyringPair } from './isKeyringPair.js';
export { l } from './logging.js';
// all starred
export * from './decorate.js';
+1 -2
View File
@@ -1,8 +1,7 @@
// Copyright 2017-2023 @polkadot/rpc-provider authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { packageInfo } from './packageInfo.js';
export { HttpProvider } from './http/index.js';
export { packageInfo } from './packageInfo.js';
export { ScProvider } from './substrate-connect/index.js';
export { WsProvider } from './ws/index.js';
+2
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all named
export { packageInfo } from './packageInfo.js';
// all starred
export * from './abstract/index.js';
export * from './base/index.js';
export * from './extended/index.js';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { bool, bool as Bool } from './Bool.js';
export { bool as Bool, bool } from './Bool.js';
export { CodecDate, CodecDate as Date } from './Date.js';
export { Float } from './Float.js';
export { Json } from './Json.js';
+16 -16
View File
@@ -1,19 +1,19 @@
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { f32, f32 as F32 } from './F32.js';
export { f64, f64 as F64 } from './F64.js';
export { i8, i8 as I8 } from './I8.js';
export { i16, i16 as I16 } from './I16.js';
export { i32, i32 as I32 } from './I32.js';
export { i64, i64 as I64 } from './I64.js';
export { i128, i128 as I128 } from './I128.js';
export { i256, i256 as I256 } from './I256.js';
export { isize, isize as ISize } from './ISize.js';
export { u8, u8 as U8 } from './U8.js';
export { u16, u16 as U16 } from './U16.js';
export { u32, u32 as U32 } from './U32.js';
export { u64, u64 as U64 } from './U64.js';
export { u128, u128 as U128 } from './U128.js';
export { u256, u256 as U256 } from './U256.js';
export { usize, usize as USize } from './USize.js';
export { f32 as F32, f32 } from './F32.js';
export { f64 as F64, f64 } from './F64.js';
export { i8 as I8, i8 } from './I8.js';
export { i16 as I16, i16 } from './I16.js';
export { i32 as I32, i32 } from './I32.js';
export { i64 as I64, i64 } from './I64.js';
export { i128 as I128, i128 } from './I128.js';
export { i256 as I256, i256 } from './I256.js';
export { isize as ISize, isize } from './ISize.js';
export { u8 as U8, u8 } from './U8.js';
export { u16 as U16, u16 } from './U16.js';
export { u32 as U32, u32 } from './U32.js';
export { u64 as U64, u64 } from './U64.js';
export { u128 as U128, u128 } from './U128.js';
export { u256 as U256, u256 } from './U256.js';
export { usize as USize, usize } from './USize.js';
+2 -2
View File
@@ -6,7 +6,7 @@ export { compareMap } from './compareMap.js';
export { compareSet } from './compareSet.js';
export { decodeU8a, decodeU8aStruct, decodeU8aVec } from './decodeU8a.js';
export { mapToTypeMap } from './mapToTypeMap.js';
export { typeToConstructor } from './typeToConstructor.js';
export { sanitize } from './sanitize.js';
export { sortAsc, sortSet, sortMap } from './sortValues.js';
export { sortAsc, sortMap, sortSet } from './sortValues.js';
export { typesToMap } from './typesToMap.js';
export { typeToConstructor } from './typeToConstructor.js';
+2
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all named
export { packageInfo } from './packageInfo.js';
export { TypeDefInfo } from './types/index.js';
// all starred
export * from './create/index.js';
export * from './util/index.js';
+2
View File
@@ -3,7 +3,9 @@
import './augmentRegistry.js';
// all types
export type { CodecCreateOptions as CreateOptions } from '@polkadot/types-codec/types';
// all starred
export * from './lookup.js';
export * from './types.js';
+3
View File
@@ -1,8 +1,11 @@
// Copyright 2017-2023 @polkadot/types-known authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all external
export { mapXcmTypes } from '@polkadot/types-create';
// all named
export { packageInfo } from './packageInfo.js';
// all starred
export * from './util.js';
+11 -7
View File
@@ -4,15 +4,19 @@
import * as typeDefinitions from './interfaces/definitions.js';
import rpcDefinitions from './interfaces/jsonrpc.js';
// all external
export { TypeDefInfo } from '@polkadot/types-create';
// all named
export { convertSiV0toV1 } from './metadata/PortableRegistry/index.js';
export { packageInfo } from './packageInfo.js';
export { unwrapStorageType } from './util/index.js';
// all starred
export * from './codec/index.js';
export * from './create/index.js';
export * from './index.types.js';
export * from './metadata/index.js';
export { TypeDefInfo } from '@polkadot/types-create';
export { convertSiV0toV1 } from './metadata/PortableRegistry/index.js';
export { unwrapStorageType } from './util/index.js';
export { packageInfo } from './packageInfo.js';
export { typeDefinitions, rpcDefinitions };
// local
export { rpcDefinitions, typeDefinitions };
+1 -1
View File
@@ -6,4 +6,4 @@
// expand with slight care (for instance, Length is really only used internally to
// others, so there _should_ not be need for direct use)
export { BTreeMap, BTreeSet, Compact, DoNotConstruct, Enum, HashMap, Int, Json, Linkage, CodecMap, Map, Option, Range, RangeInclusive, Raw, Result, CodecSet, Set, Struct, Tuple, UInt, U8aFixed, Vec, VecFixed, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
export { BTreeMap, BTreeSet, CodecMap, CodecSet, Compact, DoNotConstruct, Enum, HashMap, Int, Json, Linkage, Map, Option, Range, RangeInclusive, Raw, Result, Set, Struct, Tuple, U8aFixed, UInt, Vec, VecFixed, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
+2
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all external
export * from '@polkadot/types-create';
// all local
export * from './createClass.js';
export * from './createType.js';
export * from './lazy.js';
+2
View File
@@ -1,7 +1,9 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all types
export type { CodecCreateOptions as CreateOptions } from '@polkadot/types-codec/types';
export type { TypeDef } from '@polkadot/types-create/types';
// all enums
export { TypeDefInfo } from '@polkadot/types-create';
+3 -1
View File
@@ -1,11 +1,13 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all named
export { GenericExtrinsic } from './Extrinsic.js';
export { GenericExtrinsicEra, MortalEra as GenericMortalEra, ImmortalEra as GenericImmortalEra } from './ExtrinsicEra.js';
export { GenericExtrinsicEra, ImmortalEra as GenericImmortalEra, MortalEra as GenericMortalEra } from './ExtrinsicEra.js';
export { GenericExtrinsicPayload } from './ExtrinsicPayload.js';
export { GenericExtrinsicPayloadUnknown } from './ExtrinsicPayloadUnknown.js';
export { GenericExtrinsicUnknown } from './ExtrinsicUnknown.js';
export { GenericSignerPayload } from './SignerPayload.js';
// all starred
export * from './v4/index.js';
+5 -3
View File
@@ -1,8 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from '../ethereum/index.js';
// all named
export { GenericAccountId, GenericAccountId as GenericAccountId32, GenericAccountId33 } from './AccountId.js';
export { GenericAccountIndex } from './AccountIndex.js';
export { GenericBlock } from './Block.js';
@@ -11,5 +10,8 @@ export { GenericChainProperties } from './ChainProperties.js';
export { GenericConsensusEngineId } from './ConsensusEngineId.js';
export { GenericEvent, GenericEventData } from './Event.js';
export { GenericLookupSource } from './LookupSource.js';
export { GenericMultiAddress, GenericMultiAddress as GenericAddress } from './MultiAddress.js';
export { GenericMultiAddress as GenericAddress, GenericMultiAddress } from './MultiAddress.js';
export { GenericVote } from './Vote.js';
// all starred
export * from '../ethereum/index.js';
+1 -1
View File
@@ -5,8 +5,8 @@ export * from './essentials.js';
// substrate types
export { default as assets } from './assets/definitions.js';
export { default as authorship } from './authorship/definitions.js';
export { default as aura } from './aura/definitions.js';
export { default as authorship } from './authorship/definitions.js';
export { default as babe } from './babe/definitions.js';
export { default as balances } from './balances/definitions.js';
export { default as beefy } from './beefy/definitions.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { decorateConstants, decorateExtrinsics, decorateStorage, expandMetadata } from './decorate/index.js';
export { Metadata } from './Metadata.js';
export { PortableRegistry } from './PortableRegistry/index.js';
export { decorateConstants, decorateExtrinsics, decorateStorage, expandMetadata } from './decorate/index.js';
+4 -1
View File
@@ -4,7 +4,10 @@
/**
* @summary Type definitions that are used in the system
*/
export { BitVec, bool, Bool, Bytes, f32, F32, f64, F64, i8, I8, i16, I16, i32, I32, i64, I64, i128, I128, i256, I256, isize, ISize, Null, OptionBool, Text, Type, u8, U8, u16, U16, u32, U32, u64, U64, u128, U128, u256, U256, usize, USize } from '@polkadot/types-codec';
// all external
export { BitVec, Bool, bool, Bytes, F32, f32, F64, f64, I8, i8, I16, i16, I32, i32, I64, i64, I128, i128, I256, i256, ISize, isize, Null, OptionBool, Text, Type, U8, u8, U16, u16, U32, u32, U64, u64, U128, u128, U256, u256, USize, usize } from '@polkadot/types-codec';
// all local
export { Data } from './Data.js';
export { StorageKey } from './StorageKey.js';
+1 -1
View File
@@ -3,7 +3,7 @@
import type { Codec } from '@polkadot/types-codec/types';
export type { AnyJson, AnyFunction, AnyNumber, AnyString, AnyTuple, AnyU8a, ArgsDef, BareOpts, Codec, CodecClass, CodecClass as Constructor, CodecTo, Inspect } from '@polkadot/types-codec/types';
export type { AnyFunction, AnyJson, AnyNumber, AnyString, AnyTuple, AnyU8a, ArgsDef, BareOpts, Codec, CodecClass, CodecTo, CodecClass as Constructor, Inspect } from '@polkadot/types-codec/types';
// helper to extract keys from an array
export type ArrayElementType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType>