Compare commits

...
2 Commits
Author SHA1 Message Date
Github Actions 65688f9e0e [CI Skip] release/stable 4.6.2
skip-checks: true
2021-04-19 10:47:57 +00:00
Jaco 5eb2a95ef2 Correct Kusama/Polkadot runtime 30 session key definitions (#3409)
* Correct Kusama/Polkadot runtime 30 session key definitions

* Remove duplicates
2021-04-19 12:38:48 +02:00
24 changed files with 93 additions and 90 deletions
+2
View File
@@ -19,3 +19,5 @@
3.10.2
4.0.2
4.0.3
4.6.2
+9
View File
@@ -1,5 +1,14 @@
# CHANGELOG
## 4.6.2 Apr 19, 2021
Upgrade priority: Low.
Changes:
- Correct Kusama/Polkadot runtime 30 session key definitions
## 4.6.1 Apr 19, 2021
Upgrade priority: Low. Recommended if used in a Node.js 15.x environment.
+1 -1
View File
@@ -34,5 +34,5 @@
"@types/jest": "^26.0.22",
"copyfiles": "^2.4.1"
},
"version": "4.6.1"
"version": "4.6.2"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
@@ -17,8 +17,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/api": "4.6.1",
"@polkadot/types": "4.6.1",
"@polkadot/api": "4.6.2",
"@polkadot/types": "4.6.2",
"@polkadot/util": "^6.2.1",
"@polkadot/x-rxjs": "^6.2.1",
"bn.js": "^4.11.9"
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-contract', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/api-contract', version: '4.6.2' };
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
@@ -17,9 +17,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/api": "4.6.1",
"@polkadot/rpc-core": "4.6.1",
"@polkadot/types": "4.6.1",
"@polkadot/api": "4.6.2",
"@polkadot/rpc-core": "4.6.2",
"@polkadot/types": "4.6.2",
"@polkadot/util": "^6.2.1",
"@polkadot/util-crypto": "^6.2.1",
"@polkadot/x-rxjs": "^6.2.1",
@@ -27,6 +27,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^6.2.1",
"@polkadot/rpc-provider": "4.6.1"
"@polkadot/rpc-provider": "4.6.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-derive', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/api-derive', version: '4.6.2' };
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
@@ -17,13 +17,13 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/api-derive": "4.6.1",
"@polkadot/api-derive": "4.6.2",
"@polkadot/keyring": "^6.2.1",
"@polkadot/metadata": "4.6.1",
"@polkadot/rpc-core": "4.6.1",
"@polkadot/rpc-provider": "4.6.1",
"@polkadot/types": "4.6.1",
"@polkadot/types-known": "4.6.1",
"@polkadot/metadata": "4.6.2",
"@polkadot/rpc-core": "4.6.2",
"@polkadot/rpc-provider": "4.6.2",
"@polkadot/types": "4.6.2",
"@polkadot/types-known": "4.6.2",
"@polkadot/util": "^6.2.1",
"@polkadot/util-crypto": "^6.2.1",
"@polkadot/x-rxjs": "^6.2.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/api', version: '4.6.2' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/metadata",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "Helpers to extract information from runtime metadata",
"main": "index.js",
@@ -17,8 +17,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/types": "4.6.1",
"@polkadot/types-known": "4.6.1",
"@polkadot/types": "4.6.2",
"@polkadot/types-known": "4.6.2",
"@polkadot/util": "^6.2.1",
"@polkadot/util-crypto": "^6.2.1",
"bn.js": "^4.11.9"
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/metadata', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/metadata', version: '4.6.2' };
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
@@ -17,9 +17,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/metadata": "4.6.1",
"@polkadot/rpc-provider": "4.6.1",
"@polkadot/types": "4.6.1",
"@polkadot/metadata": "4.6.2",
"@polkadot/rpc-provider": "4.6.2",
"@polkadot/types": "4.6.2",
"@polkadot/util": "^6.2.1",
"@polkadot/x-rxjs": "^6.2.1"
},
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-core', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/rpc-core', version: '4.6.2' };
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "Transport providers for the API",
"main": "index.js",
@@ -17,7 +17,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/types": "4.6.1",
"@polkadot/types": "4.6.2",
"@polkadot/util": "^6.2.1",
"@polkadot/util-crypto": "^6.2.1",
"@polkadot/x-fetch": "^6.2.1",
@@ -28,7 +28,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^6.2.1",
"@polkadot/metadata": "4.6.1",
"@polkadot/metadata": "4.6.2",
"mock-socket": "^9.0.3",
"nock": "^13.0.11"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-provider', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', version: '4.6.2' };
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "Type generation scripts",
"main": "index.js",
@@ -26,10 +26,10 @@
"@babel/core": "^7.13.15",
"@babel/register": "^7.13.14",
"@babel/runtime": "^7.13.10",
"@polkadot/api": "4.6.1",
"@polkadot/metadata": "4.6.1",
"@polkadot/rpc-provider": "4.6.1",
"@polkadot/types": "4.6.1",
"@polkadot/api": "4.6.2",
"@polkadot/metadata": "4.6.2",
"@polkadot/rpc-provider": "4.6.2",
"@polkadot/types": "4.6.2",
"@polkadot/util": "^6.2.1",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/typegen', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/typegen', version: '4.6.2' };
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
@@ -18,7 +18,7 @@
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/networks": "^6.2.1",
"@polkadot/types": "4.6.1",
"@polkadot/types": "4.6.2",
"@polkadot/util": "^6.2.1",
"bn.js": "^4.11.9"
},
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types-known', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/types-known', version: '4.6.2' };
+3 -7
View File
@@ -6,14 +6,10 @@
import type { OverrideVersionedType } from '@polkadot/types/types';
const sharedTypes = {
AccountInfo: 'AccountInfoWithDualRefCount',
Address: 'MultiAddress',
Keys: 'SessionKeys7B',
LookupSource: 'MultiAddress',
Keys: 'SessionKeys6',
ProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy']
},
ValidatorPrefs: 'ValidatorPrefsWithBlocked'
}
};
const addrIndicesTypes = {
@@ -168,7 +164,7 @@ const versioned: OverrideVersionedType[] = [
minmax: [2028, 2029],
types: {
...sharedTypes,
Keys: 'SessionKeys6'
AccountInfo: 'AccountInfoWithDualRefCount'
}
},
{
+3 -7
View File
@@ -6,10 +6,7 @@
import type { OverrideVersionedType } from '@polkadot/types/types';
const sharedTypes = {
AccountInfo: 'AccountInfoWithDualRefCount',
Address: 'MultiAddress',
Keys: 'SessionKeys7B',
LookupSource: 'MultiAddress',
Keys: 'SessionKeys6',
ProxyType: {
_enum: {
Any: 0,
@@ -20,8 +17,7 @@ const sharedTypes = {
IdentityJudgement: 5,
CancelProxy: 6
}
},
ValidatorPrefs: 'ValidatorPrefsWithBlocked'
}
};
const addrAccountIdTypes = {
@@ -72,7 +68,7 @@ const versioned: OverrideVersionedType[] = [
minmax: [28, 29],
types: {
...sharedTypes,
Keys: 'SessionKeys6'
AccountInfo: 'AccountInfoWithDualRefCount'
}
},
{
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "4.6.1",
"version": "4.6.2",
"type": "module",
"description": "Implementation of the Parity codec",
"main": "index.js",
@@ -17,7 +17,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@polkadot/metadata": "4.6.1",
"@polkadot/metadata": "4.6.2",
"@polkadot/util": "^6.2.1",
"@polkadot/util-crypto": "^6.2.1",
"@polkadot/x-rxjs": "^6.2.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types', version: '4.6.1' };
export const packageInfo = { name: '@polkadot/types', version: '4.6.2' };
+32 -32
View File
@@ -1790,24 +1790,24 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.13.10
"@polkadot/api": 4.6.1
"@polkadot/types": 4.6.1
"@polkadot/api": 4.6.2
"@polkadot/types": 4.6.2
"@polkadot/util": ^6.2.1
"@polkadot/x-rxjs": ^6.2.1
bn.js: ^4.11.9
languageName: unknown
linkType: soft
"@polkadot/api-derive@4.6.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@4.6.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.13.10
"@polkadot/api": 4.6.1
"@polkadot/api": 4.6.2
"@polkadot/keyring": ^6.2.1
"@polkadot/rpc-core": 4.6.1
"@polkadot/rpc-provider": 4.6.1
"@polkadot/types": 4.6.1
"@polkadot/rpc-core": 4.6.2
"@polkadot/rpc-provider": 4.6.2
"@polkadot/types": 4.6.2
"@polkadot/util": ^6.2.1
"@polkadot/util-crypto": ^6.2.1
"@polkadot/x-rxjs": ^6.2.1
@@ -1815,18 +1815,18 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@4.6.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@4.6.2, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.13.10
"@polkadot/api-derive": 4.6.1
"@polkadot/api-derive": 4.6.2
"@polkadot/keyring": ^6.2.1
"@polkadot/metadata": 4.6.1
"@polkadot/rpc-core": 4.6.1
"@polkadot/rpc-provider": 4.6.1
"@polkadot/types": 4.6.1
"@polkadot/types-known": 4.6.1
"@polkadot/metadata": 4.6.2
"@polkadot/rpc-core": 4.6.2
"@polkadot/rpc-provider": 4.6.2
"@polkadot/types": 4.6.2
"@polkadot/types-known": 4.6.2
"@polkadot/util": ^6.2.1
"@polkadot/util-crypto": ^6.2.1
"@polkadot/x-rxjs": ^6.2.1
@@ -1935,14 +1935,14 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/metadata@4.6.1, @polkadot/metadata@workspace:packages/metadata":
"@polkadot/metadata@4.6.2, @polkadot/metadata@workspace:packages/metadata":
version: 0.0.0-use.local
resolution: "@polkadot/metadata@workspace:packages/metadata"
dependencies:
"@babel/runtime": ^7.13.10
"@polkadot/keyring": ^6.2.1
"@polkadot/types": 4.6.1
"@polkadot/types-known": 4.6.1
"@polkadot/types": 4.6.2
"@polkadot/types-known": 4.6.2
"@polkadot/util": ^6.2.1
"@polkadot/util-crypto": ^6.2.1
bn.js: ^4.11.9
@@ -1958,28 +1958,28 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@4.6.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@4.6.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.13.10
"@polkadot/keyring": ^6.2.1
"@polkadot/metadata": 4.6.1
"@polkadot/rpc-provider": 4.6.1
"@polkadot/types": 4.6.1
"@polkadot/metadata": 4.6.2
"@polkadot/rpc-provider": 4.6.2
"@polkadot/types": 4.6.2
"@polkadot/util": ^6.2.1
"@polkadot/x-rxjs": ^6.2.1
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@4.6.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@4.6.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.13.10
"@polkadot/keyring": ^6.2.1
"@polkadot/metadata": 4.6.1
"@polkadot/types": 4.6.1
"@polkadot/metadata": 4.6.2
"@polkadot/types": 4.6.2
"@polkadot/util": ^6.2.1
"@polkadot/util-crypto": ^6.2.1
"@polkadot/x-fetch": ^6.2.1
@@ -2008,10 +2008,10 @@ __metadata:
"@babel/core": ^7.13.15
"@babel/register": ^7.13.14
"@babel/runtime": ^7.13.10
"@polkadot/api": 4.6.1
"@polkadot/metadata": 4.6.1
"@polkadot/rpc-provider": 4.6.1
"@polkadot/types": 4.6.1
"@polkadot/api": 4.6.2
"@polkadot/metadata": 4.6.2
"@polkadot/rpc-provider": 4.6.2
"@polkadot/types": 4.6.2
"@polkadot/util": ^6.2.1
"@types/websocket": ^1.0.2
"@types/yargs": ^16.0.1
@@ -2027,26 +2027,26 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@4.6.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@4.6.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.13.10
"@polkadot/networks": ^6.2.1
"@polkadot/types": 4.6.1
"@polkadot/types": 4.6.2
"@polkadot/util": ^6.2.1
"@types/bn.js": ^4.11.6
bn.js: ^4.11.9
languageName: unknown
linkType: soft
"@polkadot/types@4.6.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@4.6.2, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.13.10
"@polkadot/keyring": ^6.2.1
"@polkadot/metadata": 4.6.1
"@polkadot/metadata": 4.6.2
"@polkadot/util": ^6.2.1
"@polkadot/util-crypto": ^6.2.1
"@polkadot/x-rxjs": ^6.2.1