chore(svm): upgrade Solana program clients for Kit v6#2331
Open
mflanagan1041 wants to merge 1 commit into
Open
chore(svm): upgrade Solana program clients for Kit v6#2331mflanagan1041 wants to merge 1 commit into
mflanagan1041 wants to merge 1 commit into
Conversation
|
@mflanagan1041 is attempting to deploy a commit to the Coinbase Team on Vercel. A member of the Team first needs to authorize it. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Updates
@x402/svmto the current Solana generated program client line:@solana-program/compute-budget^0.11.0->^0.15.0@solana-program/token^0.9.0->^0.13.0@solana-program/token-2022^0.6.1->^0.9.0@solana/kitpeer range>=5.1.0->>=6.5.0 <7This keeps the SVM package aligned with the current Token and Token-2022 generated clients. The peer dependency change is intentionally marked as a major changeset because consumers pinned to Kit 5 will need to upgrade.
One small source guard is included for the Kit v6 compiled transaction message type surface.
getTokenPayerFromTransactiononly extracts payers from decoded messages that expose the existinginstructionsarray, so it returns no payer for other compiled message shapes instead of relying on the old type assumption.This does not change SVM payment settlement semantics, accepted token program IDs, account metas, signer requirements, or supported schemes.
Tests
From
typescript/:pnpm --filter @x402/core buildpnpm --filter @x402/svm buildpnpm --filter @x402/svm testpnpm --filter @x402/svm format:checkpnpm --filter @x402/svm lint:checkChecklist