Adjust for aliasses for Weight 1.5 (#5465) * Adjust for aliasses for Weight 1.5 * 9.13.5
[CI Skip] release/stable 9.13.5 skip-checks: true
@@ -1,5 +1,13 @@
|
|
1 |
# CHANGELOG
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
## 9.13.4 Feb 1, 2023
|
4 |
|
5 |
Changes:
|
1 |
# CHANGELOG
|
2 |
|
3 |
+
## 9.13.5 Feb 2, 2023
|
4 |
+
|
5 |
+
Changes:
|
6 |
+
|
7 |
+
- Adjust `Weight` alias for 1.5 chains
|
8 |
+
- Ensure correct registry is pass through for runtime TS generation
|
9 |
+
|
10 |
+
|
11 |
## 9.13.4 Feb 1, 2023
|
12 |
|
13 |
Changes:
|
@@ -1,4 +1,4 @@
|
|
1 |
-
|
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 |
+
3354 Jaco Adjust for aliasses for Weight 1.5 (#5465)
|
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)
|
@@ -11,10 +11,10 @@
|
|
11 |
},
|
12 |
"sideEffects": false,
|
13 |
"type": "module",
|
14 |
-
"version": "9.13.
|
15 |
"versions": {
|
16 |
-
"git": "9.13.
|
17 |
-
"npm": "9.13.
|
18 |
},
|
19 |
"workspaces": [
|
20 |
"packages/*"
|
11 |
},
|
12 |
"sideEffects": false,
|
13 |
"type": "module",
|
14 |
+
"version": "9.13.5",
|
15 |
"versions": {
|
16 |
+
"git": "9.13.5",
|
17 |
+
"npm": "9.13.5"
|
18 |
},
|
19 |
"workspaces": [
|
20 |
"packages/*"
|
@@ -20,15 +20,15 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/api-base": "9.13.
|
28 |
-
"@polkadot/rpc-augment": "9.13.
|
29 |
-
"@polkadot/types": "9.13.
|
30 |
-
"@polkadot/types-augment": "9.13.
|
31 |
-
"@polkadot/types-codec": "9.13.
|
32 |
"@polkadot/util": "^10.3.1"
|
33 |
}
|
34 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/api-base": "9.13.5",
|
28 |
+
"@polkadot/rpc-augment": "9.13.5",
|
29 |
+
"@polkadot/types": "9.13.5",
|
30 |
+
"@polkadot/types-augment": "9.13.5",
|
31 |
+
"@polkadot/types-codec": "9.13.5",
|
32 |
"@polkadot/util": "^10.3.1"
|
33 |
}
|
34 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,12 +20,12 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/rpc-core": "9.13.
|
28 |
-
"@polkadot/types": "9.13.
|
29 |
"@polkadot/util": "^10.3.1",
|
30 |
"rxjs": "^7.8.0"
|
31 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/rpc-core": "9.13.5",
|
28 |
+
"@polkadot/types": "9.13.5",
|
29 |
"@polkadot/util": "^10.3.1",
|
30 |
"rxjs": "^7.8.0"
|
31 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,20 +20,20 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/api": "9.13.
|
28 |
-
"@polkadot/types": "9.13.
|
29 |
-
"@polkadot/types-codec": "9.13.
|
30 |
-
"@polkadot/types-create": "9.13.
|
31 |
"@polkadot/util": "^10.3.1",
|
32 |
"@polkadot/util-crypto": "^10.3.1",
|
33 |
"rxjs": "^7.8.0"
|
34 |
},
|
35 |
"devDependencies": {
|
36 |
-
"@polkadot/api-augment": "9.13.
|
37 |
"@polkadot/keyring": "^10.3.1"
|
38 |
}
|
39 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/api": "9.13.5",
|
28 |
+
"@polkadot/types": "9.13.5",
|
29 |
+
"@polkadot/types-codec": "9.13.5",
|
30 |
+
"@polkadot/types-create": "9.13.5",
|
31 |
"@polkadot/util": "^10.3.1",
|
32 |
"@polkadot/util-crypto": "^10.3.1",
|
33 |
"rxjs": "^7.8.0"
|
34 |
},
|
35 |
"devDependencies": {
|
36 |
+
"@polkadot/api-augment": "9.13.5",
|
37 |
"@polkadot/keyring": "^10.3.1"
|
38 |
}
|
39 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,25 +20,25 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/api": "9.13.
|
28 |
-
"@polkadot/api-augment": "9.13.
|
29 |
-
"@polkadot/api-base": "9.13.
|
30 |
-
"@polkadot/rpc-core": "9.13.
|
31 |
-
"@polkadot/types": "9.13.
|
32 |
-
"@polkadot/types-codec": "9.13.
|
33 |
"@polkadot/util": "^10.3.1",
|
34 |
"@polkadot/util-crypto": "^10.3.1",
|
35 |
"rxjs": "^7.8.0"
|
36 |
},
|
37 |
"devDependencies": {
|
38 |
-
"@polkadot/api": "9.13.
|
39 |
-
"@polkadot/api-augment": "9.13.
|
40 |
-
"@polkadot/rpc-augment": "9.13.
|
41 |
-
"@polkadot/rpc-provider": "9.13.
|
42 |
-
"@polkadot/types-support": "9.13.
|
43 |
}
|
44 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/api": "9.13.5",
|
28 |
+
"@polkadot/api-augment": "9.13.5",
|
29 |
+
"@polkadot/api-base": "9.13.5",
|
30 |
+
"@polkadot/rpc-core": "9.13.5",
|
31 |
+
"@polkadot/types": "9.13.5",
|
32 |
+
"@polkadot/types-codec": "9.13.5",
|
33 |
"@polkadot/util": "^10.3.1",
|
34 |
"@polkadot/util-crypto": "^10.3.1",
|
35 |
"rxjs": "^7.8.0"
|
36 |
},
|
37 |
"devDependencies": {
|
38 |
+
"@polkadot/api": "9.13.5",
|
39 |
+
"@polkadot/api-augment": "9.13.5",
|
40 |
+
"@polkadot/rpc-augment": "9.13.5",
|
41 |
+
"@polkadot/rpc-provider": "9.13.5",
|
42 |
+
"@polkadot/types-support": "9.13.5"
|
43 |
}
|
44 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,29 +20,29 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/api-augment": "9.13.
|
28 |
-
"@polkadot/api-base": "9.13.
|
29 |
-
"@polkadot/api-derive": "9.13.
|
30 |
"@polkadot/keyring": "^10.3.1",
|
31 |
-
"@polkadot/rpc-augment": "9.13.
|
32 |
-
"@polkadot/rpc-core": "9.13.
|
33 |
-
"@polkadot/rpc-provider": "9.13.
|
34 |
-
"@polkadot/types": "9.13.
|
35 |
-
"@polkadot/types-augment": "9.13.
|
36 |
-
"@polkadot/types-codec": "9.13.
|
37 |
-
"@polkadot/types-create": "9.13.
|
38 |
-
"@polkadot/types-known": "9.13.
|
39 |
"@polkadot/util": "^10.3.1",
|
40 |
"@polkadot/util-crypto": "^10.3.1",
|
41 |
"eventemitter3": "^5.0.0",
|
42 |
"rxjs": "^7.8.0"
|
43 |
},
|
44 |
"devDependencies": {
|
45 |
-
"@polkadot/api-augment": "9.13.
|
46 |
-
"@polkadot/types-support": "9.13.
|
47 |
}
|
48 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/api-augment": "9.13.5",
|
28 |
+
"@polkadot/api-base": "9.13.5",
|
29 |
+
"@polkadot/api-derive": "9.13.5",
|
30 |
"@polkadot/keyring": "^10.3.1",
|
31 |
+
"@polkadot/rpc-augment": "9.13.5",
|
32 |
+
"@polkadot/rpc-core": "9.13.5",
|
33 |
+
"@polkadot/rpc-provider": "9.13.5",
|
34 |
+
"@polkadot/types": "9.13.5",
|
35 |
+
"@polkadot/types-augment": "9.13.5",
|
36 |
+
"@polkadot/types-codec": "9.13.5",
|
37 |
+
"@polkadot/types-create": "9.13.5",
|
38 |
+
"@polkadot/types-known": "9.13.5",
|
39 |
"@polkadot/util": "^10.3.1",
|
40 |
"@polkadot/util-crypto": "^10.3.1",
|
41 |
"eventemitter3": "^5.0.0",
|
42 |
"rxjs": "^7.8.0"
|
43 |
},
|
44 |
"devDependencies": {
|
45 |
+
"@polkadot/api-augment": "9.13.5",
|
46 |
+
"@polkadot/types-support": "9.13.5"
|
47 |
}
|
48 |
}
|
@@ -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.13.
|
3 |
|
4 |
// Do not edit, auto-generated by @polkadot/dev
|
5 |
|
6 |
+
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.13.5' };
|
@@ -20,13 +20,13 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/rpc-core": "9.13.
|
28 |
-
"@polkadot/types": "9.13.
|
29 |
-
"@polkadot/types-codec": "9.13.
|
30 |
"@polkadot/util": "^10.3.1"
|
31 |
}
|
32 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/rpc-core": "9.13.5",
|
28 |
+
"@polkadot/types": "9.13.5",
|
29 |
+
"@polkadot/types-codec": "9.13.5",
|
30 |
"@polkadot/util": "^10.3.1"
|
31 |
}
|
32 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,18 +20,18 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/rpc-augment": "9.13.
|
28 |
-
"@polkadot/rpc-provider": "9.13.
|
29 |
-
"@polkadot/types": "9.13.
|
30 |
"@polkadot/util": "^10.3.1",
|
31 |
"rxjs": "^7.8.0"
|
32 |
},
|
33 |
"devDependencies": {
|
34 |
"@polkadot/keyring": "^10.3.1",
|
35 |
-
"@polkadot/rpc-augment": "9.13.
|
36 |
}
|
37 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/rpc-augment": "9.13.5",
|
28 |
+
"@polkadot/rpc-provider": "9.13.5",
|
29 |
+
"@polkadot/types": "9.13.5",
|
30 |
"@polkadot/util": "^10.3.1",
|
31 |
"rxjs": "^7.8.0"
|
32 |
},
|
33 |
"devDependencies": {
|
34 |
"@polkadot/keyring": "^10.3.1",
|
35 |
+
"@polkadot/rpc-augment": "9.13.5"
|
36 |
}
|
37 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,13 +20,13 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/keyring": "^10.3.1",
|
28 |
-
"@polkadot/types": "9.13.
|
29 |
-
"@polkadot/types-support": "9.13.
|
30 |
"@polkadot/util": "^10.3.1",
|
31 |
"@polkadot/util-crypto": "^10.3.1",
|
32 |
"@polkadot/x-fetch": "^10.3.1",
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/keyring": "^10.3.1",
|
28 |
+
"@polkadot/types": "9.13.5",
|
29 |
+
"@polkadot/types-support": "9.13.5",
|
30 |
"@polkadot/util": "^10.3.1",
|
31 |
"@polkadot/util-crypto": "^10.3.1",
|
32 |
"@polkadot/x-fetch": "^10.3.1",
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,7 +20,7 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
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.12",
|
34 |
"@babel/register": "^7.18.9",
|
35 |
"@babel/runtime": "^7.20.13",
|
36 |
-
"@polkadot/api": "9.13.
|
37 |
-
"@polkadot/api-augment": "9.13.
|
38 |
-
"@polkadot/rpc-augment": "9.13.
|
39 |
-
"@polkadot/rpc-provider": "9.13.
|
40 |
-
"@polkadot/types": "9.13.
|
41 |
-
"@polkadot/types-augment": "9.13.
|
42 |
-
"@polkadot/types-codec": "9.13.
|
43 |
-
"@polkadot/types-create": "9.13.
|
44 |
-
"@polkadot/types-support": "9.13.
|
45 |
"@polkadot/util": "^10.3.1",
|
46 |
"@polkadot/util-crypto": "^10.3.1",
|
47 |
"@polkadot/x-ws": "^10.3.1",
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"bin": {
|
26 |
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
33 |
"@babel/core": "^7.20.12",
|
34 |
"@babel/register": "^7.18.9",
|
35 |
"@babel/runtime": "^7.20.13",
|
36 |
+
"@polkadot/api": "9.13.5",
|
37 |
+
"@polkadot/api-augment": "9.13.5",
|
38 |
+
"@polkadot/rpc-augment": "9.13.5",
|
39 |
+
"@polkadot/rpc-provider": "9.13.5",
|
40 |
+
"@polkadot/types": "9.13.5",
|
41 |
+
"@polkadot/types-augment": "9.13.5",
|
42 |
+
"@polkadot/types-codec": "9.13.5",
|
43 |
+
"@polkadot/types-create": "9.13.5",
|
44 |
+
"@polkadot/types-support": "9.13.5",
|
45 |
"@polkadot/util": "^10.3.1",
|
46 |
"@polkadot/util-crypto": "^10.3.1",
|
47 |
"@polkadot/x-ws": "^10.3.1",
|
@@ -9,7 +9,7 @@ import yargs from 'yargs';
|
|
9 |
import { Definitions } from '@polkadot/types/types';
|
10 |
import { formatNumber } from '@polkadot/util';
|
11 |
|
12 |
-
import {
|
13 |
import { assertDir, assertFile, getMetadataViaWs, HEADER, writeFile } from './util';
|
14 |
|
15 |
function generate (metaHex: HexString, pkg: string | undefined, output: string, isStrict?: boolean): void {
|
@@ -45,8 +45,8 @@ function generate (metaHex: HexString, pkg: string | undefined, output: string,
|
|
45 |
generateDefaultEvents(path.join(outputPath, 'augment-api-events.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
46 |
generateDefaultQuery(path.join(outputPath, 'augment-api-query.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
47 |
generateDefaultRpc(path.join(outputPath, 'augment-api-rpc.ts'), extraTypes);
|
|
|
48 |
generateDefaultTx(path.join(outputPath, 'augment-api-tx.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
49 |
-
generateDefaultCalls(path.join(outputPath, 'augment-api-runtime.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
50 |
|
51 |
writeFile(path.join(outputPath, 'augment-api.ts'), (): string =>
|
52 |
[
|
9 |
import { Definitions } from '@polkadot/types/types';
|
10 |
import { formatNumber } from '@polkadot/util';
|
11 |
|
12 |
+
import { generateDefaultConsts, generateDefaultErrors, generateDefaultEvents, generateDefaultQuery, generateDefaultRpc, generateDefaultRuntime, generateDefaultTx } from './generate';
|
13 |
import { assertDir, assertFile, getMetadataViaWs, HEADER, writeFile } from './util';
|
14 |
|
15 |
function generate (metaHex: HexString, pkg: string | undefined, output: string, isStrict?: boolean): void {
|
45 |
generateDefaultEvents(path.join(outputPath, 'augment-api-events.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
46 |
generateDefaultQuery(path.join(outputPath, 'augment-api-query.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
47 |
generateDefaultRpc(path.join(outputPath, 'augment-api-rpc.ts'), extraTypes);
|
48 |
+
generateDefaultRuntime(path.join(outputPath, 'augment-api-runtime.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
49 |
generateDefaultTx(path.join(outputPath, 'augment-api-tx.ts'), metaHex, extraTypes, isStrict, customLookupDefinitions);
|
|
|
50 |
|
51 |
writeFile(path.join(outputPath, 'augment-api.ts'), (): string =>
|
52 |
[
|
@@ -8,6 +8,6 @@ export { generateDefaultInterface } from './interfaceRegistry';
|
|
8 |
export { generateDefaultLookup } from './lookup';
|
9 |
export { generateDefaultQuery } from './query';
|
10 |
export { generateDefaultRpc } from './rpc';
|
11 |
-
export {
|
12 |
export { generateDefaultTsDef } from './tsDef';
|
13 |
export { generateDefaultTx } from './tx';
|
8 |
export { generateDefaultLookup } from './lookup';
|
9 |
export { generateDefaultQuery } from './query';
|
10 |
export { generateDefaultRpc } from './rpc';
|
11 |
+
export { generateDefaultRuntime } from './runtime';
|
12 |
export { generateDefaultTsDef } from './tsDef';
|
13 |
export { generateDefaultTx } from './tx';
|
@@ -2,7 +2,7 @@
|
|
2 |
// SPDX-License-Identifier: Apache-2.0
|
3 |
|
4 |
import type { Metadata } from '@polkadot/types/metadata/Metadata';
|
5 |
-
import type { DefinitionCallNamed, Definitions } from '@polkadot/types/types';
|
6 |
import type { HexString } from '@polkadot/util/types';
|
7 |
import type { ExtraTypes } from './types';
|
8 |
|
@@ -67,7 +67,7 @@ function getDefs (apis: Apis | null, defs: Record<string, Definitions>): Record<
|
|
67 |
}
|
68 |
|
69 |
/** @internal */
|
70 |
-
export function generateCallTypes (meta: Metadata, dest: string, extraTypes: ExtraTypes, isStrict: boolean, customLookupDefinitions?: Definitions): void {
|
71 |
writeFile(dest, (): string => {
|
72 |
const allTypes: ExtraTypes = {
|
73 |
'@polkadot/types-augment': {
|
@@ -83,8 +83,7 @@ export function generateCallTypes (meta: Metadata, dest: string, extraTypes: Ext
|
|
83 |
|
84 |
// find the system.Version in metadata
|
85 |
let apis: Apis | null = null;
|
86 |
-
const
|
87 |
-
const sysp = pallets.find(({ name }) => name.eq('System'));
|
88 |
|
89 |
if (sysp) {
|
90 |
const verc = sysp.constants.find(({ name }) => name.eq('Version'));
|
@@ -163,10 +162,11 @@ export function generateCallTypes (meta: Metadata, dest: string, extraTypes: Ext
|
|
163 |
});
|
164 |
}
|
165 |
|
166 |
-
export function
|
167 |
-
const { metadata } = initMeta(data, extraTypes);
|
168 |
|
169 |
generateCallTypes(
|
|
|
170 |
metadata,
|
171 |
dest,
|
172 |
extraTypes,
|
2 |
// SPDX-License-Identifier: Apache-2.0
|
3 |
|
4 |
import type { Metadata } from '@polkadot/types/metadata/Metadata';
|
5 |
+
import type { DefinitionCallNamed, Definitions, Registry } from '@polkadot/types/types';
|
6 |
import type { HexString } from '@polkadot/util/types';
|
7 |
import type { ExtraTypes } from './types';
|
8 |
|
67 |
}
|
68 |
|
69 |
/** @internal */
|
70 |
+
export function generateCallTypes (registry: Registry, meta: Metadata, dest: string, extraTypes: ExtraTypes, isStrict: boolean, customLookupDefinitions?: Definitions): void {
|
71 |
writeFile(dest, (): string => {
|
72 |
const allTypes: ExtraTypes = {
|
73 |
'@polkadot/types-augment': {
|
83 |
|
84 |
// find the system.Version in metadata
|
85 |
let apis: Apis | null = null;
|
86 |
+
const sysp = meta.asLatest.pallets.find(({ name }) => name.eq('System'));
|
|
|
87 |
|
88 |
if (sysp) {
|
89 |
const verc = sysp.constants.find(({ name }) => name.eq('Version'));
|
162 |
});
|
163 |
}
|
164 |
|
165 |
+
export function generateDefaultRuntime (dest: string, data: HexString, extraTypes: ExtraTypes = {}, isStrict = false, customLookupDefinitions?: Definitions): void {
|
166 |
+
const { metadata, registry } = initMeta(data, extraTypes);
|
167 |
|
168 |
generateCallTypes(
|
169 |
+
registry,
|
170 |
metadata,
|
171 |
dest,
|
172 |
extraTypes,
|
@@ -7,7 +7,7 @@ import kusama from '@polkadot/types-support/metadata/static-kusama';
|
|
7 |
import polkadot from '@polkadot/types-support/metadata/static-polkadot';
|
8 |
import substrate from '@polkadot/types-support/metadata/static-substrate';
|
9 |
|
10 |
-
import {
|
11 |
|
12 |
const BASE = 'packages/api-augment/src';
|
13 |
const METAS = Object.entries<HexString>({ kusama, polkadot, substrate });
|
@@ -26,7 +26,7 @@ export function main (): void {
|
|
26 |
generateDefaultErrors(`${BASE}/${name}/errors.ts`, staticMeta);
|
27 |
generateDefaultEvents(`${BASE}/${name}/events.ts`, staticMeta);
|
28 |
generateDefaultQuery(`${BASE}/${name}/query.ts`, staticMeta);
|
|
|
29 |
generateDefaultTx(`${BASE}/${name}/tx.ts`, staticMeta);
|
30 |
-
generateDefaultCalls(`${BASE}/${name}/runtime.ts`, staticMeta);
|
31 |
}
|
32 |
}
|
7 |
import polkadot from '@polkadot/types-support/metadata/static-polkadot';
|
8 |
import substrate from '@polkadot/types-support/metadata/static-substrate';
|
9 |
|
10 |
+
import { generateDefaultConsts, generateDefaultErrors, generateDefaultEvents, generateDefaultInterface, generateDefaultLookup, generateDefaultQuery, generateDefaultRpc, generateDefaultRuntime, generateDefaultTsDef, generateDefaultTx } from './generate';
|
11 |
|
12 |
const BASE = 'packages/api-augment/src';
|
13 |
const METAS = Object.entries<HexString>({ kusama, polkadot, substrate });
|
26 |
generateDefaultErrors(`${BASE}/${name}/errors.ts`, staticMeta);
|
27 |
generateDefaultEvents(`${BASE}/${name}/events.ts`, staticMeta);
|
28 |
generateDefaultQuery(`${BASE}/${name}/query.ts`, staticMeta);
|
29 |
+
generateDefaultRuntime(`${BASE}/${name}/runtime.ts`, staticMeta);
|
30 |
generateDefaultTx(`${BASE}/${name}/tx.ts`, staticMeta);
|
|
|
31 |
}
|
32 |
}
|
@@ -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.13.
|
3 |
|
4 |
// Do not edit, auto-generated by @polkadot/dev
|
5 |
|
6 |
+
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.13.5' };
|
@@ -20,12 +20,12 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/types": "9.13.
|
28 |
-
"@polkadot/types-codec": "9.13.
|
29 |
"@polkadot/util": "^10.3.1"
|
30 |
}
|
31 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/types": "9.13.5",
|
28 |
+
"@polkadot/types-codec": "9.13.5",
|
29 |
"@polkadot/util": "^10.3.1"
|
30 |
}
|
31 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,17 +20,17 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/util": "^10.3.1",
|
28 |
"@polkadot/x-bigint": "^10.3.1"
|
29 |
},
|
30 |
"devDependencies": {
|
31 |
-
"@polkadot/types": "9.13.
|
32 |
-
"@polkadot/types-augment": "9.13.
|
33 |
-
"@polkadot/types-support": "9.13.
|
34 |
"@polkadot/util-crypto": "^10.3.1"
|
35 |
}
|
36 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/util": "^10.3.1",
|
28 |
"@polkadot/x-bigint": "^10.3.1"
|
29 |
},
|
30 |
"devDependencies": {
|
31 |
+
"@polkadot/types": "9.13.5",
|
32 |
+
"@polkadot/types-augment": "9.13.5",
|
33 |
+
"@polkadot/types-support": "9.13.5",
|
34 |
"@polkadot/util-crypto": "^10.3.1"
|
35 |
}
|
36 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,14 +20,14 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
-
"@polkadot/types-codec": "9.13.
|
28 |
"@polkadot/util": "^10.3.1"
|
29 |
},
|
30 |
"devDependencies": {
|
31 |
-
"@polkadot/types": "9.13.
|
32 |
}
|
33 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
+
"@polkadot/types-codec": "9.13.5",
|
28 |
"@polkadot/util": "^10.3.1"
|
29 |
},
|
30 |
"devDependencies": {
|
31 |
+
"@polkadot/types": "9.13.5"
|
32 |
}
|
33 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,17 +20,17 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/networks": "^10.3.1",
|
28 |
-
"@polkadot/types": "9.13.
|
29 |
-
"@polkadot/types-codec": "9.13.
|
30 |
-
"@polkadot/types-create": "9.13.
|
31 |
"@polkadot/util": "^10.3.1"
|
32 |
},
|
33 |
"devDependencies": {
|
34 |
-
"@polkadot/api": "9.13.
|
35 |
}
|
36 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/networks": "^10.3.1",
|
28 |
+
"@polkadot/types": "9.13.5",
|
29 |
+
"@polkadot/types-codec": "9.13.5",
|
30 |
+
"@polkadot/types-create": "9.13.5",
|
31 |
"@polkadot/util": "^10.3.1"
|
32 |
},
|
33 |
"devDependencies": {
|
34 |
+
"@polkadot/api": "9.13.5"
|
35 |
}
|
36 |
}
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,7 +20,7 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
@@ -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.13.
|
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.13.5' };
|
@@ -20,20 +20,20 @@
|
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
-
"version": "9.13.
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/keyring": "^10.3.1",
|
28 |
-
"@polkadot/types-augment": "9.13.
|
29 |
-
"@polkadot/types-codec": "9.13.
|
30 |
-
"@polkadot/types-create": "9.13.
|
31 |
"@polkadot/util": "^10.3.1",
|
32 |
"@polkadot/util-crypto": "^10.3.1",
|
33 |
"rxjs": "^7.8.0"
|
34 |
},
|
35 |
"devDependencies": {
|
36 |
"@polkadot/keyring": "^10.3.1",
|
37 |
-
"@polkadot/types-support": "9.13.
|
38 |
}
|
39 |
}
|
20 |
"./detectPackage.cjs"
|
21 |
],
|
22 |
"type": "module",
|
23 |
+
"version": "9.13.5",
|
24 |
"main": "index.js",
|
25 |
"dependencies": {
|
26 |
"@babel/runtime": "^7.20.13",
|
27 |
"@polkadot/keyring": "^10.3.1",
|
28 |
+
"@polkadot/types-augment": "9.13.5",
|
29 |
+
"@polkadot/types-codec": "9.13.5",
|
30 |
+
"@polkadot/types-create": "9.13.5",
|
31 |
"@polkadot/util": "^10.3.1",
|
32 |
"@polkadot/util-crypto": "^10.3.1",
|
33 |
"rxjs": "^7.8.0"
|
34 |
},
|
35 |
"devDependencies": {
|
36 |
"@polkadot/keyring": "^10.3.1",
|
37 |
+
"@polkadot/types-support": "9.13.5"
|
38 |
}
|
39 |
}
|
@@ -540,24 +540,28 @@ export class TypeRegistry implements Registry {
|
|
540 |
// attach the lookup before we register any types
|
541 |
this.setLookup(lookup);
|
542 |
|
543 |
-
//
|
544 |
-
let
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
// where we have an already-supplied override, we don't clobber
|
558 |
// it with our detected value (This protects against pre-defines
|
559 |
// where Weight may be aliassed to WeightV0, e.g. in early Kusama chains)
|
560 |
-
|
|
|
|
|
|
|
|
|
|
|
561 |
}
|
562 |
};
|
563 |
|
540 |
// attach the lookup before we register any types
|
541 |
this.setLookup(lookup);
|
542 |
|
543 |
+
// we detect based on runtime configuration
|
544 |
+
let Weight: string | null = null;
|
545 |
+
|
546 |
+
if (this.hasType('SpWeightsWeightV2Weight')) {
|
547 |
+
// detection for WeightV2 type based on latest naming
|
548 |
+
const weightv2 = this.createType<WeightV2>('SpWeightsWeightV2Weight');
|
549 |
+
|
550 |
+
Weight = weightv2.refTime && weightv2.proofSize
|
551 |
+
// with both refTime & proofSize we use as-is (WeightV2)
|
552 |
+
? 'SpWeightsWeightV2Weight'
|
553 |
+
// fallback to WeightV1 (WeightV1.5 is a struct, single field)
|
554 |
+
: 'WeightV1';
|
555 |
+
} else if (!isBn(this.createType<WeightV1>('Weight'))) {
|
556 |
+
// where we have an already-supplied BN override, we don't clobber
|
|
|
557 |
// it with our detected value (This protects against pre-defines
|
558 |
// where Weight may be aliassed to WeightV0, e.g. in early Kusama chains)
|
559 |
+
Weight = 'WeightV1';
|
560 |
+
}
|
561 |
+
|
562 |
+
if (Weight) {
|
563 |
+
// we have detected a version, adjust the definition
|
564 |
+
this.register({ Weight });
|
565 |
}
|
566 |
};
|
567 |
|
@@ -47,9 +47,8 @@ const PATHS_ALIAS = splitNamespace([
|
|
47 |
'sp_core::crypto::AccountId32',
|
48 |
'sp_runtime::generic::era::Era',
|
49 |
'sp_runtime::multiaddress::MultiAddress',
|
50 |
-
// weights
|
51 |
'frame_support::weights::weight_v2::Weight',
|
52 |
-
'sp_weights::weight_v2::Weight',
|
53 |
// ethereum overrides (Frontier, Moonbeam, Polkadot claims)
|
54 |
'account::AccountId20',
|
55 |
'polkadot_runtime_common::claims::EthereumAddress',
|
@@ -152,12 +151,7 @@ function matchParts (first: string[], second: (string | Text)[]): boolean {
|
|
152 |
}
|
153 |
|
154 |
/** @internal check if the path matches the PATHS_ALIAS (with wildcards) */
|
155 |
-
function getAliasPath ({
|
156 |
-
// specific logic for weights - we only override when non-complex struct
|
157 |
-
if (path.join('::') === 'sp_weights::weight_v2::Weight' && def.isComposite && def.asComposite.fields.length !== 1) {
|
158 |
-
return null;
|
159 |
-
}
|
160 |
-
|
161 |
// TODO We need to handle ink! Balance in some way
|
162 |
return path.length && PATHS_ALIAS.some((a) => matchParts(a, path))
|
163 |
? path[path.length - 1].toString()
|
47 |
'sp_core::crypto::AccountId32',
|
48 |
'sp_runtime::generic::era::Era',
|
49 |
'sp_runtime::multiaddress::MultiAddress',
|
50 |
+
// weights 1.5+ is a structure can be flatenned
|
51 |
'frame_support::weights::weight_v2::Weight',
|
|
|
52 |
// ethereum overrides (Frontier, Moonbeam, Polkadot claims)
|
53 |
'account::AccountId20',
|
54 |
'polkadot_runtime_common::claims::EthereumAddress',
|
151 |
}
|
152 |
|
153 |
/** @internal check if the path matches the PATHS_ALIAS (with wildcards) */
|
154 |
+
function getAliasPath ({ path }: SiType): string | null {
|
|
|
|
|
|
|
|
|
|
|
155 |
// TODO We need to handle ink! Balance in some way
|
156 |
return path.length && PATHS_ALIAS.some((a) => matchParts(a, path))
|
157 |
? path[path.length - 1].toString()
|
@@ -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.13.
|
3 |
|
4 |
// Do not edit, auto-generated by @polkadot/dev
|
5 |
|
6 |
+
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.13.5' };
|
@@ -1988,27 +1988,27 @@ __metadata:
|
|
1988 |
languageName: node
|
1989 |
linkType: hard
|
1990 |
|
1991 |
-
"@polkadot/api-augment@9.13.
|
1992 |
version: 0.0.0-use.local
|
1993 |
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
1994 |
dependencies:
|
1995 |
"@babel/runtime": ^7.20.13
|
1996 |
-
"@polkadot/api-base": 9.13.
|
1997 |
-
"@polkadot/rpc-augment": 9.13.
|
1998 |
-
"@polkadot/types": 9.13.
|
1999 |
-
"@polkadot/types-augment": 9.13.
|
2000 |
-
"@polkadot/types-codec": 9.13.
|
2001 |
"@polkadot/util": ^10.3.1
|
2002 |
languageName: unknown
|
2003 |
linkType: soft
|
2004 |
|
2005 |
-
"@polkadot/api-base@9.13.
|
2006 |
version: 0.0.0-use.local
|
2007 |
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
2008 |
dependencies:
|
2009 |
"@babel/runtime": ^7.20.13
|
2010 |
-
"@polkadot/rpc-core": 9.13.
|
2011 |
-
"@polkadot/types": 9.13.
|
2012 |
"@polkadot/util": ^10.3.1
|
2013 |
rxjs: ^7.8.0
|
2014 |
languageName: unknown
|
@@ -2019,56 +2019,56 @@ __metadata:
|
|
2019 |
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
2020 |
dependencies:
|
2021 |
"@babel/runtime": ^7.20.13
|
2022 |
-
"@polkadot/api": 9.13.
|
2023 |
-
"@polkadot/api-augment": 9.13.
|
2024 |
"@polkadot/keyring": ^10.3.1
|
2025 |
-
"@polkadot/types": 9.13.
|
2026 |
-
"@polkadot/types-codec": 9.13.
|
2027 |
-
"@polkadot/types-create": 9.13.
|
2028 |
"@polkadot/util": ^10.3.1
|
2029 |
"@polkadot/util-crypto": ^10.3.1
|
2030 |
rxjs: ^7.8.0
|
2031 |
languageName: unknown
|
2032 |
linkType: soft
|
2033 |
|
2034 |
-
"@polkadot/api-derive@9.13.
|
2035 |
version: 0.0.0-use.local
|
2036 |
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
2037 |
dependencies:
|
2038 |
"@babel/runtime": ^7.20.13
|
2039 |
-
"@polkadot/api": 9.13.
|
2040 |
-
"@polkadot/api-augment": 9.13.
|
2041 |
-
"@polkadot/api-base": 9.13.
|
2042 |
-
"@polkadot/rpc-augment": 9.13.
|
2043 |
-
"@polkadot/rpc-core": 9.13.
|
2044 |
-
"@polkadot/rpc-provider": 9.13.
|
2045 |
-
"@polkadot/types": 9.13.
|
2046 |
-
"@polkadot/types-codec": 9.13.
|
2047 |
-
"@polkadot/types-support": 9.13.
|
2048 |
"@polkadot/util": ^10.3.1
|
2049 |
"@polkadot/util-crypto": ^10.3.1
|
2050 |
rxjs: ^7.8.0
|
2051 |
languageName: unknown
|
2052 |
linkType: soft
|
2053 |
|
2054 |
-
"@polkadot/api@9.13.
|
2055 |
version: 0.0.0-use.local
|
2056 |
resolution: "@polkadot/api@workspace:packages/api"
|
2057 |
dependencies:
|
2058 |
"@babel/runtime": ^7.20.13
|
2059 |
-
"@polkadot/api-augment": 9.13.
|
2060 |
-
"@polkadot/api-base": 9.13.
|
2061 |
-
"@polkadot/api-derive": 9.13.
|
2062 |
"@polkadot/keyring": ^10.3.1
|
2063 |
-
"@polkadot/rpc-augment": 9.13.
|
2064 |
-
"@polkadot/rpc-core": 9.13.
|
2065 |
-
"@polkadot/rpc-provider": 9.13.
|
2066 |
-
"@polkadot/types": 9.13.
|
2067 |
-
"@polkadot/types-augment": 9.13.
|
2068 |
-
"@polkadot/types-codec": 9.13.
|
2069 |
-
"@polkadot/types-create": 9.13.
|
2070 |
-
"@polkadot/types-known": 9.13.
|
2071 |
-
"@polkadot/types-support": 9.13.
|
2072 |
"@polkadot/util": ^10.3.1
|
2073 |
"@polkadot/util-crypto": ^10.3.1
|
2074 |
eventemitter3: ^5.0.0
|
@@ -2200,40 +2200,40 @@ __metadata:
|
|
2200 |
languageName: node
|
2201 |
linkType: hard
|
2202 |
|
2203 |
-
"@polkadot/rpc-augment@9.13.
|
2204 |
version: 0.0.0-use.local
|
2205 |
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
2206 |
dependencies:
|
2207 |
"@babel/runtime": ^7.20.13
|
2208 |
-
"@polkadot/rpc-core": 9.13.
|
2209 |
-
"@polkadot/types": 9.13.
|
2210 |
-
"@polkadot/types-codec": 9.13.
|
2211 |
"@polkadot/util": ^10.3.1
|
2212 |
languageName: unknown
|
2213 |
linkType: soft
|
2214 |
|
2215 |
-
"@polkadot/rpc-core@9.13.
|
2216 |
version: 0.0.0-use.local
|
2217 |
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
2218 |
dependencies:
|
2219 |
"@babel/runtime": ^7.20.13
|
2220 |
"@polkadot/keyring": ^10.3.1
|
2221 |
-
"@polkadot/rpc-augment": 9.13.
|
2222 |
-
"@polkadot/rpc-provider": 9.13.
|
2223 |
-
"@polkadot/types": 9.13.
|
2224 |
"@polkadot/util": ^10.3.1
|
2225 |
rxjs: ^7.8.0
|
2226 |
languageName: unknown
|
2227 |
linkType: soft
|
2228 |
|
2229 |
-
"@polkadot/rpc-provider@9.13.
|
2230 |
version: 0.0.0-use.local
|
2231 |
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
2232 |
dependencies:
|
2233 |
"@babel/runtime": ^7.20.13
|
2234 |
"@polkadot/keyring": ^10.3.1
|
2235 |
-
"@polkadot/types": 9.13.
|
2236 |
-
"@polkadot/types-support": 9.13.
|
2237 |
"@polkadot/util": ^10.3.1
|
2238 |
"@polkadot/util-crypto": ^10.3.1
|
2239 |
"@polkadot/x-fetch": ^10.3.1
|
@@ -2256,15 +2256,15 @@ __metadata:
|
|
2256 |
"@babel/core": ^7.20.12
|
2257 |
"@babel/register": ^7.18.9
|
2258 |
"@babel/runtime": ^7.20.13
|
2259 |
-
"@polkadot/api": 9.13.
|
2260 |
-
"@polkadot/api-augment": 9.13.
|
2261 |
-
"@polkadot/rpc-augment": 9.13.
|
2262 |
-
"@polkadot/rpc-provider": 9.13.
|
2263 |
-
"@polkadot/types": 9.13.
|
2264 |
-
"@polkadot/types-augment": 9.13.
|
2265 |
-
"@polkadot/types-codec": 9.13.
|
2266 |
-
"@polkadot/types-create": 9.13.
|
2267 |
-
"@polkadot/types-support": 9.13.
|
2268 |
"@polkadot/util": ^10.3.1
|
2269 |
"@polkadot/util-crypto": ^10.3.1
|
2270 |
"@polkadot/x-ws": ^10.3.1
|
@@ -2282,57 +2282,57 @@ __metadata:
|
|
2282 |
languageName: unknown
|
2283 |
linkType: soft
|
2284 |
|
2285 |
-
"@polkadot/types-augment@9.13.
|
2286 |
version: 0.0.0-use.local
|
2287 |
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
2288 |
dependencies:
|
2289 |
"@babel/runtime": ^7.20.13
|
2290 |
-
"@polkadot/types": 9.13.
|
2291 |
-
"@polkadot/types-codec": 9.13.
|
2292 |
"@polkadot/util": ^10.3.1
|
2293 |
languageName: unknown
|
2294 |
linkType: soft
|
2295 |
|
2296 |
-
"@polkadot/types-codec@9.13.
|
2297 |
version: 0.0.0-use.local
|
2298 |
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
2299 |
dependencies:
|
2300 |
"@babel/runtime": ^7.20.13
|
2301 |
-
"@polkadot/types": 9.13.
|
2302 |
-
"@polkadot/types-augment": 9.13.
|
2303 |
-
"@polkadot/types-support": 9.13.
|
2304 |
"@polkadot/util": ^10.3.1
|
2305 |
"@polkadot/util-crypto": ^10.3.1
|
2306 |
"@polkadot/x-bigint": ^10.3.1
|
2307 |
languageName: unknown
|
2308 |
linkType: soft
|
2309 |
|
2310 |
-
"@polkadot/types-create@9.13.
|
2311 |
version: 0.0.0-use.local
|
2312 |
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
2313 |
dependencies:
|
2314 |
"@babel/runtime": ^7.20.13
|
2315 |
-
"@polkadot/types": 9.13.
|
2316 |
-
"@polkadot/types-codec": 9.13.
|
2317 |
"@polkadot/util": ^10.3.1
|
2318 |
languageName: unknown
|
2319 |
linkType: soft
|
2320 |
|
2321 |
-
"@polkadot/types-known@9.13.
|
2322 |
version: 0.0.0-use.local
|
2323 |
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
2324 |
dependencies:
|
2325 |
"@babel/runtime": ^7.20.13
|
2326 |
-
"@polkadot/api": 9.13.
|
2327 |
"@polkadot/networks": ^10.3.1
|
2328 |
-
"@polkadot/types": 9.13.
|
2329 |
-
"@polkadot/types-codec": 9.13.
|
2330 |
-
"@polkadot/types-create": 9.13.
|
2331 |
"@polkadot/util": ^10.3.1
|
2332 |
languageName: unknown
|
2333 |
linkType: soft
|
2334 |
|
2335 |
-
"@polkadot/types-support@9.13.
|
2336 |
version: 0.0.0-use.local
|
2337 |
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
2338 |
dependencies:
|
@@ -2341,16 +2341,16 @@ __metadata:
|
|
2341 |
languageName: unknown
|
2342 |
linkType: soft
|
2343 |
|
2344 |
-
"@polkadot/types@9.13.
|
2345 |
version: 0.0.0-use.local
|
2346 |
resolution: "@polkadot/types@workspace:packages/types"
|
2347 |
dependencies:
|
2348 |
"@babel/runtime": ^7.20.13
|
2349 |
"@polkadot/keyring": ^10.3.1
|
2350 |
-
"@polkadot/types-augment": 9.13.
|
2351 |
-
"@polkadot/types-codec": 9.13.
|
2352 |
-
"@polkadot/types-create": 9.13.
|
2353 |
-
"@polkadot/types-support": 9.13.
|
2354 |
"@polkadot/util": ^10.3.1
|
2355 |
"@polkadot/util-crypto": ^10.3.1
|
2356 |
rxjs: ^7.8.0
|
1988 |
languageName: node
|
1989 |
linkType: hard
|
1990 |
|
1991 |
+
"@polkadot/api-augment@9.13.5, @polkadot/api-augment@workspace:packages/api-augment":
|
1992 |
version: 0.0.0-use.local
|
1993 |
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
1994 |
dependencies:
|
1995 |
"@babel/runtime": ^7.20.13
|
1996 |
+
"@polkadot/api-base": 9.13.5
|
1997 |
+
"@polkadot/rpc-augment": 9.13.5
|
1998 |
+
"@polkadot/types": 9.13.5
|
1999 |
+
"@polkadot/types-augment": 9.13.5
|
2000 |
+
"@polkadot/types-codec": 9.13.5
|
2001 |
"@polkadot/util": ^10.3.1
|
2002 |
languageName: unknown
|
2003 |
linkType: soft
|
2004 |
|
2005 |
+
"@polkadot/api-base@9.13.5, @polkadot/api-base@workspace:packages/api-base":
|
2006 |
version: 0.0.0-use.local
|
2007 |
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
2008 |
dependencies:
|
2009 |
"@babel/runtime": ^7.20.13
|
2010 |
+
"@polkadot/rpc-core": 9.13.5
|
2011 |
+
"@polkadot/types": 9.13.5
|
2012 |
"@polkadot/util": ^10.3.1
|
2013 |
rxjs: ^7.8.0
|
2014 |
languageName: unknown
|
2019 |
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
2020 |
dependencies:
|
2021 |
"@babel/runtime": ^7.20.13
|
2022 |
+
"@polkadot/api": 9.13.5
|
2023 |
+
"@polkadot/api-augment": 9.13.5
|
2024 |
"@polkadot/keyring": ^10.3.1
|
2025 |
+
"@polkadot/types": 9.13.5
|
2026 |
+
"@polkadot/types-codec": 9.13.5
|
2027 |
+
"@polkadot/types-create": 9.13.5
|
2028 |
"@polkadot/util": ^10.3.1
|
2029 |
"@polkadot/util-crypto": ^10.3.1
|
2030 |
rxjs: ^7.8.0
|
2031 |
languageName: unknown
|
2032 |
linkType: soft
|
2033 |
|
2034 |
+
"@polkadot/api-derive@9.13.5, @polkadot/api-derive@workspace:packages/api-derive":
|
2035 |
version: 0.0.0-use.local
|
2036 |
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
2037 |
dependencies:
|
2038 |
"@babel/runtime": ^7.20.13
|
2039 |
+
"@polkadot/api": 9.13.5
|
2040 |
+
"@polkadot/api-augment": 9.13.5
|
2041 |
+
"@polkadot/api-base": 9.13.5
|
2042 |
+
"@polkadot/rpc-augment": 9.13.5
|
2043 |
+
"@polkadot/rpc-core": 9.13.5
|
2044 |
+
"@polkadot/rpc-provider": 9.13.5
|
2045 |
+
"@polkadot/types": 9.13.5
|
2046 |
+
"@polkadot/types-codec": 9.13.5
|
2047 |
+
"@polkadot/types-support": 9.13.5
|
2048 |
"@polkadot/util": ^10.3.1
|
2049 |
"@polkadot/util-crypto": ^10.3.1
|
2050 |
rxjs: ^7.8.0
|
2051 |
languageName: unknown
|
2052 |
linkType: soft
|
2053 |
|
2054 |
+
"@polkadot/api@9.13.5, @polkadot/api@workspace:packages/api":
|
2055 |
version: 0.0.0-use.local
|
2056 |
resolution: "@polkadot/api@workspace:packages/api"
|
2057 |
dependencies:
|
2058 |
"@babel/runtime": ^7.20.13
|
2059 |
+
"@polkadot/api-augment": 9.13.5
|
2060 |
+
"@polkadot/api-base": 9.13.5
|
2061 |
+
"@polkadot/api-derive": 9.13.5
|
2062 |
"@polkadot/keyring": ^10.3.1
|
2063 |
+
"@polkadot/rpc-augment": 9.13.5
|
2064 |
+
"@polkadot/rpc-core": 9.13.5
|
2065 |
+
"@polkadot/rpc-provider": 9.13.5
|
2066 |
+
"@polkadot/types": 9.13.5
|
2067 |
+
"@polkadot/types-augment": 9.13.5
|
2068 |
+
"@polkadot/types-codec": 9.13.5
|
2069 |
+
"@polkadot/types-create": 9.13.5
|
2070 |
+
"@polkadot/types-known": 9.13.5
|
2071 |
+
"@polkadot/types-support": 9.13.5
|
2072 |
"@polkadot/util": ^10.3.1
|
2073 |
"@polkadot/util-crypto": ^10.3.1
|
2074 |
eventemitter3: ^5.0.0
|
2200 |
languageName: node
|
2201 |
linkType: hard
|
2202 |
|
2203 |
+
"@polkadot/rpc-augment@9.13.5, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
2204 |
version: 0.0.0-use.local
|
2205 |
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
2206 |
dependencies:
|
2207 |
"@babel/runtime": ^7.20.13
|
2208 |
+
"@polkadot/rpc-core": 9.13.5
|
2209 |
+
"@polkadot/types": 9.13.5
|
2210 |
+
"@polkadot/types-codec": 9.13.5
|
2211 |
"@polkadot/util": ^10.3.1
|
2212 |
languageName: unknown
|
2213 |
linkType: soft
|
2214 |
|
2215 |
+
"@polkadot/rpc-core@9.13.5, @polkadot/rpc-core@workspace:packages/rpc-core":
|
2216 |
version: 0.0.0-use.local
|
2217 |
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
2218 |
dependencies:
|
2219 |
"@babel/runtime": ^7.20.13
|
2220 |
"@polkadot/keyring": ^10.3.1
|
2221 |
+
"@polkadot/rpc-augment": 9.13.5
|
2222 |
+
"@polkadot/rpc-provider": 9.13.5
|
2223 |
+
"@polkadot/types": 9.13.5
|
2224 |
"@polkadot/util": ^10.3.1
|
2225 |
rxjs: ^7.8.0
|
2226 |
languageName: unknown
|
2227 |
linkType: soft
|
2228 |
|
2229 |
+
"@polkadot/rpc-provider@9.13.5, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
2230 |
version: 0.0.0-use.local
|
2231 |
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
2232 |
dependencies:
|
2233 |
"@babel/runtime": ^7.20.13
|
2234 |
"@polkadot/keyring": ^10.3.1
|
2235 |
+
"@polkadot/types": 9.13.5
|
2236 |
+
"@polkadot/types-support": 9.13.5
|
2237 |
"@polkadot/util": ^10.3.1
|
2238 |
"@polkadot/util-crypto": ^10.3.1
|
2239 |
"@polkadot/x-fetch": ^10.3.1
|
2256 |
"@babel/core": ^7.20.12
|
2257 |
"@babel/register": ^7.18.9
|
2258 |
"@babel/runtime": ^7.20.13
|
2259 |
+
"@polkadot/api": 9.13.5
|
2260 |
+
"@polkadot/api-augment": 9.13.5
|
2261 |
+
"@polkadot/rpc-augment": 9.13.5
|
2262 |
+
"@polkadot/rpc-provider": 9.13.5
|
2263 |
+
"@polkadot/types": 9.13.5
|
2264 |
+
"@polkadot/types-augment": 9.13.5
|
2265 |
+
"@polkadot/types-codec": 9.13.5
|
2266 |
+
"@polkadot/types-create": 9.13.5
|
2267 |
+
"@polkadot/types-support": 9.13.5
|
2268 |
"@polkadot/util": ^10.3.1
|
2269 |
"@polkadot/util-crypto": ^10.3.1
|
2270 |
"@polkadot/x-ws": ^10.3.1
|
2282 |
languageName: unknown
|
2283 |
linkType: soft
|
2284 |
|
2285 |
+
"@polkadot/types-augment@9.13.5, @polkadot/types-augment@workspace:packages/types-augment":
|
2286 |
version: 0.0.0-use.local
|
2287 |
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
2288 |
dependencies:
|
2289 |
"@babel/runtime": ^7.20.13
|
2290 |
+
"@polkadot/types": 9.13.5
|
2291 |
+
"@polkadot/types-codec": 9.13.5
|
2292 |
"@polkadot/util": ^10.3.1
|
2293 |
languageName: unknown
|
2294 |
linkType: soft
|
2295 |
|
2296 |
+
"@polkadot/types-codec@9.13.5, @polkadot/types-codec@workspace:packages/types-codec":
|
2297 |
version: 0.0.0-use.local
|
2298 |
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
2299 |
dependencies:
|
2300 |
"@babel/runtime": ^7.20.13
|
2301 |
+
"@polkadot/types": 9.13.5
|
2302 |
+
"@polkadot/types-augment": 9.13.5
|
2303 |
+
"@polkadot/types-support": 9.13.5
|
2304 |
"@polkadot/util": ^10.3.1
|
2305 |
"@polkadot/util-crypto": ^10.3.1
|
2306 |
"@polkadot/x-bigint": ^10.3.1
|
2307 |
languageName: unknown
|
2308 |
linkType: soft
|
2309 |
|
2310 |
+
"@polkadot/types-create@9.13.5, @polkadot/types-create@workspace:packages/types-create":
|
2311 |
version: 0.0.0-use.local
|
2312 |
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
2313 |
dependencies:
|
2314 |
"@babel/runtime": ^7.20.13
|
2315 |
+
"@polkadot/types": 9.13.5
|
2316 |
+
"@polkadot/types-codec": 9.13.5
|
2317 |
"@polkadot/util": ^10.3.1
|
2318 |
languageName: unknown
|
2319 |
linkType: soft
|
2320 |
|
2321 |
+
"@polkadot/types-known@9.13.5, @polkadot/types-known@workspace:packages/types-known":
|
2322 |
version: 0.0.0-use.local
|
2323 |
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
2324 |
dependencies:
|
2325 |
"@babel/runtime": ^7.20.13
|
2326 |
+
"@polkadot/api": 9.13.5
|
2327 |
"@polkadot/networks": ^10.3.1
|
2328 |
+
"@polkadot/types": 9.13.5
|
2329 |
+
"@polkadot/types-codec": 9.13.5
|
2330 |
+
"@polkadot/types-create": 9.13.5
|
2331 |
"@polkadot/util": ^10.3.1
|
2332 |
languageName: unknown
|
2333 |
linkType: soft
|
2334 |
|
2335 |
+
"@polkadot/types-support@9.13.5, @polkadot/types-support@workspace:packages/types-support":
|
2336 |
version: 0.0.0-use.local
|
2337 |
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
2338 |
dependencies:
|
2341 |
languageName: unknown
|
2342 |
linkType: soft
|
2343 |
|
2344 |
+
"@polkadot/types@9.13.5, @polkadot/types@workspace:packages/types":
|
2345 |
version: 0.0.0-use.local
|
2346 |
resolution: "@polkadot/types@workspace:packages/types"
|
2347 |
dependencies:
|
2348 |
"@babel/runtime": ^7.20.13
|
2349 |
"@polkadot/keyring": ^10.3.1
|
2350 |
+
"@polkadot/types-augment": 9.13.5
|
2351 |
+
"@polkadot/types-codec": 9.13.5
|
2352 |
+
"@polkadot/types-create": 9.13.5
|
2353 |
+
"@polkadot/types-support": 9.13.5
|
2354 |
"@polkadot/util": ^10.3.1
|
2355 |
"@polkadot/util-crypto": ^10.3.1
|
2356 |
rxjs: ^7.8.0
|
API Base interfaces