Skip to content

chore: update accounts/snaps deps - #5871

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

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

Conversation

@ccharly

Copy link
Copy Markdown
Contributor

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

socket-securityBot commented May 28, 2025

Copy link
Copy Markdown

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

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Added@​metamask/​snaps-controllers@​12.3.1931007410050
Added@​metamask/​eth-snap-keyring@​13.0.092100929850

View full report

@ccharly
ccharlyforce-pushed the chore/accounts-and-snaps-updates branch 3 times, most recently from ce31ef4 to 29e04f1CompareMay 28, 2025 10:46
@ccharly
ccharlyforce-pushed the chore/accounts-and-snaps-updates branch from 29e04f1 to e49ec95CompareMay 28, 2025 11:33
@ccharly

Copy link
Copy Markdown
ContributorAuthor

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 ownersMay 30, 2025 10:59
);
const getAccounts = jest.fn().mockReturnValue([]);
const response: PendingJsonRpcResponse<Json> = {
const response: PendingJsonRpcResponse = {

@ccharlyccharlyMay 30, 2025

Copy link
Copy Markdown
ContributorAuthor

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:

@mikespositomikesposito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@ffmcgee725ffmcgee725 left a comment

Copy link
Copy Markdown
Member

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 mainMay 30, 2025
@ccharly
ccharly deleted the chore/accounts-and-snaps-updates branch May 30, 2025 12:56
@adonesky1adonesky1 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ccharly@mikesposito@ffmcgee725