-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
chore: Update accounts packages #12555
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Bitrise✅✅✅ Commit hash: 8df9a0d Note
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected] |
8cbd558
to
f8f8e67
Compare
Bitrise✅✅✅ Commit hash: f8f8e67 Note
|
Bitrise✅✅✅ Commit hash: b598c65 Note
|
cd7145c
to
750312c
Compare
Bitrise✅✅✅ Commit hash: 750312c Note
|
750312c
to
213f2c0
Compare
Bitrise❌❌❌ Commit hash: 213f2c0 Note
Tip
|
213f2c0
to
fb012cc
Compare
Bitrise✅✅✅ Commit hash: fb012cc Note
|
Quality Gate passedIssues Measures |
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