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

Bump @metamask/utils to ^8.2.1 #122

Closed
wants to merge 1 commit into from
Closed

Bump @metamask/utils to ^8.2.1 #122

wants to merge 1 commit into from

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Nov 9, 2023

This should unblock MetaMask/core#2017.

@mcmire mcmire requested a review from a team as a code owner November 9, 2023 19:13
@Gudahtt
Copy link
Member

Gudahtt commented Nov 9, 2023

Any idea how this managed to break the bump on core?

@mcmire
Copy link
Contributor Author

mcmire commented Nov 9, 2023

I played around with MetaMask/core#2017 some more and I think we can solve this problem by de-duping. So we don't need this PR.

To answer your question, though, the reason why we saw the build failure on core was due to the fact that the versions of @metamask/utils were different between @metamask/json-rpc-engine (now in core) and this package (json-rpc-engine was now using 8.2.1, rpc-errors was still using 8.1.0). The error was manifested in a difference in JsonRpc* types which were introduced in this PR: MetaMask/utils#136 (released in 8.2.0). Admittedly I can't 100% explain the changes in this PR due to some advanced TypeScript techniques, but in hindsight, they probably should have been marked as breaking.

@mcmire mcmire closed this Nov 9, 2023
@mcmire mcmire deleted the bump-utils branch November 9, 2023 20:34
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