You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Version 8.1.1 onward is using the new mono repo. I updated to version 10.1.0 to support the breaking changes in the accounts controller bump from v19.0.0 to v20.0.1
webextension-polyfill is required as a peer dependancy in newest updated of the @metamask/providers package. The changelog states that "Users are now expected to have the polyfill in their environment". Extension is using version 0.8.0 of this package.
I've completed the PR template to the best of my ability
I’ve included tests if applicable
I’ve documented my code using JSDoc format if applicable
I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
All accounts-related packages have been moved to our new monorepo.
A new patch version has been released for each of them. Those new versions have been used and released in all core controllers: MetaMask/core#4734
This repository contains the following packages 1:
@metamask/eth-snap-keyring:
@metamask/keyring-api:
Summary of the updates
@metamask/accounts-controller 19.0.0 -> 20.0.1
@metamask/{keyring-api,eth-snap-keyring,snaps-*}
core#4948)@metamask/keyring-controller 18.0.0 -> 19.0.1
Updated to support the latest version of the accounts controller.
@metamask/{keyring-api,eth-snap-keyring,snaps-*}
core#4948)If you are depending on @metamask/providers directly, you will need to upgrade to 18.1.0.
@metamask/providers 16.1.0-> 18.1.0
This was changed largely to support the newest version of the accounts controller and keyring controller.
@metamask/keyring-api 8.1.0 -> 10.1.0
Version 8.1.1 onward is using the new mono repo. I updated to version 10.1.0 to support the breaking changes in the accounts controller bump from v19.0.0 to v20.0.1
btc_sendmany
tosendBitcoin
accounts#73)@metamask/providers@^17.2.0
->^18.1.0
accounts#76)@metamask/eth-snap-keyring 4.3.3 -> 5.0.1
eth-sig-util@^7.0.3
->^8.0.0
accounts#79)signTypedData no longer support number for addresses, see here.
@metamask/eth-sig-util 7.0.2 -> 8.0.0
Updated to support version 5 of the eth-snap-keyring. These breaking changes do not effect the application.
BREAKING: Drop support for Node.js versions 16, 21. (drop support for Node.js versions 16, 21 eth-sig-util#390)
Added webextension-polyfill
webextension-polyfill is required as a peer dependancy in newest updated of the
@metamask/providers
package. The changelog states that"Users are now expected to have the polyfill in their environment"
. Extension is using version 0.8.0 of this package.Related issues
Fixes: https://github.com/MetaMask/accounts-planning/issues/614
Related issues
Related to:
MetaMask/accounts#39
MetaMask/accounts#50
MetaMask/accounts#54
MetaMask/core#4713
MetaMask/core#4734
Manual testing steps
Screenshots/Recordings
Before
After
Importing an account ✅ :
Screen.Recording.2024-12-04.at.3.23.33.PM.mov
Snap accounts ✅ :
Screen.Recording.2024-12-04.at.3.26.41.PM.mov
Importing private key ✅ :
Screen.Recording.2024-12-04.at.3.35.39.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist