Skip to content

chore(user-operation-controller): Remove unnecessary peerDependency#3823

Merged
Gudahtt merged 1 commit intomainfrom
remove-polling-controller-peer-dependency
Jan 23, 2024
Merged

chore(user-operation-controller): Remove unnecessary peerDependency#3823
Gudahtt merged 1 commit intomainfrom
remove-polling-controller-peer-dependency

Conversation

@Gudahtt
Copy link
Copy Markdown
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
Copy Markdown
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
@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