Skip to content

Commit

Permalink
Add init optional method to Keyring type (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
gantunesr authored Apr 19, 2023
1 parent 32d423c commit ae5b0be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/keyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ export type Keyring<State extends Json> = {
*/
deserialize(state: State): Promise<void>;

/**
* Method to include asynchronous configuration.
*/
init?(): Promise<void>;

/**
* Remove an account from the keyring.
*
Expand Down

0 comments on commit ae5b0be

Please sign in to comment.