@polkadot/rpc-augment 7.13.2-0 → 7.13.2-3

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,6 +9,7 @@ import type { BlockHash } from '@polkadot/types/interfaces/chain';
9
9
  import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
10
10
  import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
11
11
  import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
12
+ import type { BlockStats } from '@polkadot/types/interfaces/dev';
12
13
  import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
13
14
  import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
14
15
  import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
@@ -174,6 +175,12 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
174
175
  storageDepositLimit?: any;
175
176
  } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;
176
177
  };
178
+ dev: {
179
+ /**
180
+ * Reexecute the specified `block_hash` and gather statistics while doing so
181
+ **/
182
+ getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>;
183
+ };
177
184
  engine: {
178
185
  /**
179
186
  * Instructs the manual-seal authorship task to create a new block
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.13.2-0",
23
+ "version": "7.13.2-3",
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.8",
69
- "@polkadot/rpc-core": "7.13.2-0",
70
- "@polkadot/types": "7.13.2-0",
71
- "@polkadot/types-codec": "7.13.2-0",
69
+ "@polkadot/rpc-core": "7.13.2-3",
70
+ "@polkadot/types": "7.13.2-3",
71
+ "@polkadot/types-codec": "7.13.2-3",
72
72
  "@polkadot/util": "^8.6.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.13.2-0'
14
+ version: '7.13.2-3'
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.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
7
  type: 'esm',
8
- version: '7.13.2-0'
8
+ version: '7.13.2-3'
9
9
  };