Skip to content

Commit 7226ac1

Browse files
committed
chore: deprecate persistAllKeyrings
1 parent 68b1f44 commit 7226ac1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/keyring-controller/src/KeyringController.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ export class KeyringController extends BaseController<
862862
*
863863
* @deprecated Use of this method is discouraged as actions executed directly on
864864
* keyrings are not being reflected in the KeyringController state and not
865-
* persisted in the vault.
865+
* persisted in the vault. Use `withKeyring` instead.
866866
* @param account - An account address.
867867
* @returns Promise resolving to keyring of the `account` if one exists.
868868
*/
@@ -905,7 +905,7 @@ export class KeyringController extends BaseController<
905905
*
906906
* @deprecated Use of this method is discouraged as actions executed directly on
907907
* keyrings are not being reflected in the KeyringController state and not
908-
* persisted in the vault.
908+
* persisted in the vault. Use `withKeyring` instead.
909909
* @param type - Keyring type name.
910910
* @returns An array of keyrings of the given type.
911911
*/
@@ -916,6 +916,7 @@ export class KeyringController extends BaseController<
916916
/**
917917
* Persist all serialized keyrings in the vault.
918918
*
919+
* @deprecated This method is being phased out in favor of `withKeyring`.
919920
* @returns Promise resolving with `true` value when the
920921
* operation completes.
921922
*/

0 commit comments

Comments
 (0)