-
-
Couldn't load subscription status.
- Fork 251
feat: Rename messagingSystem to messenger
#6337
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: Rename messagingSystem to messenger
#6337
Conversation
e49ce28 to
3554bc5
Compare
ae71891 to
67c7853
Compare
3554bc5 to
cbff2e3
Compare
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!
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!
On the `next` version of the `BaseController`, the protected instance variable `messagingSystem` has been renamed to `messenger`. Fixes #6336
cbff2e3 to
b79f543
Compare
|
Rebased to resolve a conflict in the changelog |
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!
This comment has had this mistake since #6337
Various variables have been renamed from `messagingSystem` to `messenger` for consistency. These packages have all updated to the next version of the `BaseController`, which dropped the term `messagingSystem` in #6337.
## Explanation This comment has had this mistake since #6337 ## References Fixes mistake in comment introduced in #6337 ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs), highlighting breaking changes as necessary - [x] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Fixes a comment in `BaseController.ts` to reference `messenger` instead of `messagingSystem`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit ca4c894. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
## Explanation Various variables have been renamed from `messagingSystem` to `messenger` for consistency. These packages have all updated to the next version of the `BaseController`, which dropped the term `messagingSystem` in #6337. ## References N/A ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs), highlighting breaking changes as necessary - [x] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes <!-- CURSOR_SUMMARY --> --- > [!NOTE] > <sup>[Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) is generating a summary for commit f56bc49. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
Explanation
On the
nextversion of theBaseController, the protected instance variablemessagingSystemhas been renamed tomessenger.References
Fixes #6336
Checklist