Skip to content

Commit

Permalink
chore(user-operation-controller): Remove unnecessary peerDependency (
Browse files Browse the repository at this point in the history
…#3823)

## 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

- [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 highlighted breaking changes using the "BREAKING" category
above as appropriate
  • Loading branch information
Gudahtt authored Jan 23, 2024
1 parent 7b139dc commit 2c97df2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"@metamask/approval-controller": "^5.1.1",
"@metamask/gas-fee-controller": "^12.0.0",
"@metamask/network-controller": "^17.1.0",
"@metamask/polling-controller": "^4.0.0",
"@metamask/transaction-controller": "^20.0.0"
},
"engines": {
Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2945,7 +2945,6 @@ __metadata:
"@metamask/approval-controller": ^5.1.1
"@metamask/gas-fee-controller": ^12.0.0
"@metamask/network-controller": ^17.1.0
"@metamask/polling-controller": ^4.0.0
"@metamask/transaction-controller": ^20.0.0
languageName: unknown
linkType: soft
Expand Down

0 comments on commit 2c97df2

Please sign in to comment.