chore(runway): cherry-pick chore: Bump Snaps packages#21246
Merged
Conversation
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> This bumps Snaps packages to the latest version. Notable changes include: - Reduce JSON validation during state updates - Move JSON-RPC request inspection outside of the executor - Simplify JSON-RPC failure validation - Properly roll back `initialConnections` - Display a warning instead of an error when Snaps fail to terminate Generally this should help with ongoing performance regressions when using Solana. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Upgrades Snaps-related packages and removes `featureFlags.useCaip25Permission` from Snap controller initialization and tests. > > - **Engine (Snaps controller init)**: > - Remove `featureFlags.useCaip25Permission` from `snap-controller-init.ts` and update test expectations in `snap-controller-init.test.ts`. > - **Dependencies**: > - Upgrade `@metamask/snaps-controllers` to `^15.0.0`, `snaps-execution-environments` to `^10.2.2`, `snaps-rpc-methods` to `^13.5.2`, `snaps-sdk` to `^10.0.0`, and `snaps-utils` to `^11.6.0` in `package.json`. > - Add resolution for `@metamask/snaps-sdk@^10.0.0`; refresh `yarn.lock` with related updates (e.g., `@metamask/providers@^22.1.1`, `@metamask/slip44@^4.3.0`). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 48f4bd6. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Collaborator
|
No release label on PR. Adding release label release-7.57.0 on PR, as PR was cherry-picked in branch 7.57.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This bumps Snaps packages to the latest version. Notable changes
include:
initialConnectionsGenerally this should help with ongoing performance regressions when
using Solana.
Note
Updates Snaps-related packages and removes the
useCaip25Permissionfeature flag from SnapController initialization and tests.@metamask/snaps-*packages (controllers→ ^15.0.0,execution-environments→ ^10.2.2,rpc-methods→ ^13.5.2,sdk→ ^10.0.0,utils→ ^11.6.0); add@metamask/snaps-sdktoresolutions; minor bumps for@metamask/providersand@metamask/slip44.useCaip25PermissionfromfeatureFlagsinapp/core/Engine/controllers/snaps/snap-controller-init.tsand corresponding expectation insnap-controller-init.test.ts.Written by Cursor Bugbot for commit c62f73f. This will update automatically on new commits. Configure here.
8ee3984