Adjust node-template for MultiAddress (>= 100) (#3068)

* Adjust node-template for MultiAddress (>= 100)

* Bump deps
This commit is contained in:
Jaco Greeff
2021-01-17 14:22:09 +01:00
committed by GitHub
parent 2d011c68df
commit 8fa80ac0f6
11 changed files with 98 additions and 91 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
"@babel/runtime": "^7.12.5",
"@polkadot/api": "3.4.2-15",
"@polkadot/types": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"@polkadot/x-rxjs": "3.4.2-15",
"bn.js": "^4.11.9"
}
+3 -3
View File
@@ -17,13 +17,13 @@
"@polkadot/api": "3.4.2-15",
"@polkadot/rpc-core": "3.4.2-15",
"@polkadot/types": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util-crypto": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"@polkadot/util-crypto": "^5.2.4-7",
"@polkadot/x-rxjs": "3.4.2-15",
"bn.js": "^4.11.9"
},
"devDependencies": {
"@polkadot/keyring": "^5.2.4-6",
"@polkadot/keyring": "^5.2.4-7",
"@polkadot/rpc-provider": "3.4.2-15"
}
}
+3 -3
View File
@@ -18,14 +18,14 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api-derive": "3.4.2-15",
"@polkadot/keyring": "^5.2.4-6",
"@polkadot/keyring": "^5.2.4-7",
"@polkadot/metadata": "3.4.2-15",
"@polkadot/rpc-core": "3.4.2-15",
"@polkadot/rpc-provider": "3.4.2-15",
"@polkadot/types": "3.4.2-15",
"@polkadot/types-known": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util-crypto": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"@polkadot/util-crypto": "^5.2.4-7",
"@polkadot/x-rxjs": "3.4.2-15",
"bn.js": "^4.11.9",
"eventemitter3": "^4.0.7"
+3 -3
View File
@@ -19,11 +19,11 @@
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.4.2-15",
"@polkadot/types-known": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util-crypto": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"@polkadot/util-crypto": "^5.2.4-7",
"bn.js": "^4.11.9"
},
"devDependencies": {
"@polkadot/keyring": "^5.2.4-6"
"@polkadot/keyring": "^5.2.4-7"
}
}
+2 -2
View File
@@ -17,10 +17,10 @@
"@polkadot/metadata": "3.4.2-15",
"@polkadot/rpc-provider": "3.4.2-15",
"@polkadot/types": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"@polkadot/x-rxjs": "3.4.2-15"
},
"devDependencies": {
"@polkadot/keyring": "^5.2.4-6"
"@polkadot/keyring": "^5.2.4-7"
}
}
+5 -5
View File
@@ -15,15 +15,15 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util-crypto": "^5.2.4-6",
"@polkadot/x-fetch": "^5.2.4-6",
"@polkadot/x-ws": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"@polkadot/util-crypto": "^5.2.4-7",
"@polkadot/x-fetch": "^5.2.4-7",
"@polkadot/x-ws": "^5.2.4-7",
"bn.js": "^4.11.9",
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@polkadot/keyring": "^5.2.4-6",
"@polkadot/keyring": "^5.2.4-7",
"@polkadot/metadata": "3.4.2-15",
"mock-socket": "^9.0.3",
"nock": "^13.0.5"
+1 -1
View File
@@ -27,7 +27,7 @@
"@polkadot/metadata": "3.4.2-15",
"@polkadot/rpc-provider": "3.4.2-15",
"@polkadot/types": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"handlebars": "^4.7.6",
"websocket": "^1.0.33",
"yargs": "^16.2.0"
+1 -1
View File
@@ -15,7 +15,7 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"bn.js": "^4.11.9"
},
"devDependencies": {
@@ -7,11 +7,18 @@ import type { OverrideVersionedType } from '@polkadot/types/types';
const versioned: OverrideVersionedType[] = [
{
minmax: [0, undefined],
minmax: [0, 99],
types: {
Address: 'AccountId',
LookupSource: 'AccountId'
}
},
{
minmax: [100, undefined],
types: {
Address: 'MultiAddress',
LookupSource: 'MultiAddress'
}
}
];
+3 -3
View File
@@ -18,13 +18,13 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/metadata": "3.4.2-15",
"@polkadot/util": "^5.2.4-6",
"@polkadot/util-crypto": "^5.2.4-6",
"@polkadot/util": "^5.2.4-7",
"@polkadot/util-crypto": "^5.2.4-7",
"@polkadot/x-rxjs": "3.4.2-15",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.11.9"
},
"devDependencies": {
"@polkadot/keyring": "^5.2.4-6"
"@polkadot/keyring": "^5.2.4-7"
}
}