@polkadot/rpc-augment 9.7.1 → 9.8.2

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.
@@ -9,7 +9,7 @@ import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';
9
9
  import type { BlockHash } from '@polkadot/types/interfaces/chain';
10
10
  import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
11
11
  import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
12
- import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
12
+ import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from '@polkadot/types/interfaces/contracts';
13
13
  import type { BlockStats } from '@polkadot/types/interfaces/dev';
14
14
  import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
15
15
  import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
@@ -17,7 +17,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
17
17
  import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
18
18
  import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
19
19
  import type { StorageKind } from '@polkadot/types/interfaces/offchain';
20
- import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
20
+ import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
21
21
  import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
22
22
  import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
23
23
  import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
@@ -158,11 +158,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
158
158
  * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead
159
159
  * Instantiate a new contract
160
160
  **/
161
- instantiate: AugmentedRpc<(request: InstantiateRequest | {
161
+ instantiate: AugmentedRpc<(request: InstantiateRequestV1 | {
162
162
  origin?: any;
163
163
  value?: any;
164
164
  gasLimit?: any;
165
- storageDepositLimit?: any;
166
165
  code?: any;
167
166
  data?: any;
168
167
  salt?: any;
@@ -462,13 +461,15 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
462
461
  };
463
462
  payment: {
464
463
  /**
464
+ * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead
465
465
  * Query the detailed fee of a given encoded extrinsic
466
466
  **/
467
467
  queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
468
468
  /**
469
+ * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
469
470
  * Retrieves the fee information for an encoded extrinsic
470
471
  **/
471
- queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
472
+ queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
472
473
  };
473
474
  rpc: {
474
475
  /**
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@polkadot/rpc-augment',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '9.7.1'
16
+ version: '9.8.2'
17
17
  };
18
18
  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.7.1",
23
+ "version": "9.8.2",
24
24
  "main": "./cjs/index.js",
25
25
  "module": "./index.js",
26
26
  "types": "./index.d.ts",
@@ -71,9 +71,9 @@
71
71
  },
72
72
  "dependencies": {
73
73
  "@babel/runtime": "^7.20.1",
74
- "@polkadot/rpc-core": "9.7.1",
75
- "@polkadot/types": "9.7.1",
76
- "@polkadot/types-codec": "9.7.1",
77
- "@polkadot/util": "^10.1.11"
74
+ "@polkadot/rpc-core": "9.8.2",
75
+ "@polkadot/types": "9.8.2",
76
+ "@polkadot/types-codec": "9.8.2",
77
+ "@polkadot/util": "^10.1.12"
78
78
  }
79
79
  }
package/packageInfo.js CHANGED
@@ -7,5 +7,5 @@ export const packageInfo = {
7
7
  name: '@polkadot/rpc-augment',
8
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
9
  type: 'esm',
10
- version: '9.7.1'
10
+ version: '9.8.2'
11
11
  };