Update @metamask/json-rpc-engine and @metamask/utils#1724
Update @metamask/json-rpc-engine and @metamask/utils#1724
@metamask/json-rpc-engine and @metamask/utils#1724Conversation
Solved this by patching |
package.json
Outdated
| "@metamask/rpc-methods@^0.38.1-flask.1": "patch:@metamask/rpc-methods@npm%3A0.38.1-flask.1#./.yarn/patches/@metamask-rpc-methods-npm-0.38.1-flask.1-081e1eb5b3.patch", | ||
| "@metamask/rpc-methods@^1.0.1": "patch:@metamask/rpc-methods@npm%3A0.38.1-flask.1#./.yarn/patches/@metamask-rpc-methods-npm-0.38.1-flask.1-081e1eb5b3.patch" |
There was a problem hiding this comment.
@metamask/eth-snap-keyring and @metamask/keyring-api need to update the version of @metamask/snaps-controllers so we can dedupe this.
|
Tests are failing because we're using And that can't be solved without changing the |
Where do you see this error? Seems fine here: |
I might've done something wrong then. 🤔 Thanks for looking into this! |
Should unlock bumping |
legobeat
left a comment
There was a problem hiding this comment.
Will need rebase on main, though see note about parallel PRs with some overlapping changes to this one.
## Explanation This replaces obsolete `eth-rpc-errors` with `@metamask/rpc-errors` in `@metamask/approval-controller`. This should be coupled with #1639 and can be merged before or after. ## References #### Broken out from - #1731 #### Blocking - #1724 #### Related - #1690 ## Changelog ### `@metamask/approval-controller` - **Changed**: Replaced `eth-rpc-errors` with `@metamask/rpc-errors` ### `@metamask/controller-utils` - **Fixed**: Removed unused dependency `eth-rpc-errors` ## 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
## Explanation This replaces obsolete `eth-rpc-errors` with `@metamask/rpc-errors` in `@metamask/approval-controller`. This should be coupled with #1639 and can be merged before or after. ## References #### Broken out from - #1731 #### Blocking - #1724 #### Related - #1690 ## Changelog ### `@metamask/approval-controller` - **Changed**: Replaced `eth-rpc-errors` with `@metamask/rpc-errors` ### `@metamask/controller-utils` - **Fixed**: Removed unused dependency `eth-rpc-errors` ## 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
## Explanation This replaces obsolete `eth-rpc-errors` with `@metamask/rpc-errors` in `@metamask/approval-controller`. This should be coupled with #1639 and can be merged before or after. ## References #### Broken out from - #1731 #### Blocking - #1724 #### Related - #1690 ## Changelog ### `@metamask/approval-controller` - **Changed**: Replaced `eth-rpc-errors` with `@metamask/rpc-errors` ### `@metamask/controller-utils` - **Fixed**: Removed unused dependency `eth-rpc-errors` ## 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
## Explanation This replaces obsolete `eth-rpc-errors` with `@metamask/rpc-errors` in `@metamask/approval-controller`. This should be coupled with #1639 and can be merged before or after. ## References #### Broken out from - #1731 #### Blocking - #1724 #### Related - #1690 ## Changelog ### `@metamask/approval-controller` - **Changed**: Replaced `eth-rpc-errors` with `@metamask/rpc-errors` ### `@metamask/controller-utils` - **Fixed**: Removed unused dependency `eth-rpc-errors` ## 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
|
Superseded by #1749 |
Explanation
This bumps
@metamask/json-rpc-engine(previouslyjson-rpc-engine) and@metamask/utilsto the latest versions. This is required to be able to use the latest versions of@metamask/json-rpc-engineand@metamask/eth-json-rpc-middlewarein Snaps (MetaMask/snaps#1781).The updated version of
@metamask/json-rpc-engineis functionally equivalent to the previous version, but has improved types. To be able to bump it, it also required a bump of@metamask/utils.Changelog
@metamask/accounts-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/address-book-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/approval-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/assets-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/base-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/controller-utils@metamask/utilsfrom^6.2.0to^8.1.0@metamask/ens-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/gas-fee-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/keyring-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/message-manager@metamask/utilsfrom^6.2.0to^8.1.0@metamask/network-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/notification-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/permission-controllerRestrictedMethodParametersno longer acceptsvoidas type.@metamask/utilsfrom^6.2.0to^8.1.0@metamask/json-rpc-enginefrom^6.1.0to^7.1.1@metamask/signature-controller@metamask/utilsfrom^6.2.0to^8.1.0@metamask/transaction-controller@metamask/utilsfrom^6.2.0to^8.1.0Checklist