Skip to content
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(user-operation-controller): Remove unnecessary peerDependency #3823

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jan 23, 2024

Explanation

The @metamask/user-operation-controller package has been updated to remove the peer dependency @metamask/polling-controller. Contrary to what the name might suggest, @metamask/polling-controller is not itself a controller package, so it's not subject to our policy of making controller dependencies peer dependencies. It's just a regular library.

References

N/A

Changelog

@metamask/user-operation-controller

Removed

  • Remove @metamask/polling-controller peer dependency
    • This was mistakenly added as a peer dependency in v1. Now it's a regular dependency.

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

The `@metamask/user-operation-controller` package has been updated to
remove the peer dependency `@metamask/polling-controller`. Contrary to
what the name might suggest, `@metamask/polling-controller` is not
itself a controller package, so it's not subject to our policy of
making controller dependencies peer dependencies. It's just a regular
library.
@Gudahtt Gudahtt marked this pull request as ready for review January 23, 2024 17:20
@Gudahtt Gudahtt requested a review from a team as a code owner January 23, 2024 17:20
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

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

Makes sense.

@Gudahtt Gudahtt merged commit 2c97df2 into main Jan 23, 2024
136 checks passed
@Gudahtt Gudahtt deleted the remove-polling-controller-peer-dependency branch January 23, 2024 17:41
Gudahtt added a commit that referenced this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants