@polkadot/rpc-augment 7.12.2-3 → 7.12.2-6

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.
@@ -18,7 +18,7 @@ import type { StorageKind } from '@polkadot/types/interfaces/offchain';
18
18
  import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
19
19
  import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
20
20
  import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
21
- import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
21
+ import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
22
22
  import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
23
23
  import type { IExtrinsic, Observable } from '@polkadot/types/types';
24
24
  declare module '@polkadot/rpc-core/types/jsonrpc' {
@@ -531,6 +531,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
531
531
  * Provides a way to trace the re-execution of a single block
532
532
  **/
533
533
  traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;
534
+ /**
535
+ * Check current migration state
536
+ **/
537
+ trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>;
534
538
  };
535
539
  syncstate: {
536
540
  /**
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.12.2-3",
23
+ "version": "7.12.2-6",
24
24
  "main": "index.cjs",
25
25
  "module": "index.js",
26
26
  "types": "index.d.ts",
@@ -66,9 +66,9 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@babel/runtime": "^7.17.7",
69
- "@polkadot/rpc-core": "7.12.2-3",
70
- "@polkadot/types": "7.12.2-3",
71
- "@polkadot/types-codec": "7.12.2-3",
69
+ "@polkadot/rpc-core": "7.12.2-6",
70
+ "@polkadot/types": "7.12.2-6",
71
+ "@polkadot/types-codec": "7.12.2-6",
72
72
  "@polkadot/util": "^8.5.1"
73
73
  }
74
74
  }
package/packageInfo.cjs CHANGED
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/rpc-augment',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '7.12.2-3'
14
+ version: '7.12.2-6'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/rpc-augment',
6
6
  path: (import.meta && import.meta.url) ? new URL('.', import.meta.url).pathname : 'auto',
7
7
  type: 'esm',
8
- version: '7.12.2-3'
8
+ version: '7.12.2-6'
9
9
  };