Skip to content

Commit

Permalink
chore: add deprecation tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed May 25, 2023
1 parent a0f250d commit 54e3bf1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/keyring-controller/src/KeyringController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ export class KeyringController extends BaseController<
* Returns the currently initialized keyring that manages
* the specified `address` if one exists.
*
* @deprecated Use of this method is discouraged as actions executed directly on
* keyrings are not being reflected in the KeyringController state and not
* persisted in the vault.
* @param account - An account address.
* @returns Promise resolving to keyring of the `account` if one exists.
*/
Expand All @@ -392,6 +395,9 @@ export class KeyringController extends BaseController<
/**
* Returns all keyrings of the given type.
*
* @deprecated Use of this method is discouraged as actions executed directly on
* keyrings are not being reflected in the KeyringController state and not
* persisted in the vault.
* @param type - Keyring type name.
* @returns An array of keyrings of the given type.
*/
Expand Down

0 comments on commit 54e3bf1

Please sign in to comment.