Bump keyring (#372)

This commit is contained in:
Jaco Greeff
2020-09-25 13:25:17 +02:00
committed by GitHub
parent 87fd12c002
commit 0017139d69
9 changed files with 95 additions and 95 deletions
+2 -2
View File
@@ -79,8 +79,8 @@ export class Keyring extends Base implements KeyringStruct {
return pair.toJson(password);
}
public createFromJSON (json: KeyringPair$Json, meta: KeyringPair$Meta = {}): KeyringPair {
return this.keyring.createFromJSON({ ...json, meta: { ...(json.meta || {}), meta } });
public createFromJson (json: KeyringPair$Json, meta: KeyringPair$Meta = {}): KeyringPair {
return this.keyring.createFromJson({ ...json, meta: { ...(json.meta || {}), meta } });
}
public createFromUri (suri: string, meta: KeyringPair$Meta = {}, type?: KeypairType): KeyringPair {