@polkadot/rpc-augment 9.8.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.
- package/augment/jsonrpc.d.ts +4 -2
- package/cjs/packageInfo.js +1 -1
- package/package.json +4 -4
- package/packageInfo.js +1 -1
package/augment/jsonrpc.d.ts
CHANGED
|
@@ -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,
|
|
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';
|
|
@@ -461,13 +461,15 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
|
|
461
461
|
};
|
|
462
462
|
payment: {
|
|
463
463
|
/**
|
|
464
|
+
* @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead
|
|
464
465
|
* Query the detailed fee of a given encoded extrinsic
|
|
465
466
|
**/
|
|
466
467
|
queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
|
|
467
468
|
/**
|
|
469
|
+
* @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
|
|
468
470
|
* Retrieves the fee information for an encoded extrinsic
|
|
469
471
|
**/
|
|
470
|
-
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<
|
|
472
|
+
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
|
|
471
473
|
};
|
|
472
474
|
rpc: {
|
|
473
475
|
/**
|
package/cjs/packageInfo.js
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.8.
|
|
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.8.
|
|
75
|
-
"@polkadot/types": "9.8.
|
|
76
|
-
"@polkadot/types-codec": "9.8.
|
|
74
|
+
"@polkadot/rpc-core": "9.8.2",
|
|
75
|
+
"@polkadot/types": "9.8.2",
|
|
76
|
+
"@polkadot/types-codec": "9.8.2",
|
|
77
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.8.
|
|
10
|
+
version: '9.8.2'
|
|
11
11
|
};
|