@polkadot/api-augment 9.1.1 → 9.2.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.
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/api-augment',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '9.1.1'
14
+ version: '9.2.1'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./cjs/detectPackage.js"
21
21
  ],
22
22
  "type": "module",
23
- "version": "9.1.1",
23
+ "version": "9.2.1",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -186,11 +186,11 @@
186
186
  },
187
187
  "dependencies": {
188
188
  "@babel/runtime": "^7.18.9",
189
- "@polkadot/api-base": "9.1.1",
190
- "@polkadot/rpc-augment": "9.1.1",
191
- "@polkadot/types": "9.1.1",
192
- "@polkadot/types-augment": "9.1.1",
193
- "@polkadot/types-codec": "9.1.1",
194
- "@polkadot/util": "^10.1.3"
189
+ "@polkadot/api-base": "9.2.1",
190
+ "@polkadot/rpc-augment": "9.2.1",
191
+ "@polkadot/types": "9.2.1",
192
+ "@polkadot/types-augment": "9.2.1",
193
+ "@polkadot/types-codec": "9.2.1",
194
+ "@polkadot/util": "^10.1.4"
195
195
  }
196
196
  }
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/api-augment',
6
6
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
7
  type: 'esm',
8
- version: '9.1.1'
8
+ version: '9.2.1'
9
9
  };
@@ -1783,7 +1783,11 @@ declare module '@polkadot/api-base/types/errors' {
1783
1783
  };
1784
1784
  stateTrieMigration: {
1785
1785
  /**
1786
- * bad witness data provided.
1786
+ * Bad child root provided.
1787
+ **/
1788
+ BadChildRoot: AugmentedError<ApiType>;
1789
+ /**
1790
+ * Bad witness data provided.
1787
1791
  **/
1788
1792
  BadWitness: AugmentedError<ApiType>;
1789
1793
  /**
@@ -1797,7 +1801,7 @@ declare module '@polkadot/api-base/types/errors' {
1797
1801
  **/
1798
1802
  KeyTooLong: AugmentedError<ApiType>;
1799
1803
  /**
1800
- * max signed limits not respected.
1804
+ * Max signed limits not respected.
1801
1805
  **/
1802
1806
  MaxSignedLimits: AugmentedError<ApiType>;
1803
1807
  /**
@@ -1808,10 +1812,6 @@ declare module '@polkadot/api-base/types/errors' {
1808
1812
  * Signed migration is not allowed because the maximum limit is not set yet.
1809
1813
  **/
1810
1814
  SignedMigrationNotAllowed: AugmentedError<ApiType>;
1811
- /**
1812
- * upper bound of size is exceeded,
1813
- **/
1814
- SizeUpperBoundExceeded: AugmentedError<ApiType>;
1815
1815
  /**
1816
1816
  * Generic error
1817
1817
  **/
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
5
  import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
6
+ import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
7
7
  export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -1841,7 +1841,9 @@ declare module '@polkadot/api-base/types/events' {
1841
1841
  /**
1842
1842
  * Migration got halted due to an error or miss-configuration.
1843
1843
  **/
1844
- Halted: AugmentedEvent<ApiType, []>;
1844
+ Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], {
1845
+ error: PalletStateTrieMigrationError;
1846
+ }>;
1845
1847
  /**
1846
1848
  * Given number of `(top, child)` keys were migrated respectively, with the given
1847
1849
  * `compute`.
@@ -1,7 +1,7 @@
1
1
  import '@polkadot/api-base/types/calls';
2
2
  import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, Vec, u32, u64 } from '@polkadot/types-codec';
4
- import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
4
+ import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
5
  import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
6
6
  import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
7
7
  import type { BlockHash } from '@polkadot/types/interfaces/chain';
@@ -13,7 +13,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
13
13
  import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
14
14
  import type { NpApiError } from '@polkadot/types/interfaces/nompools';
15
15
  import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
16
- import type { AccountId, Balance, Block, Hash, Header, Index, KeyTypeId, Slot } from '@polkadot/types/interfaces/runtime';
16
+ import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot } from '@polkadot/types/interfaces/runtime';
17
17
  import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
18
18
  import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
19
19
  import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
@@ -318,5 +318,20 @@ declare module '@polkadot/api-base/types/calls' {
318
318
  **/
319
319
  [key: string]: DecoratedCallBase<ApiType>;
320
320
  };
321
+ /** 0xf3ff14d5ab527059/1 */
322
+ transactionPaymentCallApi: {
323
+ /**
324
+ * The call fee details
325
+ **/
326
+ queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
327
+ /**
328
+ * The call info
329
+ **/
330
+ queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
331
+ /**
332
+ * Generic call
333
+ **/
334
+ [key: string]: DecoratedCallBase<ApiType>;
335
+ };
321
336
  }
322
337
  }