Skip to content

Bump @metamask/utils to ^8.2.1 - #122

Closed
mcmire wants to merge 1 commit into
mainfrom
bump-utils
Closed

Bump @metamask/utils to ^8.2.1#122
mcmire wants to merge 1 commit into
mainfrom
bump-utils

Conversation

@mcmire

Copy link
Copy Markdown
Contributor

This should unblock MetaMask/core#2017.

@mcmire
mcmire requested a review from a team as a code ownerNovember 9, 2023 19:13
@Gudahtt

Copy link
Copy Markdown
Member

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

@mcmire

mcmire commented Nov 9, 2023

Copy link
Copy Markdown
ContributorAuthor

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.

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

@mcmire@Gudahtt