Skip to content

chore: update accounts/snaps deps#5871

Merged
ccharly merged 15 commits intomainfrom
chore/accounts-and-snaps-updates
May 30, 2025
Merged

chore: update accounts/snaps deps#5871
ccharly merged 15 commits intomainfrom
chore/accounts-and-snaps-updates

Conversation

@ccharly
Copy link
Copy Markdown
Contributor

@ccharly ccharly commented May 28, 2025

Explanation

Updating accounts deps + aligning snaps deps as well.

The main update here is @metamask/eth-snap-keyring which introduce the new KeyringRequest.origin field. This new breaking change is associated with the Snaps platform version: 7.0.0 (@metamask/snaps-sdk@7.0.0).

References

N/A

Changelog

N/A

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, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@socket-security
Copy link
Copy Markdown

socket-security bot commented May 28, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​metamask/​snaps-controllers@​12.3.1931007410050
Added@​metamask/​eth-snap-keyring@​13.0.092100929850

View full report

@ccharly ccharly force-pushed the chore/accounts-and-snaps-updates branch 3 times, most recently from ce31ef4 to 29e04f1 Compare May 28, 2025 10:46
@ccharly ccharly force-pushed the chore/accounts-and-snaps-updates branch from 29e04f1 to e49ec95 Compare May 28, 2025 11:33
@ccharly
Copy link
Copy Markdown
Contributor Author

ccharly commented May 28, 2025

Adding the no-changelog label since some changes are required because of deps updates, but those are tests fixing or non-consumer facing changes.

@ccharly ccharly marked this pull request as ready for review May 30, 2025 10:59
@ccharly ccharly requested review from a team as code owners May 30, 2025 10:59
);
const getAccounts = jest.fn().mockReturnValue([]);
const response: PendingJsonRpcResponse<Json> = {
const response: PendingJsonRpcResponse = {
Copy link
Copy Markdown
Contributor Author

@ccharly ccharly May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of those changes are required because of @metamask/utils dedupe. The default type parameter for those is Json already, resulting in a eslint warning if we specify it.

See:

Copy link
Copy Markdown
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Copy Markdown
Member

@ffmcgee725 ffmcgee725 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CO review for wallet-api-platform-engineers team, only typing changes which make sense. LGTM 👍🏾 🚀

@ccharly ccharly enabled auto-merge (squash) May 30, 2025 12:51
@ccharly ccharly merged commit d669c94 into main May 30, 2025
210 checks passed
@ccharly ccharly deleted the chore/accounts-and-snaps-updates branch May 30, 2025 12:56
@adonesky1 adonesky1 mentioned this pull request Jun 13, 2025
adonesky1 added a commit that referenced this pull request Jun 13, 2025
## @metamask/chain-agnostic-permission

## [0.7.1]

### Changed

- Bump `@metamask/keyring-internal-api` to `^6.2.0`
([#5871](#5871))
- Bump `@metamask/controller-utils` to `^11.10.0`
([#5935](#5935))
- Bump `@metamask/network-controller` to `^23.6.0`
([#5935](https://github.com/MetaMask/core/pull/5935),[#5882](https://github.com/MetaMask/core/pull/5882))
- Change `caip25CaveatBuilder` to list unsupported scopes in the
unsupported scopes error
([#5806](#5806))
### Fixed
- Fix `isInternalAccountInPermittedAccountIds` and
`isCaipAccountIdInPermittedAccountIds` to correctly handle comparison
against `permittedAccounts` values of the `wallet:<namespace>:<address>`
format ([#5980](#5980))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants