core icon indicating copy to clipboard operation
core copied to clipboard

[keyring-controller] Add `:withKeyring` action

Open mikesposito opened this issue 10 months ago • 0 comments

Explanation

This PR adds the KeyringController:withKeyring action to KeyringController.

References

  • Related to #4197

Changelog

@metamask/keyring-controller

  • ADDED: Added KeyringController:withKeyring action
  • DEPRECATED: Deprecated KeyringController:getKeyringForAccount action
    • Use KeyringController:withKeyring or KeyringController:getState instead
  • DEPRECATED: Deprecated KeyringController:getKeyringsByType action
    • Use KeyringController:withKeyring or KeyringController:getState instead

Checklist

  • [ ] I've updated the test suite for new or updated code as appropriate
  • [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

mikesposito avatar Apr 29 '24 10:04 mikesposito