-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(accounts-controller): re-publish Snap keyring events #5190
Conversation
@metamaskbot publish-preview |
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions.
|
b1518d1
to
37da015
Compare
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
@metamaskbot publish-preview |
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assets changes LGTM
Explanation
The
SnapKeyring
now forward some keyring events coming from a Snap. To avoid having controllers to depend theSnapKeyring
for those new events, we subscribe to them from theAccountsController
and re-publish them from it. This way, theAccountsController
is the sole dependency for those events (and is already a dependency of many controllers anyway).References
Changelog
@metamask/accounts-controller
Checklist