Skip to content

chore: bump deps#173

Merged
hmalik88 merged 3 commits intomainfrom
hm/bump-deps
May 2, 2026
Merged

chore: bump deps#173
hmalik88 merged 3 commits intomainfrom
hm/bump-deps

Conversation

@hmalik88
Copy link
Copy Markdown
Contributor

@hmalik88 hmalik88 commented May 1, 2026

Bumps the snap-side keyring stack to match what metamask-extension and metamask-mobile are now using on main. The ^21 → ^23 jump in @metamask/keyring-api keeps the snap aligned with consumers so the JSON-RPC contract between them doesn't drift across major versions.

This is a dep-bump-only PR. A separate release PR will follow to publish 2.1.0 of both packages; the currently published 2.0.0 predates #169 and still bundles keyring-api@^8, which is incompatible with the extension's stricter v23 response validation (will be needed for MetaMask/metamask-extension#42334).

Changes

packages/snap

  • @metamask/keyring-api: ^21.0.0 → ^23.1.0
  • @metamask/keyring-snap-sdk: ^7.0.0 → ^9.0.1
  • @metamask/snaps-sdk: 7.1.0 → ^11.1.0
  • @metamask/utils: ^8.1.0 → ^11.11.0
  • snap.manifest.json platformVersion: 7.1.0 → 11.1.0 + new shasum

packages/site

  • @metamask/keyring-api: ^21.0.0 → ^23.1.0
  • @metamask/keyring-snap-client: ^8.0.0 → ^9.0.2
  • @metamask/providers: ^13.0.0 → ^19.0.0

yarn.lock was regenerated. Notably, @metamask/superstruct moves from 3.1.0 → 3.2.1 (within everyone's existing ^3.1.0 range). 3.2.0+ is required because keyring-api@23.1.0's ESM build imports exactOptional from @metamask/superstruct, which is only re-exported starting at 3.2.0. clients' e2e environments.


Note

Medium Risk
Primarily dependency upgrades, but they include multiple major-version bumps (@metamask/snaps-sdk, @metamask/providers, @metamask/keyring-*) and a platformVersion change that could affect runtime compatibility across snap/extension consumers.

Overview
Updates both the snap and companion site to newer MetaMask keyring/snap libraries, including major bumps to @metamask/keyring-api, @metamask/snaps-sdk, @metamask/keyring-snap-sdk, @metamask/keyring-snap-client, and @metamask/providers.

Aligns the snap manifest with the new snaps SDK by updating snap.manifest.json platformVersion (and source shasum), regenerates yarn.lock accordingly, and adds a small eslint suppression/comment in packages/snap/src/index.ts for MethodNotSupportedError typing changes.

Reviewed by Cursor Bugbot for commit e620b7f. Bugbot is set up for automated code reviews on this repo. Configure here.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 1, 2026

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​metamask/​keyring-api@​21.0.0 ⏵ 23.1.010010010097 -250
Updated@​metamask/​keyring-snap-sdk@​7.0.0 ⏵ 9.0.199 +2710075 +296 +4100
Updated@​metamask/​keyring-snap-client@​8.0.0 ⏵ 9.0.299 +110075 +395 -1100
Updated@​metamask/​providers@​13.0.0 ⏵ 19.0.09810093 +185 -4100

View full report

@hmalik88 hmalik88 marked this pull request as ready for review May 1, 2026 21:01
@hmalik88 hmalik88 merged commit 32d7c0f into main May 2, 2026
18 checks passed
@hmalik88 hmalik88 deleted the hm/bump-deps branch May 2, 2026 11:59
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