Skip to content

Conversation

cryptodev-2s
Copy link
Contributor

Explanation

This PR migrates PermissionLogController to the new @metamask/messenger message bus, as opposed to the one exported from @metamask/base-controller.

References

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 communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

PermissionLogControllerState
>;

export type PermissionLogControllerActions =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It also seems like we were not exporting this previously, should we mention this in the changelog?

export type PermissionLogControllerStateChangeEvent =
ControllerStateChangeEvent<typeof name, PermissionLogControllerState>;

export type PermissionLogControllerEvents =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It also seems like we were not exporting this previously, should we mention this in the changelog?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants