@polkadot/api-augment 9.14.1 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.js +0 -4
- package/bundle.js +2 -5
- package/cjs/base.js +1 -1
- package/cjs/bundle.js +4 -11
- package/cjs/detectOther.js +5 -12
- package/cjs/detectPackage.js +6 -11
- package/cjs/index.js +3 -15
- package/cjs/kusama/consts.js +2 -1
- package/cjs/kusama/errors.js +2 -1
- package/cjs/kusama/events.js +2 -1
- package/cjs/kusama/index.js +1 -1
- package/cjs/kusama/query.js +2 -1
- package/cjs/kusama/registry.js +1 -1
- package/cjs/kusama/runtime.js +2 -1
- package/cjs/kusama/tx.js +2 -1
- package/cjs/packageInfo.js +2 -16
- package/cjs/polkadot/consts.js +2 -1
- package/cjs/polkadot/errors.js +2 -1
- package/cjs/polkadot/events.js +2 -1
- package/cjs/polkadot/index.js +1 -1
- package/cjs/polkadot/query.js +2 -1
- package/cjs/polkadot/registry.js +1 -1
- package/cjs/polkadot/runtime.js +2 -1
- package/cjs/polkadot/tx.js +2 -1
- package/cjs/substrate/consts.js +2 -1
- package/cjs/substrate/errors.js +2 -1
- package/cjs/substrate/events.js +2 -1
- package/cjs/substrate/index.js +1 -1
- package/cjs/substrate/query.js +2 -1
- package/cjs/substrate/registry.js +1 -1
- package/cjs/substrate/runtime.js +2 -1
- package/cjs/substrate/tx.js +2 -1
- package/detectOther.js +0 -3
- package/detectPackage.js +2 -7
- package/index.js +2 -5
- package/kusama/consts.js +1 -7
- package/kusama/errors.d.ts +4 -0
- package/kusama/errors.js +1 -7
- package/kusama/events.d.ts +2 -2
- package/kusama/events.js +1 -7
- package/kusama/index.js +8 -11
- package/kusama/query.d.ts +20 -1
- package/kusama/query.js +1 -7
- package/kusama/registry.js +0 -3
- package/kusama/runtime.js +1 -7
- package/kusama/tx.d.ts +258 -638
- package/kusama/tx.js +1 -7
- package/package.json +12 -9
- package/packageInfo.js +1 -11
- package/polkadot/consts.js +1 -7
- package/polkadot/errors.d.ts +4 -0
- package/polkadot/errors.js +1 -7
- package/polkadot/events.d.ts +2 -2
- package/polkadot/events.js +1 -7
- package/polkadot/index.js +8 -11
- package/polkadot/query.d.ts +20 -1
- package/polkadot/query.js +1 -7
- package/polkadot/registry.js +0 -3
- package/polkadot/runtime.js +1 -7
- package/polkadot/tx.d.ts +209 -478
- package/polkadot/tx.js +1 -7
- package/substrate/consts.d.ts +4 -0
- package/substrate/consts.js +1 -7
- package/substrate/errors.d.ts +43 -4
- package/substrate/errors.js +1 -7
- package/substrate/events.d.ts +43 -11
- package/substrate/events.js +1 -7
- package/substrate/index.js +8 -11
- package/substrate/query.d.ts +50 -16
- package/substrate/query.js +1 -7
- package/substrate/registry.js +0 -3
- package/substrate/runtime.js +1 -7
- package/substrate/tx.d.ts +364 -731
- package/substrate/tx.js +1 -7
package/kusama/tx.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
1
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/submittable';
|
|
7
|
-
|
|
8
|
-
// declare module
|
|
2
|
+
import '@polkadot/api-base/types/submittable';
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "
|
|
23
|
+
"version": "10.0.1",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -92,7 +92,10 @@
|
|
|
92
92
|
"require": "./cjs/kusama/tx.js",
|
|
93
93
|
"default": "./kusama/tx.js"
|
|
94
94
|
},
|
|
95
|
-
"./package.json":
|
|
95
|
+
"./package.json": {
|
|
96
|
+
"require": "./cjs/package.json",
|
|
97
|
+
"default": "./package.json"
|
|
98
|
+
},
|
|
96
99
|
"./packageInfo.js": {
|
|
97
100
|
"types": "./packageInfo.d.ts",
|
|
98
101
|
"require": "./cjs/packageInfo.js",
|
|
@@ -185,12 +188,12 @@
|
|
|
185
188
|
}
|
|
186
189
|
},
|
|
187
190
|
"dependencies": {
|
|
188
|
-
"@
|
|
189
|
-
"@polkadot/
|
|
190
|
-
"@polkadot/
|
|
191
|
-
"@polkadot/types": "
|
|
192
|
-
"@polkadot/types-
|
|
193
|
-
"@polkadot/
|
|
194
|
-
"
|
|
191
|
+
"@polkadot/api-base": "10.0.1",
|
|
192
|
+
"@polkadot/rpc-augment": "10.0.1",
|
|
193
|
+
"@polkadot/types": "10.0.1",
|
|
194
|
+
"@polkadot/types-augment": "10.0.1",
|
|
195
|
+
"@polkadot/types-codec": "10.0.1",
|
|
196
|
+
"@polkadot/util": "^11.0.1",
|
|
197
|
+
"tslib": "^2.5.0"
|
|
195
198
|
}
|
|
196
199
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
// Do not edit, auto-generated by @polkadot/dev
|
|
5
|
-
|
|
6
|
-
export const packageInfo = {
|
|
7
|
-
name: '@polkadot/api-augment',
|
|
8
|
-
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
|
-
type: 'esm',
|
|
10
|
-
version: '9.14.1'
|
|
11
|
-
};
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.0.1' };
|
package/polkadot/consts.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
1
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/consts';
|
|
7
|
-
|
|
8
|
-
// declare module
|
|
2
|
+
import '@polkadot/api-base/types/consts';
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -852,6 +852,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
852
852
|
* pool at a time.
|
|
853
853
|
**/
|
|
854
854
|
AccountBelongsToOtherPool: AugmentedError<ApiType>;
|
|
855
|
+
/**
|
|
856
|
+
* Bonding extra is restricted to the exact pending reward amount.
|
|
857
|
+
**/
|
|
858
|
+
BondExtraRestricted: AugmentedError<ApiType>;
|
|
855
859
|
/**
|
|
856
860
|
* The pools state cannot be changed.
|
|
857
861
|
**/
|
package/polkadot/errors.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
1
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/errors';
|
|
7
|
-
|
|
8
|
-
// declare module
|
|
2
|
+
import '@polkadot/api-base/types/errors';
|
package/polkadot/events.d.ts
CHANGED
|
@@ -872,9 +872,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
872
872
|
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
|
873
873
|
* can never change.
|
|
874
874
|
**/
|
|
875
|
-
RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>,
|
|
875
|
+
RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], {
|
|
876
876
|
root: Option<AccountId32>;
|
|
877
|
-
|
|
877
|
+
bouncer: Option<AccountId32>;
|
|
878
878
|
nominator: Option<AccountId32>;
|
|
879
879
|
}>;
|
|
880
880
|
/**
|
package/polkadot/events.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
1
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/events';
|
|
7
|
-
|
|
8
|
-
// declare module
|
|
2
|
+
import '@polkadot/api-base/types/events';
|
package/polkadot/index.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import "./registry.js";
|
|
10
|
-
import "./runtime.js";
|
|
11
|
-
import "./tx.js";
|
|
1
|
+
import '../base.js';
|
|
2
|
+
import './consts.js';
|
|
3
|
+
import './errors.js';
|
|
4
|
+
import './events.js';
|
|
5
|
+
import './query.js';
|
|
6
|
+
import './registry.js';
|
|
7
|
+
import './runtime.js';
|
|
8
|
+
import './tx.js';
|
package/polkadot/query.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool,
|
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
7
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotPrimitivesVstagingExecutorParams, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
9
9
|
import type { Observable } from '@polkadot/types/types';
|
|
10
10
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
11
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -143,6 +143,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
143
143
|
* epoch.
|
|
144
144
|
**/
|
|
145
145
|
segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
146
|
+
/**
|
|
147
|
+
* A list of the last 100 skipped epochs and the corresponding session index
|
|
148
|
+
* when the epoch was skipped.
|
|
149
|
+
*
|
|
150
|
+
* This is only used for validating equivocation proofs. An equivocation proof
|
|
151
|
+
* must contains a key-ownership proof for a given session, therefore we need a
|
|
152
|
+
* way to tie together sessions and epoch indices, i.e. we need to validate that
|
|
153
|
+
* a validator was the owner of a given key on a given session, and what the
|
|
154
|
+
* active epoch index was during that session.
|
|
155
|
+
**/
|
|
156
|
+
skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
146
157
|
/**
|
|
147
158
|
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
148
159
|
**/
|
|
@@ -812,6 +823,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
812
823
|
* Storage for bonded pools.
|
|
813
824
|
**/
|
|
814
825
|
bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
826
|
+
/**
|
|
827
|
+
* Map from a pool member account to their opted claim permission.
|
|
828
|
+
**/
|
|
829
|
+
claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
815
830
|
/**
|
|
816
831
|
* Counter for the related counted storage map
|
|
817
832
|
**/
|
|
@@ -1196,6 +1211,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1196
1211
|
* The earliest session for which previous session info is stored.
|
|
1197
1212
|
**/
|
|
1198
1213
|
earliestStoredSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Executor parameter set for a given session index
|
|
1216
|
+
**/
|
|
1217
|
+
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1199
1218
|
/**
|
|
1200
1219
|
* Session information in a rolling window.
|
|
1201
1220
|
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
|
package/polkadot/query.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
1
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/storage';
|
|
7
|
-
|
|
8
|
-
// declare module
|
|
2
|
+
import '@polkadot/api-base/types/storage';
|
package/polkadot/registry.js
CHANGED
package/polkadot/runtime.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
1
|
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
// import type lookup before we augment - in some environments
|
|
5
|
-
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/calls';
|
|
7
|
-
|
|
8
|
-
// declare module
|
|
2
|
+
import '@polkadot/api-base/types/calls';
|