Ensumer correcly encoded address in json (#134)

This commit is contained in:
Jaco Greeff
2019-05-24 13:15:30 +02:00
committed by GitHub
parent 55dad6093b
commit 72f5614f5d
4 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^0.91.1", "@polkadot/keyring": "^0.91.1",
"@polkadot/types": "^0.79.1", "@polkadot/types": "^0.80.0-beta.2",
"@polkadot/util": "^0.91.1" "@polkadot/util": "^0.91.1"
}, },
"peerDependencies": { "peerDependencies": {
@@ -39,7 +39,10 @@ export default function genericSubject (keyCreator: (address: string) => string,
current = { ...current }; current = { ...current };
current[address] = { current[address] = {
json, json: {
...json,
address
},
option: createOptionItem(address, json.meta.name, !json.meta.isRecent) option: createOptionItem(address, json.meta.name, !json.meta.isRecent)
}; };
+1 -1
View File
@@ -12,7 +12,7 @@
"@babel/runtime": "^7.4.5" "@babel/runtime": "^7.4.5"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/types": "^0.79.1" "@polkadot/types": "^0.80.0-beta.2"
}, },
"peerDependencies": { "peerDependencies": {
"@polkadot/types": "*" "@polkadot/types": "*"
+4 -4
View File
@@ -1840,10 +1840,10 @@
resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.56.tgz#ffd6e9c95704a7fb90b918193b9dc5c440114b27" resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.56.tgz#ffd6e9c95704a7fb90b918193b9dc5c440114b27"
integrity sha512-wnt4zXxZXyz6WaubTO/I+nUElwV2DogFzdl6CrKfVn2PTWp8uHN06W9s40FH57ORtmQfDr9rLRP8Nq+oIyElbg== integrity sha512-wnt4zXxZXyz6WaubTO/I+nUElwV2DogFzdl6CrKfVn2PTWp8uHN06W9s40FH57ORtmQfDr9rLRP8Nq+oIyElbg==
"@polkadot/types@^0.79.1": "@polkadot/types@^0.80.0-beta.2":
version "0.79.1" version "0.80.0-beta.2"
resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.79.1.tgz#491a53dd23d5ac645d58a8467c1b919d4bb00c09" resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-0.80.0-beta.2.tgz#450baa6b86cd864aba5b49a00c4fcaf1cb2eecb3"
integrity sha512-u7hcubX5Kl3m3IM+YXyORXlgHUJSb+a/YyzalERF7yRxEUW1fPMRE6935cUQT5kHdRme0aANncjHFGbE6Qn0vg== integrity sha512-BcWjUYyDm6KgAl+LyVqvmVp7GGfIJtiJDLpZJ9gyc2m3fpqZxqp2ektEpA8bGrxUyQcyqIBGpb0y8ibe1flcPg==
dependencies: dependencies:
"@babel/runtime" "^7.4.5" "@babel/runtime" "^7.4.5"
"@polkadot/keyring" "^0.91.1" "@polkadot/keyring" "^0.91.1"