Skip to content

Commit ae5b0be

Browse files
authored
Add init optional method to Keyring type (#99)
1 parent 32d423c commit ae5b0be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/keyring.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ export type Keyring<State extends Json> = {
8181
*/
8282
deserialize(state: State): Promise<void>;
8383

84+
/**
85+
* Method to include asynchronous configuration.
86+
*/
87+
init?(): Promise<void>;
88+
8489
/**
8590
* Remove an account from the keyring.
8691
*

0 commit comments

Comments
 (0)