From ae5b0be771e064d21e3c4c30beb562993e2197dd Mon Sep 17 00:00:00 2001 From: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com> Date: Wed, 19 Apr 2023 16:20:42 -0400 Subject: [PATCH] Add `init` optional method to Keyring type (#99) --- src/keyring.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/keyring.ts b/src/keyring.ts index fa8585b3a..b49382419 100644 --- a/src/keyring.ts +++ b/src/keyring.ts @@ -81,6 +81,11 @@ export type Keyring = { */ deserialize(state: State): Promise; + /** + * Method to include asynchronous configuration. + */ + init?(): Promise; + /** * Remove an account from the keyring. *