-
Notifications
You must be signed in to change notification settings - Fork 5k
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 deps #29912
base: main
Are you sure you want to change the base?
chore: update accounts deps #29912
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. |
@metamaskbot update-policies |
New and updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff |
59ea846
to
6086c50
Compare
@metamaskbot update-policies |
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff |
3e9c6fa
to
a95fda7
Compare
Builds ready [0a9f7e4]
Page Load Metrics (1525 ± 37 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [43889d2]
Page Load Metrics (1709 ± 63 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [79f106d]
Page Load Metrics (1814 ± 121 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
'SnapKeyring:accountAssetListUpdated', | ||
'SnapKeyring:accountBalancesUpdated', | ||
'SnapKeyring:accountTransactionsUpdated', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are now required by the AccountsController
'SnapKeyring:accountAssetListUpdated', | ||
'SnapKeyring:accountBalancesUpdated', | ||
'SnapKeyring:accountTransactionsUpdated', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are now required by the AccountsController
@@ -68,7 +67,7 @@ const createControllerMessenger = ({ | |||
SnapKeyringBuilderAllowActions, | |||
never | |||
>().getRestricted({ | |||
name: 'SnapKeyringBuilder', | |||
name: 'SnapKeyring', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to update this since the AccountsController
uses this messenger's name now for the new keyring events.
|
||
export type SnapKeyringBuilderMessenger = RestrictedControllerMessenger< | ||
'SnapKeyringBuilder', | ||
'SnapKeyring', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to update this since the AccountsController uses this messenger's name now for the new keyring events.
Description
Use the new Snap keyring version that no longer rely on a
SnapController
reference. Instead it uses the messaging system.Note
This PR is blocking other features for the moment, so not every peer deps (related to the
AccountsController
) have been updated here. This will be done in a separate PR:Related issues
Manual testing steps
N/A
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist