-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
chore: Rename ControllerMessenger
to Messenger
#5050
Conversation
f7e4e7c
to
d2c1c84
Compare
@metamaskbot publish-previews |
I'd like to test this in the clients before merging even though it's not breaking, as we've seen type incompatibilities before from private property renaming. |
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.
LGTM!
Rename the `ControllerMessenger` to `Messenger` so that it is clear it can be used for more than just controllers. This was decided by this ADR: https://github.com/MetaMask/decisions/blob/main/decisions/core/0001-messaging-non-controllers.md Previous names have been preserved as aliases to avoid making this a breaking change. Relates to #4538
1d772cc
to
9c00587
Compare
Explanation
Rename the
ControllerMessenger
toMessenger
so that it is clear it can be used for more than just controllers.This was decided by this ADR: https://github.com/MetaMask/decisions/blob/main/decisions/core/0001-messaging-non-controllers.md
Previous names have been preserved as aliases to avoid making this a breaking change.
References
Relates to #4538
Changelog
See diff
Checklist