File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/keyring-controller/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 */
You can’t perform that action at this time.
0 commit comments