-
-
Notifications
You must be signed in to change notification settings - Fork 252
chore: Update eth-json-rpc-middleware
#6714
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
Conversation
59e276c to
ba0480e
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ba0480e to
28114e5
Compare
| "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch" | ||
| }, | ||
| "dependencies": { | ||
| "@metamask/eth-json-rpc-middleware": "^17.0.1", |
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.
This was unused since #6477
3fe373b to
76f7da8
Compare
|
Rebased to resolve conflicts in changelog |
76f7da8 to
a235340
Compare
Update `@metamask/eth-json-rpc-middleware` from v17 to v18. The breaking changes relate to dropping support for the legacy middleware function that pre-dates the creation of the RPC service, and some minor type changes regarding that RPC service parameter. Changelog: https://github.com/MetaMask/eth-json-rpc-middleware/blob/main/CHANGELOG.md#1800 Additionally, this dependency was removed completely from `@metamask/eip-5792-middleware` because it was unused.
a235340 to
6055771
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!
Explanation
Update
@metamask/eth-json-rpc-middlewarefrom v17 to v18. The breaking changes relate to dropping support for the legacy middleware function that pre-dates the creation of the RPC service, and some minor type changes regarding that RPC service parameter.Changelog: https://github.com/MetaMask/eth-json-rpc-middleware/blob/main/CHANGELOG.md#1800
References
N/A
Checklist
Note
Upgrade
@metamask/eth-json-rpc-middlewareto v18 innetwork-controllerand remove it fromeip-5792-middleware.packages/network-controller: Bump@metamask/eth-json-rpc-middlewarefrom^17.0.1to^18.0.0; update changelog accordingly.packages/eip-5792-middleware: Remove dependency on@metamask/eth-json-rpc-middleware; update changelog accordingly.Written by Cursor Bugbot for commit 6055771. This will update automatically on new commits. Configure here.