npm package '@polkadot/api-base'

Popularity: Medium (more popular than 90% of all packages)
Description: Interfaces for interacting with contracts and contract ABIs
Installation: npm install @polkadot/api-base
Last version: 9.13.5 (Download)
Homepage: https://github.com/polkadot-js/api/tree/master/packages/api-base#readme
Size: 38.98 kB
License: Apache-2.0

Activity

Last modified: February 2, 2023 9:53 AM (2 months ago)
Versions released in one year: 243
Weekly downloads: 35,892
04/03/202207/03/2022010,00020,00030,00040,00006121824released versions / week
  • Versions released
  • Weekly downloads

What's new in version 9.8.2

Delta between version 9.8.1 and version 9.8.2

Source: Github
Commits:
  • a3901ca7ad5dc55562ec9a4cc396301da36f76f0, November 16, 2022 4:16 PM:
    Adjust (to be deprecated) payment RPC return values (#5341)
    
    * Adjust (to be deprecated) payment RPC return values
    
    * Adjust
    
    * Build TS interfaces
  • 12fd31def5a47cb20dccc034289ada07fbf8ff9b, November 16, 2022 4:25 PM:
    [CI Skip] bump/beta 9.8.2-0-x
    
    skip-checks: true
  • ee42e3a86c911e07f77f2ad06f73e01eedd23026, November 16, 2022 5:58 PM:
    Reset/Revert v1 of runtime query_info (w/ detect) (#5342)
    
    * Reset/Revert v1 of runtime quety_info (w/ detect)
    
    * Add V2 struct
  • fe2103e5d4a5d63341af01b0298639327287907e, November 16, 2022 6:08 PM:
    [CI Skip] bump/beta 9.8.2-1-x
    
    skip-checks: true
  • d191d077821d954c30a5b76cc845871217368c6b, November 16, 2022 6:16 PM:
    9.8.2 (#5343)
  • 9b3258a65a0ebc369dd8c3fe90e4d57579832fe5, November 16, 2022 6:24 PM:
    [CI Skip] release/stable 9.8.2
    
    skip-checks: true
Files changed:
CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
  # CHANGELOG
2
 
 
 
 
 
 
 
 
 
3
  ## 9.8.1 Nov 13, 2022
4
 
5
  Contributed:
1
  # CHANGELOG
2
 
3
+ ## 9.8.2 Nov 16, 2022
4
+
5
+ Changes:
6
+
7
+ - Adjust `api.rpc.payment.queryInfo` to always return `WeightV1` responses
8
+ - Mark `api.rpc.payment.queryInfo` as deprecated (will be in a future Substrate version)
9
+
10
+
11
  ## 9.8.1 Nov 13, 2022
12
 
13
  Contributed:
CONTRIBUTORS CHANGED
@@ -1,4 +1,4 @@
1
- 3280 Jaco 9.8.1 (#5337)
2
  83 Amaury Martiny StatementKind: Regular and Saft (#2303)
3
  37 Keith Ingram Update contract types and rpc (#4541)
4
  35 Stefanie Doll Updated child storage parameters (#1709)
1
+ 3283 Jaco 9.8.2 (#5343)
2
  83 Amaury Martiny StatementKind: Regular and Saft (#2303)
3
  37 Keith Ingram Update contract types and rpc (#4541)
4
  35 Stefanie Doll Updated child storage parameters (#1709)
package.json CHANGED
@@ -11,10 +11,10 @@
11
  },
12
  "sideEffects": false,
13
  "type": "module",
14
- "version": "9.8.1",
15
  "versions": {
16
- "git": "9.8.1",
17
- "npm": "9.8.1"
18
  },
19
  "workspaces": [
20
  "packages/*"
@@ -39,7 +39,7 @@
39
  "@babel/core": "^7.20.2",
40
  "@babel/register": "^7.18.9",
41
  "@babel/runtime": "^7.20.1",
42
- "@polkadot/dev": "^0.67.156",
43
  "@polkadot/typegen": "workspace:packages/typegen",
44
  "@types/jest": "^29.2.2",
45
  "copyfiles": "^2.4.1"
11
  },
12
  "sideEffects": false,
13
  "type": "module",
14
+ "version": "9.8.2",
15
  "versions": {
16
+ "git": "9.8.2",
17
+ "npm": "9.8.2"
18
  },
19
  "workspaces": [
20
  "packages/*"
39
  "@babel/core": "^7.20.2",
40
  "@babel/register": "^7.18.9",
41
  "@babel/runtime": "^7.20.1",
42
+ "@polkadot/dev": "^0.67.159",
43
  "@polkadot/typegen": "workspace:packages/typegen",
44
  "@types/jest": "^29.2.2",
45
  "copyfiles": "^2.4.1"
packages/api-augment/package.json CHANGED
@@ -20,18 +20,18 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/api-base": "9.8.1",
28
- "@polkadot/rpc-augment": "9.8.1",
29
- "@polkadot/types": "9.8.1",
30
- "@polkadot/types-augment": "9.8.1",
31
- "@polkadot/types-codec": "9.8.1",
32
  "@polkadot/util": "^10.1.12"
33
  },
34
  "devDependencies": {
35
- "@polkadot/types-support": "9.8.1"
36
  }
37
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/api-base": "9.8.2",
28
+ "@polkadot/rpc-augment": "9.8.2",
29
+ "@polkadot/types": "9.8.2",
30
+ "@polkadot/types-augment": "9.8.2",
31
+ "@polkadot/types-codec": "9.8.2",
32
  "@polkadot/util": "^10.1.12"
33
  },
34
  "devDependencies": {
35
+ "@polkadot/types-support": "9.8.2"
36
  }
37
  }
packages/api-augment/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.8.2' };
packages/api-base/package.json CHANGED
@@ -20,12 +20,12 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/rpc-core": "9.8.1",
28
- "@polkadot/types": "9.8.1",
29
  "@polkadot/util": "^10.1.12",
30
  "rxjs": "^7.5.7"
31
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/rpc-core": "9.8.2",
28
+ "@polkadot/types": "9.8.2",
29
  "@polkadot/util": "^10.1.12",
30
  "rxjs": "^7.5.7"
31
  }
packages/api-base/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.8.2' };
packages/api-contract/package.json CHANGED
@@ -20,20 +20,20 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/api": "9.8.1",
28
- "@polkadot/types": "9.8.1",
29
- "@polkadot/types-codec": "9.8.1",
30
- "@polkadot/types-create": "9.8.1",
31
  "@polkadot/util": "^10.1.12",
32
  "@polkadot/util-crypto": "^10.1.12",
33
  "rxjs": "^7.5.7"
34
  },
35
  "devDependencies": {
36
- "@polkadot/api-augment": "9.8.1",
37
  "@polkadot/keyring": "^10.1.12"
38
  }
39
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/api": "9.8.2",
28
+ "@polkadot/types": "9.8.2",
29
+ "@polkadot/types-codec": "9.8.2",
30
+ "@polkadot/types-create": "9.8.2",
31
  "@polkadot/util": "^10.1.12",
32
  "@polkadot/util-crypto": "^10.1.12",
33
  "rxjs": "^7.5.7"
34
  },
35
  "devDependencies": {
36
+ "@polkadot/api-augment": "9.8.2",
37
  "@polkadot/keyring": "^10.1.12"
38
  }
39
  }
packages/api-contract/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.8.2' };
packages/api-derive/package.json CHANGED
@@ -20,25 +20,25 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/api": "9.8.1",
28
- "@polkadot/api-augment": "9.8.1",
29
- "@polkadot/api-base": "9.8.1",
30
- "@polkadot/rpc-core": "9.8.1",
31
- "@polkadot/types": "9.8.1",
32
- "@polkadot/types-codec": "9.8.1",
33
  "@polkadot/util": "^10.1.12",
34
  "@polkadot/util-crypto": "^10.1.12",
35
  "rxjs": "^7.5.7"
36
  },
37
  "devDependencies": {
38
- "@polkadot/api": "9.8.1",
39
- "@polkadot/api-augment": "9.8.1",
40
- "@polkadot/rpc-augment": "9.8.1",
41
- "@polkadot/rpc-provider": "9.8.1",
42
- "@polkadot/types-support": "9.8.1"
43
  }
44
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/api": "9.8.2",
28
+ "@polkadot/api-augment": "9.8.2",
29
+ "@polkadot/api-base": "9.8.2",
30
+ "@polkadot/rpc-core": "9.8.2",
31
+ "@polkadot/types": "9.8.2",
32
+ "@polkadot/types-codec": "9.8.2",
33
  "@polkadot/util": "^10.1.12",
34
  "@polkadot/util-crypto": "^10.1.12",
35
  "rxjs": "^7.5.7"
36
  },
37
  "devDependencies": {
38
+ "@polkadot/api": "9.8.2",
39
+ "@polkadot/api-augment": "9.8.2",
40
+ "@polkadot/rpc-augment": "9.8.2",
41
+ "@polkadot/rpc-provider": "9.8.2",
42
+ "@polkadot/types-support": "9.8.2"
43
  }
44
  }
packages/api-derive/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.8.2' };
packages/api/package.json CHANGED
@@ -20,29 +20,29 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/api-augment": "9.8.1",
28
- "@polkadot/api-base": "9.8.1",
29
- "@polkadot/api-derive": "9.8.1",
30
  "@polkadot/keyring": "^10.1.12",
31
- "@polkadot/rpc-augment": "9.8.1",
32
- "@polkadot/rpc-core": "9.8.1",
33
- "@polkadot/rpc-provider": "9.8.1",
34
- "@polkadot/types": "9.8.1",
35
- "@polkadot/types-augment": "9.8.1",
36
- "@polkadot/types-codec": "9.8.1",
37
- "@polkadot/types-create": "9.8.1",
38
- "@polkadot/types-known": "9.8.1",
39
  "@polkadot/util": "^10.1.12",
40
  "@polkadot/util-crypto": "^10.1.12",
41
  "eventemitter3": "^4.0.7",
42
  "rxjs": "^7.5.7"
43
  },
44
  "devDependencies": {
45
- "@polkadot/api-augment": "9.8.1",
46
- "@polkadot/types-support": "9.8.1"
47
  }
48
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/api-augment": "9.8.2",
28
+ "@polkadot/api-base": "9.8.2",
29
+ "@polkadot/api-derive": "9.8.2",
30
  "@polkadot/keyring": "^10.1.12",
31
+ "@polkadot/rpc-augment": "9.8.2",
32
+ "@polkadot/rpc-core": "9.8.2",
33
+ "@polkadot/rpc-provider": "9.8.2",
34
+ "@polkadot/types": "9.8.2",
35
+ "@polkadot/types-augment": "9.8.2",
36
+ "@polkadot/types-codec": "9.8.2",
37
+ "@polkadot/types-create": "9.8.2",
38
+ "@polkadot/types-known": "9.8.2",
39
  "@polkadot/util": "^10.1.12",
40
  "@polkadot/util-crypto": "^10.1.12",
41
  "eventemitter3": "^4.0.7",
42
  "rxjs": "^7.5.7"
43
  },
44
  "devDependencies": {
45
+ "@polkadot/api-augment": "9.8.2",
46
+ "@polkadot/types-support": "9.8.2"
47
  }
48
  }
packages/api/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.8.2' };
packages/rpc-augment/package.json CHANGED
@@ -20,13 +20,13 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/rpc-core": "9.8.1",
28
- "@polkadot/types": "9.8.1",
29
- "@polkadot/types-codec": "9.8.1",
30
  "@polkadot/util": "^10.1.12"
31
  }
32
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/rpc-core": "9.8.2",
28
+ "@polkadot/types": "9.8.2",
29
+ "@polkadot/types-codec": "9.8.2",
30
  "@polkadot/util": "^10.1.12"
31
  }
32
  }
packages/rpc-augment/src/augment/jsonrpc.ts CHANGED
@@ -23,7 +23,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
23
  import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
24
  import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
25
  import type { StorageKind } from '@polkadot/types/interfaces/offchain';
26
- import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
27
  import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
28
  import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
29
  import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
@@ -407,13 +407,15 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
407
  };
408
  payment: {
409
  /**
 
410
  * Query the detailed fee of a given encoded extrinsic
411
  **/
412
  queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
413
  /**
 
414
  * Retrieves the fee information for an encoded extrinsic
415
  **/
416
- queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
417
  };
418
  rpc: {
419
  /**
23
  import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
24
  import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
25
  import type { StorageKind } from '@polkadot/types/interfaces/offchain';
26
+ import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
27
  import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
28
  import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
29
  import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
407
  };
408
  payment: {
409
  /**
410
+ * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead
411
  * Query the detailed fee of a given encoded extrinsic
412
  **/
413
  queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
414
  /**
415
+ * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
416
  * Retrieves the fee information for an encoded extrinsic
417
  **/
418
+ queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
419
  };
420
  rpc: {
421
  /**
packages/rpc-augment/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.8.2' };
packages/rpc-core/package.json CHANGED
@@ -20,18 +20,18 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/rpc-augment": "9.8.1",
28
- "@polkadot/rpc-provider": "9.8.1",
29
- "@polkadot/types": "9.8.1",
30
  "@polkadot/util": "^10.1.12",
31
  "rxjs": "^7.5.7"
32
  },
33
  "devDependencies": {
34
  "@polkadot/keyring": "^10.1.12",
35
- "@polkadot/rpc-augment": "9.8.1"
36
  }
37
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/rpc-augment": "9.8.2",
28
+ "@polkadot/rpc-provider": "9.8.2",
29
+ "@polkadot/types": "9.8.2",
30
  "@polkadot/util": "^10.1.12",
31
  "rxjs": "^7.5.7"
32
  },
33
  "devDependencies": {
34
  "@polkadot/keyring": "^10.1.12",
35
+ "@polkadot/rpc-augment": "9.8.2"
36
  }
37
  }
packages/rpc-core/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.8.2' };
packages/rpc-provider/package.json CHANGED
@@ -20,13 +20,13 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/keyring": "^10.1.12",
28
- "@polkadot/types": "9.8.1",
29
- "@polkadot/types-support": "9.8.1",
30
  "@polkadot/util": "^10.1.12",
31
  "@polkadot/util-crypto": "^10.1.12",
32
  "@polkadot/x-fetch": "^10.1.12",
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/keyring": "^10.1.12",
28
+ "@polkadot/types": "9.8.2",
29
+ "@polkadot/types-support": "9.8.2",
30
  "@polkadot/util": "^10.1.12",
31
  "@polkadot/util-crypto": "^10.1.12",
32
  "@polkadot/x-fetch": "^10.1.12",
packages/rpc-provider/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.8.2' };
packages/typegen/package.json CHANGED
@@ -20,7 +20,7 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "bin": {
26
  "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,15 +33,15 @@
33
  "@babel/core": "^7.20.2",
34
  "@babel/register": "^7.18.9",
35
  "@babel/runtime": "^7.20.1",
36
- "@polkadot/api": "9.8.1",
37
- "@polkadot/api-augment": "9.8.1",
38
- "@polkadot/rpc-augment": "9.8.1",
39
- "@polkadot/rpc-provider": "9.8.1",
40
- "@polkadot/types": "9.8.1",
41
- "@polkadot/types-augment": "9.8.1",
42
- "@polkadot/types-codec": "9.8.1",
43
- "@polkadot/types-create": "9.8.1",
44
- "@polkadot/types-support": "9.8.1",
45
  "@polkadot/util": "^10.1.12",
46
  "@polkadot/util-crypto": "^10.1.12",
47
  "@polkadot/x-ws": "^10.1.12",
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "bin": {
26
  "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
33
  "@babel/core": "^7.20.2",
34
  "@babel/register": "^7.18.9",
35
  "@babel/runtime": "^7.20.1",
36
+ "@polkadot/api": "9.8.2",
37
+ "@polkadot/api-augment": "9.8.2",
38
+ "@polkadot/rpc-augment": "9.8.2",
39
+ "@polkadot/rpc-provider": "9.8.2",
40
+ "@polkadot/types": "9.8.2",
41
+ "@polkadot/types-augment": "9.8.2",
42
+ "@polkadot/types-codec": "9.8.2",
43
+ "@polkadot/types-create": "9.8.2",
44
+ "@polkadot/types-support": "9.8.2",
45
  "@polkadot/util": "^10.1.12",
46
  "@polkadot/util-crypto": "^10.1.12",
47
  "@polkadot/x-ws": "^10.1.12",
packages/typegen/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.8.2' };
packages/types-augment/package.json CHANGED
@@ -20,12 +20,12 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/types": "9.8.1",
28
- "@polkadot/types-codec": "9.8.1",
29
  "@polkadot/util": "^10.1.12"
30
  }
31
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/types": "9.8.2",
28
+ "@polkadot/types-codec": "9.8.2",
29
  "@polkadot/util": "^10.1.12"
30
  }
31
  }
packages/types-augment/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.8.2' };
packages/types-augment/src/registry/interfaces.ts CHANGED
@@ -46,7 +46,7 @@ import type { NpApiError } from '@polkadot/types/interfaces/nompools';
46
  import type { StorageKind } from '@polkadot/types/interfaces/offchain';
47
  import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
48
  import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
49
- import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
50
  import type { Approvals } from '@polkadot/types/interfaces/poll';
51
  import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
52
  import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
@@ -877,6 +877,8 @@ declare module '@polkadot/types/types/registry' {
877
  RpcMethods: RpcMethods;
878
  RuntimeDbWeight: RuntimeDbWeight;
879
  RuntimeDispatchInfo: RuntimeDispatchInfo;
 
 
880
  RuntimeVersion: RuntimeVersion;
881
  RuntimeVersionApi: RuntimeVersionApi;
882
  RuntimeVersionPartial: RuntimeVersionPartial;
46
  import type { StorageKind } from '@polkadot/types/interfaces/offchain';
47
  import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
48
  import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
49
+ import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
50
  import type { Approvals } from '@polkadot/types/interfaces/poll';
51
  import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
52
  import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
877
  RpcMethods: RpcMethods;
878
  RuntimeDbWeight: RuntimeDbWeight;
879
  RuntimeDispatchInfo: RuntimeDispatchInfo;
880
+ RuntimeDispatchInfoV1: RuntimeDispatchInfoV1;
881
+ RuntimeDispatchInfoV2: RuntimeDispatchInfoV2;
882
  RuntimeVersion: RuntimeVersion;
883
  RuntimeVersionApi: RuntimeVersionApi;
884
  RuntimeVersionPartial: RuntimeVersionPartial;
packages/types-codec/package.json CHANGED
@@ -20,17 +20,17 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/util": "^10.1.12",
28
  "@polkadot/x-bigint": "^10.1.12"
29
  },
30
  "devDependencies": {
31
- "@polkadot/types": "9.8.1",
32
- "@polkadot/types-augment": "9.8.1",
33
- "@polkadot/types-support": "9.8.1",
34
  "@polkadot/util-crypto": "^10.1.12"
35
  }
36
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/util": "^10.1.12",
28
  "@polkadot/x-bigint": "^10.1.12"
29
  },
30
  "devDependencies": {
31
+ "@polkadot/types": "9.8.2",
32
+ "@polkadot/types-augment": "9.8.2",
33
+ "@polkadot/types-support": "9.8.2",
34
  "@polkadot/util-crypto": "^10.1.12"
35
  }
36
  }
packages/types-codec/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.8.2' };
packages/types-create/package.json CHANGED
@@ -20,14 +20,14 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
- "@polkadot/types-codec": "9.8.1",
28
  "@polkadot/util": "^10.1.12"
29
  },
30
  "devDependencies": {
31
- "@polkadot/types": "9.8.1"
32
  }
33
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
+ "@polkadot/types-codec": "9.8.2",
28
  "@polkadot/util": "^10.1.12"
29
  },
30
  "devDependencies": {
31
+ "@polkadot/types": "9.8.2"
32
  }
33
  }
packages/types-create/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.8.2' };
packages/types-known/package.json CHANGED
@@ -20,17 +20,17 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/networks": "^10.1.12",
28
- "@polkadot/types": "9.8.1",
29
- "@polkadot/types-codec": "9.8.1",
30
- "@polkadot/types-create": "9.8.1",
31
  "@polkadot/util": "^10.1.12"
32
  },
33
  "devDependencies": {
34
- "@polkadot/api": "9.8.1"
35
  }
36
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/networks": "^10.1.12",
28
+ "@polkadot/types": "9.8.2",
29
+ "@polkadot/types-codec": "9.8.2",
30
+ "@polkadot/types-create": "9.8.2",
31
  "@polkadot/util": "^10.1.12"
32
  },
33
  "devDependencies": {
34
+ "@polkadot/api": "9.8.2"
35
  }
36
  }
packages/types-known/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.8.2' };
packages/types-support/package.json CHANGED
@@ -20,7 +20,7 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
packages/types-support/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.8.2' };
packages/types/package.json CHANGED
@@ -20,20 +20,20 @@
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
- "version": "9.8.1",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/keyring": "^10.1.12",
28
- "@polkadot/types-augment": "9.8.1",
29
- "@polkadot/types-codec": "9.8.1",
30
- "@polkadot/types-create": "9.8.1",
31
  "@polkadot/util": "^10.1.12",
32
  "@polkadot/util-crypto": "^10.1.12",
33
  "rxjs": "^7.5.7"
34
  },
35
  "devDependencies": {
36
  "@polkadot/keyring": "^10.1.12",
37
- "@polkadot/types-support": "9.8.1"
38
  }
39
  }
20
  "./detectPackage.cjs"
21
  ],
22
  "type": "module",
23
+ "version": "9.8.2",
24
  "main": "index.js",
25
  "dependencies": {
26
  "@babel/runtime": "^7.20.1",
27
  "@polkadot/keyring": "^10.1.12",
28
+ "@polkadot/types-augment": "9.8.2",
29
+ "@polkadot/types-codec": "9.8.2",
30
+ "@polkadot/types-create": "9.8.2",
31
  "@polkadot/util": "^10.1.12",
32
  "@polkadot/util-crypto": "^10.1.12",
33
  "rxjs": "^7.5.7"
34
  },
35
  "devDependencies": {
36
  "@polkadot/keyring": "^10.1.12",
37
+ "@polkadot/types-support": "9.8.2"
38
  }
39
  }
packages/types/src/interfaces/payment/definitions.ts CHANGED
@@ -27,6 +27,16 @@ export default {
27
  weight: 'Weight',
28
  class: 'DispatchClass',
29
  partialFee: 'Balance'
 
 
 
 
 
 
 
 
 
 
30
  }
31
  }
32
  } as Definitions;
27
  weight: 'Weight',
28
  class: 'DispatchClass',
29
  partialFee: 'Balance'
30
+ },
31
+ RuntimeDispatchInfoV1: {
32
+ weight: 'WeightV1',
33
+ class: 'DispatchClass',
34
+ partialFee: 'Balance'
35
+ },
36
+ RuntimeDispatchInfoV2: {
37
+ weight: 'WeightV2',
38
+ class: 'DispatchClass',
39
+ partialFee: 'Balance'
40
  }
41
  }
42
  } as Definitions;
packages/types/src/interfaces/payment/rpc.ts CHANGED
@@ -5,6 +5,8 @@ import type { DefinitionsRpc } from '../../types';
5
 
6
  export const rpc: DefinitionsRpc = {
7
  queryFeeDetails: {
 
 
8
  description: 'Query the detailed fee of a given encoded extrinsic',
9
  params: [
10
  {
@@ -21,6 +23,8 @@ export const rpc: DefinitionsRpc = {
21
  type: 'FeeDetails'
22
  },
23
  queryInfo: {
 
 
24
  description: 'Retrieves the fee information for an encoded extrinsic',
25
  params: [
26
  {
@@ -34,6 +38,7 @@ export const rpc: DefinitionsRpc = {
34
  type: 'BlockHash'
35
  }
36
  ],
37
- type: 'RuntimeDispatchInfo'
 
38
  }
39
  };
5
 
6
  export const rpc: DefinitionsRpc = {
7
  queryFeeDetails: {
8
+ // NOTE: Not deprecated (yet) in Substrate, but it is the intent to do so
9
+ deprecated: 'Use `api.call.transactionPaymentApi.queryFeeDetails` instead',
10
  description: 'Query the detailed fee of a given encoded extrinsic',
11
  params: [
12
  {
23
  type: 'FeeDetails'
24
  },
25
  queryInfo: {
26
+ // NOTE: Not deprecated (yet) in Substrate, but it is the intent to do so
27
+ deprecated: 'Use `api.call.transactionPaymentApi.queryInfo` instead',
28
  description: 'Retrieves the fee information for an encoded extrinsic',
29
  params: [
30
  {
38
  type: 'BlockHash'
39
  }
40
  ],
41
+ // NOTE: Stuck on V1 forever (at least for the time being)
42
+ type: 'RuntimeDispatchInfoV1'
43
  }
44
  };
packages/types/src/interfaces/payment/runtime.ts CHANGED
@@ -19,23 +19,6 @@ const V1_V2_SHARED_PAY: Record<string, DefinitionCall> = {
19
  }
20
  ],
21
  type: 'FeeDetails'
22
- },
23
- query_info: {
24
- description: 'The transaction info',
25
- params: [
26
- {
27
- name: 'uxt',
28
- type: 'Extrinsic'
29
- },
30
- {
31
- name: 'len',
32
- type: 'u32'
33
- }
34
- ],
35
- // NOTE: Since we detect the Weight type based on the runtime, we can have the same
36
- // result for V1 & V2 (additionally, the v2 API came a bit later, so we don't want
37
- // to fix this to V1 weights, since _some_ chains may be incorrect)
38
- type: 'RuntimeDispatchInfo'
39
  }
40
  };
41
 
@@ -53,41 +36,93 @@ const V1_V2_SHARED_CALL: Record<string, DefinitionCall> = {
53
  }
54
  ],
55
  type: 'FeeDetails'
56
- },
57
- query_call_info: {
58
- description: 'The call info',
59
- params: [
60
- {
61
- name: 'call',
62
- type: 'Call'
63
- },
64
- {
65
- name: 'len',
66
- type: 'u32'
67
- }
68
- ],
69
- type: 'RuntimeDispatchInfo'
70
  }
71
  };
72
 
73
  export const runtime: DefinitionsCall = {
74
  TransactionPaymentApi: [
75
  {
76
- methods: objectSpread({}, V1_V2_SHARED_PAY),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  version: 2
78
  },
79
  {
80
- methods: objectSpread({}, V1_V2_SHARED_PAY),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  version: 1
82
  }
83
  ],
84
  TransactionPaymentCallApi: [
85
  {
86
- methods: objectSpread({}, V1_V2_SHARED_CALL),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  version: 2
88
  },
89
  {
90
- methods: objectSpread({}, V1_V2_SHARED_CALL),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  version: 1
92
  }
93
  ]
19
  }
20
  ],
21
  type: 'FeeDetails'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
  };
24
 
36
  }
37
  ],
38
  type: 'FeeDetails'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
40
  };
41
 
42
  export const runtime: DefinitionsCall = {
43
  TransactionPaymentApi: [
44
  {
45
+ methods: objectSpread({
46
+ query_info: {
47
+ description: 'The transaction info',
48
+ params: [
49
+ {
50
+ name: 'uxt',
51
+ type: 'Extrinsic'
52
+ },
53
+ {
54
+ name: 'len',
55
+ type: 'u32'
56
+ }
57
+ ],
58
+ type: 'RuntimeDispatchInfo'
59
+ }
60
+ }, V1_V2_SHARED_PAY),
61
  version: 2
62
  },
63
  {
64
+ methods: objectSpread({
65
+ query_info: {
66
+ description: 'The transaction info',
67
+ params: [
68
+ {
69
+ name: 'uxt',
70
+ type: 'Extrinsic'
71
+ },
72
+ {
73
+ name: 'len',
74
+ type: 'u32'
75
+ }
76
+ ],
77
+ // NOTE: _Should_ be V1 (as per current Substrate), however the interface was changed mid-flight between
78
+ // versions. So we have some of each depending on runtime. (We do detect the weight type, so correct)
79
+ // type: 'RuntimeDispatchInfoV1'
80
+ type: 'RuntimeDispatchInfo'
81
+ }
82
+ }, V1_V2_SHARED_PAY),
83
  version: 1
84
  }
85
  ],
86
  TransactionPaymentCallApi: [
87
  {
88
+ methods: objectSpread({
89
+ query_call_info: {
90
+ description: 'The call info',
91
+ params: [
92
+ {
93
+ name: 'call',
94
+ type: 'Call'
95
+ },
96
+ {
97
+ name: 'len',
98
+ type: 'u32'
99
+ }
100
+ ],
101
+ type: 'RuntimeDispatchInfo'
102
+ }
103
+ }, V1_V2_SHARED_CALL),
104
  version: 2
105
  },
106
  {
107
+ methods: objectSpread({
108
+ query_call_info: {
109
+ description: 'The call info',
110
+ params: [
111
+ {
112
+ name: 'call',
113
+ type: 'Call'
114
+ },
115
+ {
116
+ name: 'len',
117
+ type: 'u32'
118
+ }
119
+ ],
120
+ // NOTE: _Should_ be V1 (as per current Substrate), however the interface was changed mid-flight between
121
+ // versions. So we have some of each depending on runtime. (We do detect the weight type, so correct)
122
+ // type: 'RuntimeDispatchInfoV1'
123
+ type: 'RuntimeDispatchInfo'
124
+ }
125
+ }, V1_V2_SHARED_CALL),
126
  version: 1
127
  }
128
  ]
packages/types/src/interfaces/payment/types.ts CHANGED
@@ -2,7 +2,7 @@
2
  /* eslint-disable */
3
 
4
  import type { Option, Struct } from '@polkadot/types-codec';
5
- import type { Balance, Weight } from '@polkadot/types/interfaces/runtime';
6
  import type { DispatchClass } from '@polkadot/types/interfaces/system';
7
 
8
  /** @name FeeDetails */
@@ -24,4 +24,18 @@ export interface RuntimeDispatchInfo extends Struct {
24
  readonly partialFee: Balance;
25
  }
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  export type PHANTOM_PAYMENT = 'payment';
2
  /* eslint-disable */
3
 
4
  import type { Option, Struct } from '@polkadot/types-codec';
5
+ import type { Balance, Weight, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
6
  import type { DispatchClass } from '@polkadot/types/interfaces/system';
7
 
8
  /** @name FeeDetails */
24
  readonly partialFee: Balance;
25
  }
26
 
27
+ /** @name RuntimeDispatchInfoV1 */
28
+ export interface RuntimeDispatchInfoV1 extends Struct {
29
+ readonly weight: WeightV1;
30
+ readonly class: DispatchClass;
31
+ readonly partialFee: Balance;
32
+ }
33
+
34
+ /** @name RuntimeDispatchInfoV2 */
35
+ export interface RuntimeDispatchInfoV2 extends Struct {
36
+ readonly weight: WeightV2;
37
+ readonly class: DispatchClass;
38
+ readonly partialFee: Balance;
39
+ }
40
+
41
  export type PHANTOM_PAYMENT = 'payment';
packages/types/src/packageInfo.ts CHANGED
@@ -3,4 +3,4 @@
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
- export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.8.1' };
3
 
4
  // Do not edit, auto-generated by @polkadot/dev
5
 
6
+ export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.8.2' };
yarn.lock CHANGED
@@ -1989,28 +1989,28 @@ __metadata:
1989
  languageName: node
1990
  linkType: hard
1991
 
1992
- "@polkadot/api-augment@9.8.1, @polkadot/api-augment@workspace:packages/api-augment":
1993
  version: 0.0.0-use.local
1994
  resolution: "@polkadot/api-augment@workspace:packages/api-augment"
1995
  dependencies:
1996
  "@babel/runtime": ^7.20.1
1997
- "@polkadot/api-base": 9.8.1
1998
- "@polkadot/rpc-augment": 9.8.1
1999
- "@polkadot/types": 9.8.1
2000
- "@polkadot/types-augment": 9.8.1
2001
- "@polkadot/types-codec": 9.8.1
2002
- "@polkadot/types-support": 9.8.1
2003
  "@polkadot/util": ^10.1.12
2004
  languageName: unknown
2005
  linkType: soft
2006
 
2007
- "@polkadot/api-base@9.8.1, @polkadot/api-base@workspace:packages/api-base":
2008
  version: 0.0.0-use.local
2009
  resolution: "@polkadot/api-base@workspace:packages/api-base"
2010
  dependencies:
2011
  "@babel/runtime": ^7.20.1
2012
- "@polkadot/rpc-core": 9.8.1
2013
- "@polkadot/types": 9.8.1
2014
  "@polkadot/util": ^10.1.12
2015
  rxjs: ^7.5.7
2016
  languageName: unknown
@@ -2021,66 +2021,66 @@ __metadata:
2021
  resolution: "@polkadot/api-contract@workspace:packages/api-contract"
2022
  dependencies:
2023
  "@babel/runtime": ^7.20.1
2024
- "@polkadot/api": 9.8.1
2025
- "@polkadot/api-augment": 9.8.1
2026
  "@polkadot/keyring": ^10.1.12
2027
- "@polkadot/types": 9.8.1
2028
- "@polkadot/types-codec": 9.8.1
2029
- "@polkadot/types-create": 9.8.1
2030
  "@polkadot/util": ^10.1.12
2031
  "@polkadot/util-crypto": ^10.1.12
2032
  rxjs: ^7.5.7
2033
  languageName: unknown
2034
  linkType: soft
2035
 
2036
- "@polkadot/api-derive@9.8.1, @polkadot/api-derive@workspace:packages/api-derive":
2037
  version: 0.0.0-use.local
2038
  resolution: "@polkadot/api-derive@workspace:packages/api-derive"
2039
  dependencies:
2040
  "@babel/runtime": ^7.20.1
2041
- "@polkadot/api": 9.8.1
2042
- "@polkadot/api-augment": 9.8.1
2043
- "@polkadot/api-base": 9.8.1
2044
- "@polkadot/rpc-augment": 9.8.1
2045
- "@polkadot/rpc-core": 9.8.1
2046
- "@polkadot/rpc-provider": 9.8.1
2047
- "@polkadot/types": 9.8.1
2048
- "@polkadot/types-codec": 9.8.1
2049
- "@polkadot/types-support": 9.8.1
2050
  "@polkadot/util": ^10.1.12
2051
  "@polkadot/util-crypto": ^10.1.12
2052
  rxjs: ^7.5.7
2053
  languageName: unknown
2054
  linkType: soft
2055
 
2056
- "@polkadot/api@9.8.1, @polkadot/api@workspace:packages/api":
2057
  version: 0.0.0-use.local
2058
  resolution: "@polkadot/api@workspace:packages/api"
2059
  dependencies:
2060
  "@babel/runtime": ^7.20.1
2061
- "@polkadot/api-augment": 9.8.1
2062
- "@polkadot/api-base": 9.8.1
2063
- "@polkadot/api-derive": 9.8.1
2064
  "@polkadot/keyring": ^10.1.12
2065
- "@polkadot/rpc-augment": 9.8.1
2066
- "@polkadot/rpc-core": 9.8.1
2067
- "@polkadot/rpc-provider": 9.8.1
2068
- "@polkadot/types": 9.8.1
2069
- "@polkadot/types-augment": 9.8.1
2070
- "@polkadot/types-codec": 9.8.1
2071
- "@polkadot/types-create": 9.8.1
2072
- "@polkadot/types-known": 9.8.1
2073
- "@polkadot/types-support": 9.8.1
2074
  "@polkadot/util": ^10.1.12
2075
  "@polkadot/util-crypto": ^10.1.12
2076
  eventemitter3: ^4.0.7
2077
  rxjs: ^7.5.7
2078
  languageName: unknown
2079
  linkType: soft
2080
 
2081
- "@polkadot/dev@npm:^0.67.156":
2082
- version: 0.67.156
2083
- resolution: "@polkadot/dev@npm:0.67.156"
2084
  dependencies:
2085
  "@babel/cli": ^7.19.3
2086
  "@babel/core": ^7.20.2
@@ -2106,8 +2106,8 @@ __metadata:
2106
  "@rollup/plugin-json": ^5.0.1
2107
  "@rollup/plugin-node-resolve": ^15.0.1
2108
  "@rushstack/eslint-patch": ^1.2.0
2109
- "@typescript-eslint/eslint-plugin": ^5.42.1
2110
- "@typescript-eslint/parser": ^5.42.1
2111
  "@vue/component-compiler-utils": ^3.3.0
2112
  babel-jest: ^29.3.1
2113
  babel-plugin-module-extension-resolver: ^1.0.0-rc.2
@@ -2143,7 +2143,7 @@ __metadata:
2143
  mkdirp: ^1.0.4
2144
  prettier: ^2.7.1
2145
  rimraf: ^3.0.2
2146
- rollup: ^3.2.5
2147
  rollup-plugin-cleanup: ^3.2.1
2148
  typescript: ^4.8.4
2149
  webpack: ^5.75.0
@@ -2177,7 +2177,7 @@ __metadata:
2177
  polkadot-exec-swc: scripts/polkadot-exec-swc.mjs
2178
  polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
2179
  polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
2180
- checksum: 14214f5e666c1579d3d5726771dd604e14bdbff49f2983ed6af4b1fbdca5551ca4537f22d63eb6a93f62ffd6306c72d1e0f4b37f3ae1c77d559975fee817df63
2181
  languageName: node
2182
  linkType: hard
2183
 
@@ -2206,40 +2206,40 @@ __metadata:
2206
  languageName: node
2207
  linkType: hard
2208
 
2209
- "@polkadot/rpc-augment@9.8.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
2210
  version: 0.0.0-use.local
2211
  resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
2212
  dependencies:
2213
  "@babel/runtime": ^7.20.1
2214
- "@polkadot/rpc-core": 9.8.1
2215
- "@polkadot/types": 9.8.1
2216
- "@polkadot/types-codec": 9.8.1
2217
  "@polkadot/util": ^10.1.12
2218
  languageName: unknown
2219
  linkType: soft
2220
 
2221
- "@polkadot/rpc-core@9.8.1, @polkadot/rpc-core@workspace:packages/rpc-core":
2222
  version: 0.0.0-use.local
2223
  resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
2224
  dependencies:
2225
  "@babel/runtime": ^7.20.1
2226
  "@polkadot/keyring": ^10.1.12
2227
- "@polkadot/rpc-augment": 9.8.1
2228
- "@polkadot/rpc-provider": 9.8.1
2229
- "@polkadot/types": 9.8.1
2230
  "@polkadot/util": ^10.1.12
2231
  rxjs: ^7.5.7
2232
  languageName: unknown
2233
  linkType: soft
2234
 
2235
- "@polkadot/rpc-provider@9.8.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
2236
  version: 0.0.0-use.local
2237
  resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
2238
  dependencies:
2239
  "@babel/runtime": ^7.20.1
2240
  "@polkadot/keyring": ^10.1.12
2241
- "@polkadot/types": 9.8.1
2242
- "@polkadot/types-support": 9.8.1
2243
  "@polkadot/util": ^10.1.12
2244
  "@polkadot/util-crypto": ^10.1.12
2245
  "@polkadot/x-fetch": ^10.1.12
@@ -2259,15 +2259,15 @@ __metadata:
2259
  "@babel/core": ^7.20.2
2260
  "@babel/register": ^7.18.9
2261
  "@babel/runtime": ^7.20.1
2262
- "@polkadot/api": 9.8.1
2263
- "@polkadot/api-augment": 9.8.1
2264
- "@polkadot/rpc-augment": 9.8.1
2265
- "@polkadot/rpc-provider": 9.8.1
2266
- "@polkadot/types": 9.8.1
2267
- "@polkadot/types-augment": 9.8.1
2268
- "@polkadot/types-codec": 9.8.1
2269
- "@polkadot/types-create": 9.8.1
2270
- "@polkadot/types-support": 9.8.1
2271
  "@polkadot/util": ^10.1.12
2272
  "@polkadot/util-crypto": ^10.1.12
2273
  "@polkadot/x-ws": ^10.1.12
@@ -2285,57 +2285,57 @@ __metadata:
2285
  languageName: unknown
2286
  linkType: soft
2287
 
2288
- "@polkadot/types-augment@9.8.1, @polkadot/types-augment@workspace:packages/types-augment":
2289
  version: 0.0.0-use.local
2290
  resolution: "@polkadot/types-augment@workspace:packages/types-augment"
2291
  dependencies:
2292
  "@babel/runtime": ^7.20.1
2293
- "@polkadot/types": 9.8.1
2294
- "@polkadot/types-codec": 9.8.1
2295
  "@polkadot/util": ^10.1.12
2296
  languageName: unknown
2297
  linkType: soft
2298
 
2299
- "@polkadot/types-codec@9.8.1, @polkadot/types-codec@workspace:packages/types-codec":
2300
  version: 0.0.0-use.local
2301
  resolution: "@polkadot/types-codec@workspace:packages/types-codec"
2302
  dependencies:
2303
  "@babel/runtime": ^7.20.1
2304
- "@polkadot/types": 9.8.1
2305
- "@polkadot/types-augment": 9.8.1
2306
- "@polkadot/types-support": 9.8.1
2307
  "@polkadot/util": ^10.1.12
2308
  "@polkadot/util-crypto": ^10.1.12
2309
  "@polkadot/x-bigint": ^10.1.12
2310
  languageName: unknown
2311
  linkType: soft
2312
 
2313
- "@polkadot/types-create@9.8.1, @polkadot/types-create@workspace:packages/types-create":
2314
  version: 0.0.0-use.local
2315
  resolution: "@polkadot/types-create@workspace:packages/types-create"
2316
  dependencies:
2317
  "@babel/runtime": ^7.20.1
2318
- "@polkadot/types": 9.8.1
2319
- "@polkadot/types-codec": 9.8.1
2320
  "@polkadot/util": ^10.1.12
2321
  languageName: unknown
2322
  linkType: soft
2323
 
2324
- "@polkadot/types-known@9.8.1, @polkadot/types-known@workspace:packages/types-known":
2325
  version: 0.0.0-use.local
2326
  resolution: "@polkadot/types-known@workspace:packages/types-known"
2327
  dependencies:
2328
  "@babel/runtime": ^7.20.1
2329
- "@polkadot/api": 9.8.1
2330
  "@polkadot/networks": ^10.1.12
2331
- "@polkadot/types": 9.8.1
2332
- "@polkadot/types-codec": 9.8.1
2333
- "@polkadot/types-create": 9.8.1
2334
  "@polkadot/util": ^10.1.12
2335
  languageName: unknown
2336
  linkType: soft
2337
 
2338
- "@polkadot/types-support@9.8.1, @polkadot/types-support@workspace:packages/types-support":
2339
  version: 0.0.0-use.local
2340
  resolution: "@polkadot/types-support@workspace:packages/types-support"
2341
  dependencies:
@@ -2344,16 +2344,16 @@ __metadata:
2344
  languageName: unknown
2345
  linkType: soft
2346
 
2347
- "@polkadot/types@9.8.1, @polkadot/types@workspace:packages/types":
2348
  version: 0.0.0-use.local
2349
  resolution: "@polkadot/types@workspace:packages/types"
2350
  dependencies:
2351
  "@babel/runtime": ^7.20.1
2352
  "@polkadot/keyring": ^10.1.12
2353
- "@polkadot/types-augment": 9.8.1
2354
- "@polkadot/types-codec": 9.8.1
2355
- "@polkadot/types-create": 9.8.1
2356
- "@polkadot/types-support": 9.8.1
2357
  "@polkadot/util": ^10.1.12
2358
  "@polkadot/util-crypto": ^10.1.12
2359
  rxjs: ^7.5.7
@@ -3142,13 +3142,13 @@ __metadata:
3142
  languageName: node
3143
  linkType: hard
3144
 
3145
- "@typescript-eslint/eslint-plugin@npm:^5.42.1":
3146
- version: 5.42.1
3147
- resolution: "@typescript-eslint/eslint-plugin@npm:5.42.1"
3148
  dependencies:
3149
- "@typescript-eslint/scope-manager": 5.42.1
3150
- "@typescript-eslint/type-utils": 5.42.1
3151
- "@typescript-eslint/utils": 5.42.1
3152
  debug: ^4.3.4
3153
  ignore: ^5.2.0
3154
  natural-compare-lite: ^1.4.0
@@ -3161,51 +3161,51 @@ __metadata:
3161
  peerDependenciesMeta:
3162
  typescript:
3163
  optional: true
3164
- checksum: 6e80b15df7e655964ddd3041d5f7c0bf564e9901f9e3a9cdaf8d056301841fad8d40cd253d83669f01e0ddc62521af9286a27f098df43e304cf932d768995e98
3165
  languageName: node
3166
  linkType: hard
3167
 
3168
- "@typescript-eslint/parser@npm:^5.42.1":
3169
- version: 5.42.1
3170
- resolution: "@typescript-eslint/parser@npm:5.42.1"
3171
  dependencies:
3172
- "@typescript-eslint/scope-manager": 5.42.1
3173
- "@typescript-eslint/types": 5.42.1
3174
- "@typescript-eslint/typescript-estree": 5.42.1
3175
  debug: ^4.3.4
3176
  peerDependencies:
3177
  eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
3178
  peerDependenciesMeta:
3179
  typescript:
3180
  optional: true
3181
- checksum: 7208a085102be5c569ac2be5799d05e080a9c0b9157ed3efa5d7eadb675185bddfa05f2f27e20c235910193a2bd835e5375fb9fc13561a6e20d110e444f37caa
3182
  languageName: node
3183
  linkType: hard
3184
 
3185
- "@typescript-eslint/scope-manager@npm:5.42.1":
3186
- version: 5.42.1
3187
- resolution: "@typescript-eslint/scope-manager@npm:5.42.1"
3188
  dependencies:
3189
- "@typescript-eslint/types": 5.42.1
3190
- "@typescript-eslint/visitor-keys": 5.42.1
3191
- checksum: cfad5f04328fae4bb6d965a94c980ac2f6fa0eee6183e9bed6d7ebdb067f01a0a9a3b5500fc3638d5e287f46f4412aa462e238c610c1fb96b794b83c575c7fb4
3192
  languageName: node
3193
  linkType: hard
3194
 
3195
- "@typescript-eslint/type-utils@npm:5.42.1":
3196
- version: 5.42.1
3197
- resolution: "@typescript-eslint/type-utils@npm:5.42.1"
3198
  dependencies:
3199
- "@typescript-eslint/typescript-estree": 5.42.1
3200
- "@typescript-eslint/utils": 5.42.1
3201
  debug: ^4.3.4
3202
  tsutils: ^3.21.0
3203
  peerDependencies:
3204
  eslint: "*"
3205
  peerDependenciesMeta:
3206
  typescript:
3207
  optional: true
3208
- checksum: 7ac3180aeb966351e54055440f42b723aa864fd39c74be5a41aae97401e6424df94d9f96ae945f1c3a6023860ffd7ba424ff6506c21bd373a6cd878466d9ba62
3209
  languageName: node
3210
  linkType: hard
3211
 
@@ -3216,19 +3216,19 @@ __metadata:
3216
  languageName: node
3217
  linkType: hard
3218
 
3219
- "@typescript-eslint/types@npm:5.42.1":
3220
- version: 5.42.1
3221
- resolution: "@typescript-eslint/types@npm:5.42.1"
3222
- checksum: b0eb3df3792dd0e447abcf2b4fd79b2eaa6f944242d00afa8ef2d9f892ea63e52f200e7cb1758ddbc46154aa6764cec8bc796ed96f7554457a20db976f9f2089
3223
  languageName: node
3224
  linkType: hard
3225
 
3226
- "@typescript-eslint/typescript-estree@npm:5.42.1":
3227
- version: 5.42.1
3228
- resolution: "@typescript-eslint/typescript-estree@npm:5.42.1"
3229
  dependencies:
3230
- "@typescript-eslint/types": 5.42.1
3231
- "@typescript-eslint/visitor-keys": 5.42.1
3232
  debug: ^4.3.4
3233
  globby: ^11.1.0
3234
  is-glob: ^4.0.3
@@ -3237,7 +3237,7 @@ __metadata:
3237
  peerDependenciesMeta:
3238
  typescript:
3239
  optional: true
3240
- checksum: dfd3e20d41ba4b574a52d82cc40b38708b8c2c4277d6304a8d914fe2a4a9ce8779f4d79fdac140e77a3afd3c6a2a7e3f31620dc427cabd04e4e906bb0ca3a468
3241
  languageName: node
3242
  linkType: hard
3243
 
@@ -3259,21 +3259,21 @@ __metadata:
3259
  languageName: node
3260
  linkType: hard
3261
 
3262
- "@typescript-eslint/utils@npm:5.42.1":
3263
- version: 5.42.1
3264
- resolution: "@typescript-eslint/utils@npm:5.42.1"
3265
  dependencies:
3266
  "@types/json-schema": ^7.0.9
3267
  "@types/semver": ^7.3.12
3268
- "@typescript-eslint/scope-manager": 5.42.1
3269
- "@typescript-eslint/types": 5.42.1
3270
- "@typescript-eslint/typescript-estree": 5.42.1
3271
  eslint-scope: ^5.1.1
3272
  eslint-utils: ^3.0.0
3273
  semver: ^7.3.7
3274
  peerDependencies:
3275
  eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
3276
- checksum: 9f1c429a602dad4ba7a52df00924aab6033854234a1e1bf699a3e5b48455b5fdc1a41de459a7f11a3ccfed1528831ecb95fc7e54d30be7d8cccbb689f885fdac
3277
  languageName: node
3278
  linkType: hard
3279
 
@@ -3287,13 +3287,13 @@ __metadata:
3287
  languageName: node
3288
  linkType: hard
3289
 
3290
- "@typescript-eslint/visitor-keys@npm:5.42.1":
3291
- version: 5.42.1
3292
- resolution: "@typescript-eslint/visitor-keys@npm:5.42.1"
3293
  dependencies:
3294
- "@typescript-eslint/types": 5.42.1
3295
  eslint-visitor-keys: ^3.3.0
3296
- checksum: d36c59da7bf3b3c150c12cbe4b0331edc15253f59599ec3d8b873b2a3d9fc7a4fea11490c1b20d972afcdc9c842deb5ada527ea9c538aa7e87555699d9a59f24
3297
  languageName: node
3298
  linkType: hard
3299
 
@@ -10510,17 +10510,17 @@ resolve@^2.0.0-next.3:
10510
  languageName: node
10511
  linkType: hard
10512
 
10513
- "rollup@npm:^3.2.5":
10514
- version: 3.2.5
10515
- resolution: "rollup@npm:3.2.5"
10516
  dependencies:
10517
  fsevents: ~2.3.2
10518
  dependenciesMeta:
10519
  fsevents:
10520
  optional: true
10521
  bin:
10522
  rollup: dist/bin/rollup
10523
- checksum: 1779b778fe4b14f80a995a641d3a89a76e3651170536192022dce1821f1241ee49496353655aa812dc8f8334c89a302ad957b757d4370cf57e41ca270bb394fd
10524
  languageName: node
10525
  linkType: hard
10526
 
@@ -10531,7 +10531,7 @@ resolve@^2.0.0-next.3:
10531
  "@babel/core": ^7.20.2
10532
  "@babel/register": ^7.18.9
10533
  "@babel/runtime": ^7.20.1
10534
- "@polkadot/dev": ^0.67.156
10535
  "@polkadot/typegen": "workspace:packages/typegen"
10536
  "@types/jest": ^29.2.2
10537
  copyfiles: ^2.4.1
1989
  languageName: node
1990
  linkType: hard
1991
 
1992
+ "@polkadot/api-augment@9.8.2, @polkadot/api-augment@workspace:packages/api-augment":
1993
  version: 0.0.0-use.local
1994
  resolution: "@polkadot/api-augment@workspace:packages/api-augment"
1995
  dependencies:
1996
  "@babel/runtime": ^7.20.1
1997
+ "@polkadot/api-base": 9.8.2
1998
+ "@polkadot/rpc-augment": 9.8.2
1999
+ "@polkadot/types": 9.8.2
2000
+ "@polkadot/types-augment": 9.8.2
2001
+ "@polkadot/types-codec": 9.8.2
2002
+ "@polkadot/types-support": 9.8.2
2003
  "@polkadot/util": ^10.1.12
2004
  languageName: unknown
2005
  linkType: soft
2006
 
2007
+ "@polkadot/api-base@9.8.2, @polkadot/api-base@workspace:packages/api-base":
2008
  version: 0.0.0-use.local
2009
  resolution: "@polkadot/api-base@workspace:packages/api-base"
2010
  dependencies:
2011
  "@babel/runtime": ^7.20.1
2012
+ "@polkadot/rpc-core": 9.8.2
2013
+ "@polkadot/types": 9.8.2
2014
  "@polkadot/util": ^10.1.12
2015
  rxjs: ^7.5.7
2016
  languageName: unknown
2021
  resolution: "@polkadot/api-contract@workspace:packages/api-contract"
2022
  dependencies:
2023
  "@babel/runtime": ^7.20.1
2024
+ "@polkadot/api": 9.8.2
2025
+ "@polkadot/api-augment": 9.8.2
2026
  "@polkadot/keyring": ^10.1.12
2027
+ "@polkadot/types": 9.8.2
2028
+ "@polkadot/types-codec": 9.8.2
2029
+ "@polkadot/types-create": 9.8.2
2030
  "@polkadot/util": ^10.1.12
2031
  "@polkadot/util-crypto": ^10.1.12
2032
  rxjs: ^7.5.7
2033
  languageName: unknown
2034
  linkType: soft
2035
 
2036
+ "@polkadot/api-derive@9.8.2, @polkadot/api-derive@workspace:packages/api-derive":
2037
  version: 0.0.0-use.local
2038
  resolution: "@polkadot/api-derive@workspace:packages/api-derive"
2039
  dependencies:
2040
  "@babel/runtime": ^7.20.1
2041
+ "@polkadot/api": 9.8.2
2042
+ "@polkadot/api-augment": 9.8.2
2043
+ "@polkadot/api-base": 9.8.2
2044
+ "@polkadot/rpc-augment": 9.8.2
2045
+ "@polkadot/rpc-core": 9.8.2
2046
+ "@polkadot/rpc-provider": 9.8.2
2047
+ "@polkadot/types": 9.8.2
2048
+ "@polkadot/types-codec": 9.8.2
2049
+ "@polkadot/types-support": 9.8.2
2050
  "@polkadot/util": ^10.1.12
2051
  "@polkadot/util-crypto": ^10.1.12
2052
  rxjs: ^7.5.7
2053
  languageName: unknown
2054
  linkType: soft
2055
 
2056
+ "@polkadot/api@9.8.2, @polkadot/api@workspace:packages/api":
2057
  version: 0.0.0-use.local
2058
  resolution: "@polkadot/api@workspace:packages/api"
2059
  dependencies:
2060
  "@babel/runtime": ^7.20.1
2061
+ "@polkadot/api-augment": 9.8.2
2062
+ "@polkadot/api-base": 9.8.2
2063
+ "@polkadot/api-derive": 9.8.2
2064
  "@polkadot/keyring": ^10.1.12
2065
+ "@polkadot/rpc-augment": 9.8.2
2066
+ "@polkadot/rpc-core": 9.8.2
2067
+ "@polkadot/rpc-provider": 9.8.2
2068
+ "@polkadot/types": 9.8.2
2069
+ "@polkadot/types-augment": 9.8.2
2070
+ "@polkadot/types-codec": 9.8.2
2071
+ "@polkadot/types-create": 9.8.2
2072
+ "@polkadot/types-known": 9.8.2
2073
+ "@polkadot/types-support": 9.8.2
2074
  "@polkadot/util": ^10.1.12
2075
  "@polkadot/util-crypto": ^10.1.12
2076
  eventemitter3: ^4.0.7
2077
  rxjs: ^7.5.7
2078
  languageName: unknown
2079
  linkType: soft
2080
 
2081
+ "@polkadot/dev@npm:^0.67.159":
2082
+ version: 0.67.159
2083
+ resolution: "@polkadot/dev@npm:0.67.159"
2084
  dependencies:
2085
  "@babel/cli": ^7.19.3
2086
  "@babel/core": ^7.20.2
2106
  "@rollup/plugin-json": ^5.0.1
2107
  "@rollup/plugin-node-resolve": ^15.0.1
2108
  "@rushstack/eslint-patch": ^1.2.0
2109
+ "@typescript-eslint/eslint-plugin": ^5.43.0
2110
+ "@typescript-eslint/parser": ^5.43.0
2111
  "@vue/component-compiler-utils": ^3.3.0
2112
  babel-jest: ^29.3.1
2113
  babel-plugin-module-extension-resolver: ^1.0.0-rc.2
2143
  mkdirp: ^1.0.4
2144
  prettier: ^2.7.1
2145
  rimraf: ^3.0.2
2146
+ rollup: ^3.3.0
2147
  rollup-plugin-cleanup: ^3.2.1
2148
  typescript: ^4.8.4
2149
  webpack: ^5.75.0
2177
  polkadot-exec-swc: scripts/polkadot-exec-swc.mjs
2178
  polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
2179
  polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
2180
+ checksum: d8fe3c5f80af1a513abb5a7c051728100e3e840f7e29b9d8627866fff35f097af08ea3a3d9d65168142752ff473236cb559469895b1b73bab8bdc9b2a44bb654
2181
  languageName: node
2182
  linkType: hard
2183
 
2206
  languageName: node
2207
  linkType: hard
2208
 
2209
+ "@polkadot/rpc-augment@9.8.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
2210
  version: 0.0.0-use.local
2211
  resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
2212
  dependencies:
2213
  "@babel/runtime": ^7.20.1
2214
+ "@polkadot/rpc-core": 9.8.2
2215
+ "@polkadot/types": 9.8.2
2216
+ "@polkadot/types-codec": 9.8.2
2217
  "@polkadot/util": ^10.1.12
2218
  languageName: unknown
2219
  linkType: soft
2220
 
2221
+ "@polkadot/rpc-core@9.8.2, @polkadot/rpc-core@workspace:packages/rpc-core":
2222
  version: 0.0.0-use.local
2223
  resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
2224
  dependencies:
2225
  "@babel/runtime": ^7.20.1
2226
  "@polkadot/keyring": ^10.1.12
2227
+ "@polkadot/rpc-augment": 9.8.2
2228
+ "@polkadot/rpc-provider": 9.8.2
2229
+ "@polkadot/types": 9.8.2
2230
  "@polkadot/util": ^10.1.12
2231
  rxjs: ^7.5.7
2232
  languageName: unknown
2233
  linkType: soft
2234
 
2235
+ "@polkadot/rpc-provider@9.8.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
2236
  version: 0.0.0-use.local
2237
  resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
2238
  dependencies:
2239
  "@babel/runtime": ^7.20.1
2240
  "@polkadot/keyring": ^10.1.12
2241
+ "@polkadot/types": 9.8.2
2242
+ "@polkadot/types-support": 9.8.2
2243
  "@polkadot/util": ^10.1.12
2244
  "@polkadot/util-crypto": ^10.1.12
2245
  "@polkadot/x-fetch": ^10.1.12
2259
  "@babel/core": ^7.20.2
2260
  "@babel/register": ^7.18.9
2261
  "@babel/runtime": ^7.20.1
2262
+ "@polkadot/api": 9.8.2
2263
+ "@polkadot/api-augment": 9.8.2
2264
+ "@polkadot/rpc-augment": 9.8.2
2265
+ "@polkadot/rpc-provider": 9.8.2
2266
+ "@polkadot/types": 9.8.2
2267
+ "@polkadot/types-augment": 9.8.2
2268
+ "@polkadot/types-codec": 9.8.2
2269
+ "@polkadot/types-create": 9.8.2
2270
+ "@polkadot/types-support": 9.8.2
2271
  "@polkadot/util": ^10.1.12
2272
  "@polkadot/util-crypto": ^10.1.12
2273
  "@polkadot/x-ws": ^10.1.12
2285
  languageName: unknown
2286
  linkType: soft
2287
 
2288
+ "@polkadot/types-augment@9.8.2, @polkadot/types-augment@workspace:packages/types-augment":
2289
  version: 0.0.0-use.local
2290
  resolution: "@polkadot/types-augment@workspace:packages/types-augment"
2291
  dependencies:
2292
  "@babel/runtime": ^7.20.1
2293
+ "@polkadot/types": 9.8.2
2294
+ "@polkadot/types-codec": 9.8.2
2295
  "@polkadot/util": ^10.1.12
2296
  languageName: unknown
2297
  linkType: soft
2298
 
2299
+ "@polkadot/types-codec@9.8.2, @polkadot/types-codec@workspace:packages/types-codec":
2300
  version: 0.0.0-use.local
2301
  resolution: "@polkadot/types-codec@workspace:packages/types-codec"
2302
  dependencies:
2303
  "@babel/runtime": ^7.20.1
2304
+ "@polkadot/types": 9.8.2
2305
+ "@polkadot/types-augment": 9.8.2
2306
+ "@polkadot/types-support": 9.8.2
2307
  "@polkadot/util": ^10.1.12
2308
  "@polkadot/util-crypto": ^10.1.12
2309
  "@polkadot/x-bigint": ^10.1.12
2310
  languageName: unknown
2311
  linkType: soft
2312
 
2313
+ "@polkadot/types-create@9.8.2, @polkadot/types-create@workspace:packages/types-create":
2314
  version: 0.0.0-use.local
2315
  resolution: "@polkadot/types-create@workspace:packages/types-create"
2316
  dependencies:
2317
  "@babel/runtime": ^7.20.1
2318
+ "@polkadot/types": 9.8.2
2319
+ "@polkadot/types-codec": 9.8.2
2320
  "@polkadot/util": ^10.1.12
2321
  languageName: unknown
2322
  linkType: soft
2323
 
2324
+ "@polkadot/types-known@9.8.2, @polkadot/types-known@workspace:packages/types-known":
2325
  version: 0.0.0-use.local
2326
  resolution: "@polkadot/types-known@workspace:packages/types-known"
2327
  dependencies:
2328
  "@babel/runtime": ^7.20.1
2329
+ "@polkadot/api": 9.8.2
2330
  "@polkadot/networks": ^10.1.12
2331
+ "@polkadot/types": 9.8.2
2332
+ "@polkadot/types-codec": 9.8.2
2333
+ "@polkadot/types-create": 9.8.2
2334
  "@polkadot/util": ^10.1.12
2335
  languageName: unknown
2336
  linkType: soft
2337
 
2338
+ "@polkadot/types-support@9.8.2, @polkadot/types-support@workspace:packages/types-support":
2339
  version: 0.0.0-use.local
2340
  resolution: "@polkadot/types-support@workspace:packages/types-support"
2341
  dependencies:
2344
  languageName: unknown
2345
  linkType: soft
2346
 
2347
+ "@polkadot/types@9.8.2, @polkadot/types@workspace:packages/types":
2348
  version: 0.0.0-use.local
2349
  resolution: "@polkadot/types@workspace:packages/types"
2350
  dependencies:
2351
  "@babel/runtime": ^7.20.1
2352
  "@polkadot/keyring": ^10.1.12
2353
+ "@polkadot/types-augment": 9.8.2
2354
+ "@polkadot/types-codec": 9.8.2
2355
+ "@polkadot/types-create": 9.8.2
2356
+ "@polkadot/types-support": 9.8.2
2357
  "@polkadot/util": ^10.1.12
2358
  "@polkadot/util-crypto": ^10.1.12
2359
  rxjs: ^7.5.7
3142
  languageName: node
3143
  linkType: hard
3144
 
3145
+ "@typescript-eslint/eslint-plugin@npm:^5.43.0":
3146
+ version: 5.43.0
3147
+ resolution: "@typescript-eslint/eslint-plugin@npm:5.43.0"
3148
  dependencies:
3149
+ "@typescript-eslint/scope-manager": 5.43.0
3150
+ "@typescript-eslint/type-utils": 5.43.0
3151
+ "@typescript-eslint/utils": 5.43.0
3152
  debug: ^4.3.4
3153
  ignore: ^5.2.0
3154
  natural-compare-lite: ^1.4.0
3161
  peerDependenciesMeta:
3162
  typescript:
3163
  optional: true
3164
+ checksum: aa0e9bcd9982e9601ada2088f46c1e9389abd31ceaf6cd1d492684fd711a67d595d4c95d97ba14081c2ea7eb3b98a9ebb33f91ef008e7450ce2f70b2a8ec4309
3165
  languageName: node
3166
  linkType: hard
3167
 
3168
+ "@typescript-eslint/parser@npm:^5.43.0":
3169
+ version: 5.43.0
3170
+ resolution: "@typescript-eslint/parser@npm:5.43.0"
3171
  dependencies:
3172
+ "@typescript-eslint/scope-manager": 5.43.0
3173
+ "@typescript-eslint/types": 5.43.0
3174
+ "@typescript-eslint/typescript-estree": 5.43.0
3175
  debug: ^4.3.4
3176
  peerDependencies:
3177
  eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
3178
  peerDependenciesMeta:
3179
  typescript:
3180
  optional: true
3181
+ checksum: a28e0ef2807f1c3381c6dc1d9ddfd83ea8db657d3f808511adf13023b469ed64fc09619e05d7f68746b05ea68770a0882883c77ce908682965ba266f95e168c9
3182
  languageName: node
3183
  linkType: hard
3184
 
3185
+ "@typescript-eslint/scope-manager@npm:5.43.0":
3186
+ version: 5.43.0
3187
+ resolution: "@typescript-eslint/scope-manager@npm:5.43.0"
3188
  dependencies:
3189
+ "@typescript-eslint/types": 5.43.0
3190
+ "@typescript-eslint/visitor-keys": 5.43.0
3191
+ checksum: e594c7a32c3fa29e46dd0b0bc62f97f154bd864682ae7da87a14b6f4336f4cb02f6ed0602bbdb15783e4230ecdf8a0ccc6f7c5820850e8f11240c9e4fb0e388d
3192
  languageName: node
3193
  linkType: hard
3194
 
3195
+ "@typescript-eslint/type-utils@npm:5.43.0":
3196
+ version: 5.43.0
3197
+ resolution: "@typescript-eslint/type-utils@npm:5.43.0"
3198
  dependencies:
3199
+ "@typescript-eslint/typescript-estree": 5.43.0
3200
+ "@typescript-eslint/utils": 5.43.0
3201
  debug: ^4.3.4
3202
  tsutils: ^3.21.0
3203
  peerDependencies:
3204
  eslint: "*"
3205
  peerDependenciesMeta:
3206
  typescript:
3207
  optional: true
3208
+ checksum: 08dbc0b194d0ef1454a95d76c082503e04d9957e89a056068002e233f8d98113f50b2707f7c4b9b44f428e223d5b4485ee2b4df4e0cde354827c5edc92ede973
3209
  languageName: node
3210
  linkType: hard
3211
 
3216
  languageName: node
3217
  linkType: hard
3218
 
3219
+ "@typescript-eslint/types@npm:5.43.0":
3220
+ version: 5.43.0
3221
+ resolution: "@typescript-eslint/types@npm:5.43.0"
3222
+ checksum: fc5e5431c305feee4a3faae84f34df482e08d74b910a6f9376b01326c682ceefeeb0e270d03d7778787bc94ef05b3b85ee6d3c9d732290fbdb4a67ae1b110226
3223
  languageName: node
3224
  linkType: hard
3225
 
3226
+ "@typescript-eslint/typescript-estree@npm:5.43.0":
3227
+ version: 5.43.0
3228
+ resolution: "@typescript-eslint/typescript-estree@npm:5.43.0"
3229
  dependencies:
3230
+ "@typescript-eslint/types": 5.43.0
3231
+ "@typescript-eslint/visitor-keys": 5.43.0
3232
  debug: ^4.3.4
3233
  globby: ^11.1.0
3234
  is-glob: ^4.0.3
3237
  peerDependenciesMeta:
3238
  typescript:
3239
  optional: true
3240
+ checksum: 3479f9413d73369ab3d574580c90a72f74d2ae1ec4afe485eebfad054c3d15c89f23a137bb9d6197dfdae33e444a76a99f6832688787feabbb064e09d39a3f55
3241
  languageName: node
3242
  linkType: hard
3243
 
3259
  languageName: node
3260
  linkType: hard
3261
 
3262
+ "@typescript-eslint/utils@npm:5.43.0":
3263
+ version: 5.43.0
3264
+ resolution: "@typescript-eslint/utils@npm:5.43.0"
3265
  dependencies:
3266
  "@types/json-schema": ^7.0.9
3267
  "@types/semver": ^7.3.12
3268
+ "@typescript-eslint/scope-manager": 5.43.0
3269
+ "@typescript-eslint/types": 5.43.0
3270
+ "@typescript-eslint/typescript-estree": 5.43.0
3271
  eslint-scope: ^5.1.1
3272
  eslint-utils: ^3.0.0
3273
  semver: ^7.3.7
3274
  peerDependencies:
3275
  eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
3276
+ checksum: 4c6b383b51506b57230f2624f883ae21e5d8411d138587c04fe3145f915bf8c289cc2a9f7b0b3faba98345ba230504e5014922bcc578aa0badd594d9eaa8f9ef
3277
  languageName: node
3278
  linkType: hard
3279
 
3287
  languageName: node
3288
  linkType: hard
3289
 
3290
+ "@typescript-eslint/visitor-keys@npm:5.43.0":
3291
+ version: 5.43.0
3292
+ resolution: "@typescript-eslint/visitor-keys@npm:5.43.0"
3293
  dependencies:
3294
+ "@typescript-eslint/types": 5.43.0
3295
  eslint-visitor-keys: ^3.3.0
3296
+ checksum: 4820679e50096dcdaadc7c95d32e5dca3ba8510acf1a865e283822bae3940a2faec02ad8abe793f8a25f75b600f1e7215e1fd3b3ba73779eff737fa90d092550
3297
  languageName: node
3298
  linkType: hard
3299
 
10510
  languageName: node
10511
  linkType: hard
10512
 
10513
+ "rollup@npm:^3.3.0":
10514
+ version: 3.3.0
10515
+ resolution: "rollup@npm:3.3.0"
10516
  dependencies:
10517
  fsevents: ~2.3.2
10518
  dependenciesMeta:
10519
  fsevents:
10520
  optional: true
10521
  bin:
10522
  rollup: dist/bin/rollup
10523
+ checksum: e46a45e857d6e0d10ec6a31ce68d29ed85c22bcda2897355b2e38b804637d862dcbfcb92e38250b6ab219eadf8e624eb33d5bd6554ed8b9bc4b10a173a6afce5
10524
  languageName: node
10525
  linkType: hard
10526
 
10531
  "@babel/core": ^7.20.2
10532
  "@babel/register": ^7.18.9
10533
  "@babel/runtime": ^7.20.1
10534
+ "@polkadot/dev": ^0.67.159
10535
  "@polkadot/typegen": "workspace:packages/typegen"
10536
  "@types/jest": ^29.2.2
10537
  copyfiles: ^2.4.1

Readme

@polkadot/api-base

API Base interfaces