mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-12 13:11:01 +00:00
Bump dev (incl. eslint fixes) (#302)
* Bump dev (incl. eslint fixes) * Ordering fixes
This commit is contained in:
@@ -23,9 +23,9 @@ const RECENT_EXPIRY = 24 * 60 * 60;
|
||||
// from the API after the chain is received
|
||||
export class Keyring extends Base implements KeyringStruct {
|
||||
#stores = {
|
||||
account: (): AddressSubject => this.accounts,
|
||||
address: (): AddressSubject => this.addresses,
|
||||
contract: (): AddressSubject => this.contracts,
|
||||
account: (): AddressSubject => this.accounts
|
||||
contract: (): AddressSubject => this.contracts
|
||||
};
|
||||
|
||||
public addExternal (address: string | Uint8Array, meta: KeyringPair$Meta = {}): CreateResult {
|
||||
@@ -122,8 +122,8 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
|
||||
return info && {
|
||||
address,
|
||||
publicKey,
|
||||
meta: info.json.meta
|
||||
meta: info.json.meta,
|
||||
publicKey
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -40,8 +40,8 @@ class KeyringOption implements KeyringOptionInstance {
|
||||
|
||||
public createOptionHeader (name: string): KeyringSectionOption {
|
||||
return {
|
||||
name,
|
||||
key: `header-${name.toLowerCase()}`,
|
||||
name,
|
||||
value: null
|
||||
};
|
||||
}
|
||||
@@ -131,9 +131,9 @@ class KeyringOption implements KeyringOptionInstance {
|
||||
return {
|
||||
account: [],
|
||||
address: [],
|
||||
contract: [],
|
||||
all: [],
|
||||
allPlus: [],
|
||||
contract: [],
|
||||
recent: [],
|
||||
testing: []
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user