Skip to content

chore: mark getAccounts → getPermittedAccountsForOrigin rename as breaking in eip-5792-middleware changelog#8060

Merged
adonesky1 merged 1 commit intomainfrom
ad/update-5792-middleware-changelog
Feb 27, 2026
Merged

chore: mark getAccounts → getPermittedAccountsForOrigin rename as breaking in eip-5792-middleware changelog#8060
adonesky1 merged 1 commit intomainfrom
ad/update-5792-middleware-changelog

Conversation

@adonesky1
Copy link
Contributor

@adonesky1 adonesky1 commented Feb 27, 2026

Explanation

  • Mark the feat: make wallet_sendCalls more reliable #7816 changelog entry in @metamask/eip-5792-middleware as BREAKING, since it renames the getAccounts hook to getPermittedAccountsForOrigin (with a changed signature) across walletSendCalls, walletGetCapabilities, and ProcessSendCallsHooks
  • Add migration guidance for consumers

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Low Risk
Documentation-only change that clarifies a previously introduced breaking API rename; no runtime behavior is modified.

Overview
Updates the @metamask/eip-5792-middleware CHANGELOG.md to explicitly mark the getAccountsgetPermittedAccountsForOrigin hook rename as BREAKING for walletSendCalls, walletGetCapabilities, and ProcessSendCallsHooks, and adds brief migration guidance (new hook name/signature and origin requirement on the request).

Written by Cursor Bugbot for commit 01cbe17. This will update automatically on new commits. Configure here.

@adonesky1 adonesky1 added this pull request to the merge queue Feb 27, 2026
Merged via the queue into main with commit e8f5dab Feb 27, 2026
314 checks passed
@adonesky1 adonesky1 deleted the ad/update-5792-middleware-changelog branch February 27, 2026 17:26
Sign up for free to 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