mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 13:21:03 +00:00
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:
@@ -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": "*",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user