-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix: bump @metamask/queued-request-controller
with patch fix
#28355
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. |
@metamask/queued-request-controller
with patch fix
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/queued-request-controller@7.0.0 |
Builds ready [f080630]
Page Load Metrics (2030 ± 117 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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.
LGTM!
Description
Bumps version of QueuedRequestController, with a patch that fixes an issue where
QueuedRequestController.state.queuedRequestCount
is not updated after flushing requests for an originReferences
QueuedRequestController
for requests that can switch the network without prompting user approval core#4846QueuedRequestController
from^2.0.0
to^7.0.0
#28090Fixes
Fixes #28358
Slack discussion in v12.7.0 RC Thread
Before
https://drive.google.com/file/d/1ujdQgVLlT8KlwRwO-Cc3XvRHPrkpxIg_/view?usp=drive_link
After
Screen.Recording.2024-11-06.at.3.41.05.PM.mov
Manual testing steps
On a dapp permissioned for chain A and B, on chain A, queue up one send transaction, then use wallet_switchEthereumChain to switch to chain B, then queue up several more send transactions. Reject/approve the first transaction. Afterwards, you should see chain B as the active chain for the dapp, and all subsequent approvals cleared/rejected automatically.
Pre-merge reviewer checklist