Set UI defaults based on environment (#86)

* Bump deps

* Set defaults based on hosted environment

* Update tests (package bumps)

* Do location detection on 'polkadot'
This commit is contained in:
Jaco Greeff
2019-02-28 14:40:59 +01:00
committed by GitHub
parent b74f8de6ff
commit 0dbdc7e0b7
11 changed files with 546 additions and 904 deletions
+4 -4
View File
@@ -10,15 +10,15 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.3.1",
"@babel/runtime": "^7.3.4",
"@types/store": "^2.0.1",
"rxjs": "^6.4.0",
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/keyring": "^0.34.28",
"@polkadot/types": "^0.45.15",
"@polkadot/util": "^0.34.28"
"@polkadot/keyring": "^0.34.33",
"@polkadot/types": "^0.45.18",
"@polkadot/util": "^0.34.33"
},
"peerDependencies": {
"@polkadot/keyring": "*",
+1 -1
View File
@@ -138,7 +138,7 @@ export class Keyring extends Base implements KeyringStruct {
const [, hexAddr] = key.split(':');
this.rewriteKey(json, key, hexAddr, accountKey);
this.rewriteKey(json, key, hexAddr.trim(), accountKey);
}
private loadAddress (json: KeyringJson, key: string) {