Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef54cfb29b | ||
|
|
23c23a81b3 |
+2
-1
@@ -52,4 +52,5 @@
|
||||
7.14.2
|
||||
7.14.3
|
||||
8.0.2
|
||||
8.3.2
|
||||
8.3.2
|
||||
8.4.2
|
||||
@@ -1,5 +1,12 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 8.4.2 May 15, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
- Expand/fix TS typings for `MortalEra.{birth, death}(...)`
|
||||
|
||||
|
||||
## 8.4.1 May 14, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
2957 Jaco 8.4.1 (#4827)
|
||||
2958 Jaco 8.4.2 (#4828)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "commonjs",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
@@ -34,7 +34,7 @@
|
||||
"@babel/core": "^7.17.10",
|
||||
"@babel/register": "^7.17.7",
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/dev": "^0.66.22",
|
||||
"@polkadot/dev": "^0.66.23",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^27.5.1",
|
||||
"copyfiles": "^2.4.1"
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/api-base": "8.4.1",
|
||||
"@polkadot/rpc-augment": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-augment": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/api-base": "8.4.2",
|
||||
"@polkadot/rpc-augment": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-augment": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "8.4.1"
|
||||
"@polkadot/types-support": "8.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/rpc-core": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/rpc-core": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"rxjs": "^7.5.5"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/api": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/types-create": "8.4.1",
|
||||
"@polkadot/api": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/types-create": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "8.4.1",
|
||||
"@polkadot/api-augment": "8.4.2",
|
||||
"@polkadot/keyring": "^9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,25 +20,25 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/api": "8.4.1",
|
||||
"@polkadot/api-augment": "8.4.1",
|
||||
"@polkadot/api-base": "8.4.1",
|
||||
"@polkadot/rpc-core": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/api": "8.4.2",
|
||||
"@polkadot/api-augment": "8.4.2",
|
||||
"@polkadot/api-base": "8.4.2",
|
||||
"@polkadot/rpc-core": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "8.4.1",
|
||||
"@polkadot/api-augment": "8.4.1",
|
||||
"@polkadot/rpc-augment": "8.4.1",
|
||||
"@polkadot/rpc-provider": "8.4.1",
|
||||
"@polkadot/types-support": "8.4.1"
|
||||
"@polkadot/api": "8.4.2",
|
||||
"@polkadot/api-augment": "8.4.2",
|
||||
"@polkadot/rpc-augment": "8.4.2",
|
||||
"@polkadot/rpc-provider": "8.4.2",
|
||||
"@polkadot/types-support": "8.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
+14
-14
@@ -20,29 +20,29 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/api-augment": "8.4.1",
|
||||
"@polkadot/api-base": "8.4.1",
|
||||
"@polkadot/api-derive": "8.4.1",
|
||||
"@polkadot/api-augment": "8.4.2",
|
||||
"@polkadot/api-base": "8.4.2",
|
||||
"@polkadot/api-derive": "8.4.2",
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/rpc-augment": "8.4.1",
|
||||
"@polkadot/rpc-core": "8.4.1",
|
||||
"@polkadot/rpc-provider": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-augment": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/types-create": "8.4.1",
|
||||
"@polkadot/types-known": "8.4.1",
|
||||
"@polkadot/rpc-augment": "8.4.2",
|
||||
"@polkadot/rpc-core": "8.4.2",
|
||||
"@polkadot/rpc-provider": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-augment": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/types-create": "8.4.2",
|
||||
"@polkadot/types-known": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "8.4.1",
|
||||
"@polkadot/types-support": "8.4.1"
|
||||
"@polkadot/api-augment": "8.4.2",
|
||||
"@polkadot/types-support": "8.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/rpc-core": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/rpc-core": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/rpc-augment": "8.4.1",
|
||||
"@polkadot/rpc-provider": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/rpc-augment": "8.4.2",
|
||||
"@polkadot/rpc-provider": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/rpc-augment": "8.4.1"
|
||||
"@polkadot/rpc-augment": "8.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-support": "8.4.1",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-support": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"@polkadot/x-fetch": "^9.2.1",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||
@@ -33,15 +33,15 @@
|
||||
"@babel/core": "^7.17.10",
|
||||
"@babel/register": "^7.17.7",
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/api": "8.4.1",
|
||||
"@polkadot/api-augment": "8.4.1",
|
||||
"@polkadot/rpc-augment": "8.4.1",
|
||||
"@polkadot/rpc-provider": "8.4.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-augment": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/types-create": "8.4.1",
|
||||
"@polkadot/types-support": "8.4.1",
|
||||
"@polkadot/api": "8.4.2",
|
||||
"@polkadot/api-augment": "8.4.2",
|
||||
"@polkadot/rpc-augment": "8.4.2",
|
||||
"@polkadot/rpc-provider": "8.4.2",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-augment": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/types-create": "8.4.2",
|
||||
"@polkadot/types-support": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/x-ws": "^9.2.1",
|
||||
"handlebars": "^4.7.7",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,16 +20,16 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-augment": "8.4.1",
|
||||
"@polkadot/types-support": "8.4.1",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-augment": "8.4.2",
|
||||
"@polkadot/types-support": "8.4.2",
|
||||
"@polkadot/util-crypto": "^9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "8.4.1"
|
||||
"@polkadot/types": "8.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/networks": "^9.2.1",
|
||||
"@polkadot/types": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/types-create": "8.4.1",
|
||||
"@polkadot/types": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/types-create": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.4.1",
|
||||
"version": "8.4.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.17.9",
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/types-augment": "8.4.1",
|
||||
"@polkadot/types-codec": "8.4.1",
|
||||
"@polkadot/types-create": "8.4.1",
|
||||
"@polkadot/types-augment": "8.4.2",
|
||||
"@polkadot/types-codec": "8.4.2",
|
||||
"@polkadot/types-create": "8.4.2",
|
||||
"@polkadot/util": "^9.2.1",
|
||||
"@polkadot/util-crypto": "^9.2.1",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^9.2.1",
|
||||
"@polkadot/types-support": "8.4.1"
|
||||
"@polkadot/types-support": "8.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AnyU8a, Registry } from '@polkadot/types-codec/types';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { IExtrinsicEra, INumber } from '../types';
|
||||
|
||||
import { Enum, Raw, Tuple, U64 } from '@polkadot/types-codec';
|
||||
@@ -200,7 +201,7 @@ export class MortalEra extends Tuple {
|
||||
/**
|
||||
* @description Get the block number of the start of the era whose properties this object describes that `current` belongs to.
|
||||
*/
|
||||
public birth (current: INumber | number): number {
|
||||
public birth (current: BN | bigint | number | string): number {
|
||||
// FIXME No toNumber() here
|
||||
return Math.floor(
|
||||
(
|
||||
@@ -212,7 +213,7 @@ export class MortalEra extends Tuple {
|
||||
/**
|
||||
* @description Get the block number of the first block at which the era has ended.
|
||||
*/
|
||||
public death (current: INumber | number): number {
|
||||
public death (current: BN | bigint | number | string): number {
|
||||
// FIXME No toNumber() here
|
||||
return this.birth(current) + this.period.toNumber();
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.4.1' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.4.2' };
|
||||
|
||||
@@ -1937,28 +1937,28 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@8.4.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@8.4.2, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/api-base": 8.4.1
|
||||
"@polkadot/rpc-augment": 8.4.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-augment": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types-support": 8.4.1
|
||||
"@polkadot/api-base": 8.4.2
|
||||
"@polkadot/rpc-augment": 8.4.2
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-augment": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/types-support": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@8.4.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@8.4.2, @polkadot/api-base@workspace:packages/api-base":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/rpc-core": 8.4.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/rpc-core": 8.4.2
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
@@ -1969,56 +1969,56 @@ __metadata:
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/api": 8.4.1
|
||||
"@polkadot/api-augment": 8.4.1
|
||||
"@polkadot/api": 8.4.2
|
||||
"@polkadot/api-augment": 8.4.2
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types-create": 8.4.1
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/types-create": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@8.4.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@8.4.2, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/api": 8.4.1
|
||||
"@polkadot/api-augment": 8.4.1
|
||||
"@polkadot/api-base": 8.4.1
|
||||
"@polkadot/rpc-augment": 8.4.1
|
||||
"@polkadot/rpc-core": 8.4.1
|
||||
"@polkadot/rpc-provider": 8.4.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types-support": 8.4.1
|
||||
"@polkadot/api": 8.4.2
|
||||
"@polkadot/api-augment": 8.4.2
|
||||
"@polkadot/api-base": 8.4.2
|
||||
"@polkadot/rpc-augment": 8.4.2
|
||||
"@polkadot/rpc-core": 8.4.2
|
||||
"@polkadot/rpc-provider": 8.4.2
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/types-support": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@8.4.1, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@8.4.2, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/api-augment": 8.4.1
|
||||
"@polkadot/api-base": 8.4.1
|
||||
"@polkadot/api-derive": 8.4.1
|
||||
"@polkadot/api-augment": 8.4.2
|
||||
"@polkadot/api-base": 8.4.2
|
||||
"@polkadot/api-derive": 8.4.2
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/rpc-augment": 8.4.1
|
||||
"@polkadot/rpc-core": 8.4.1
|
||||
"@polkadot/rpc-provider": 8.4.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-augment": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types-create": 8.4.1
|
||||
"@polkadot/types-known": 8.4.1
|
||||
"@polkadot/types-support": 8.4.1
|
||||
"@polkadot/rpc-augment": 8.4.2
|
||||
"@polkadot/rpc-core": 8.4.2
|
||||
"@polkadot/rpc-provider": 8.4.2
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-augment": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/types-create": 8.4.2
|
||||
"@polkadot/types-known": 8.4.2
|
||||
"@polkadot/types-support": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
eventemitter3: ^4.0.7
|
||||
@@ -2026,9 +2026,9 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/dev@npm:^0.66.22":
|
||||
version: 0.66.22
|
||||
resolution: "@polkadot/dev@npm:0.66.22"
|
||||
"@polkadot/dev@npm:^0.66.23":
|
||||
version: 0.66.23
|
||||
resolution: "@polkadot/dev@npm:0.66.23"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.17.10
|
||||
"@babel/core": ^7.17.10
|
||||
@@ -2115,7 +2115,7 @@ __metadata:
|
||||
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
|
||||
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
|
||||
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
|
||||
checksum: 7d80aa5fa123aaefd1d829aeef135f365e5da90477eaed0a66e387c79aeff0d730ea640650a086573a0a388a392fe250cf347f09b18416d76d4051729859faf5
|
||||
checksum: e28703d39486b051b539eacd27911901c5773852c9fee5dc7866ac0ddf9b264f102f2a3cbf09b67f4e39d917b783e7e3d1834e2618da8f71008403aaa43bca6b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2144,40 +2144,40 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@8.4.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@8.4.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/rpc-core": 8.4.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/rpc-core": 8.4.2
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@8.4.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@8.4.2, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/rpc-augment": 8.4.1
|
||||
"@polkadot/rpc-provider": 8.4.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/rpc-augment": 8.4.2
|
||||
"@polkadot/rpc-provider": 8.4.2
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@8.4.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@8.4.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-support": 8.4.1
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-support": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
"@polkadot/x-fetch": ^9.2.1
|
||||
@@ -2197,15 +2197,15 @@ __metadata:
|
||||
"@babel/core": ^7.17.10
|
||||
"@babel/register": ^7.17.7
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/api": 8.4.1
|
||||
"@polkadot/api-augment": 8.4.1
|
||||
"@polkadot/rpc-augment": 8.4.1
|
||||
"@polkadot/rpc-provider": 8.4.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-augment": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types-create": 8.4.1
|
||||
"@polkadot/types-support": 8.4.1
|
||||
"@polkadot/api": 8.4.2
|
||||
"@polkadot/api-augment": 8.4.2
|
||||
"@polkadot/rpc-augment": 8.4.2
|
||||
"@polkadot/rpc-provider": 8.4.2
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-augment": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/types-create": 8.4.2
|
||||
"@polkadot/types-support": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/x-ws": ^9.2.1
|
||||
"@types/websocket": ^1.0.5
|
||||
@@ -2222,55 +2222,55 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@8.4.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@8.4.2, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@8.4.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@8.4.2, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-augment": 8.4.1
|
||||
"@polkadot/types-support": 8.4.1
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-augment": 8.4.2
|
||||
"@polkadot/types-support": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@8.4.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@8.4.2, @polkadot/types-create@workspace:packages/types-create":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@8.4.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@8.4.2, @polkadot/types-known@workspace:packages/types-known":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/networks": ^9.2.1
|
||||
"@polkadot/types": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types-create": 8.4.1
|
||||
"@polkadot/types": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/types-create": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@8.4.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@8.4.2, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
@@ -2279,16 +2279,16 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@8.4.1, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@8.4.2, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/keyring": ^9.2.1
|
||||
"@polkadot/types-augment": 8.4.1
|
||||
"@polkadot/types-codec": 8.4.1
|
||||
"@polkadot/types-create": 8.4.1
|
||||
"@polkadot/types-support": 8.4.1
|
||||
"@polkadot/types-augment": 8.4.2
|
||||
"@polkadot/types-codec": 8.4.2
|
||||
"@polkadot/types-create": 8.4.2
|
||||
"@polkadot/types-support": 8.4.2
|
||||
"@polkadot/util": ^9.2.1
|
||||
"@polkadot/util-crypto": ^9.2.1
|
||||
rxjs: ^7.5.5
|
||||
@@ -9201,7 +9201,7 @@ resolve@^2.0.0-next.3:
|
||||
"@babel/core": ^7.17.10
|
||||
"@babel/register": ^7.17.7
|
||||
"@babel/runtime": ^7.17.9
|
||||
"@polkadot/dev": ^0.66.22
|
||||
"@polkadot/dev": ^0.66.23
|
||||
"@polkadot/typegen": "workspace:packages/typegen"
|
||||
"@types/jest": ^27.5.1
|
||||
copyfiles: ^2.4.1
|
||||
|
||||
Reference in New Issue
Block a user