Take x402 2.23.0 and the minor-patch group, cut 2.9.1 - #111
Merged
Conversation
Dependency sweep. @x402/core, @x402/evm and @x402/extensions move 2.20.0 to 2.23.0 as a set; @solana/kit 7.1.1, fastify 5.12.1, hono 4.13.3, vitest and @vitest/coverage-v8 4.1.11. Every one of these is a devDependency here, and the peerDependencies ranges are deliberately untouched, so nothing reaches a consumer. x402 2.23.0 turns client-side spend controls on by default, with an omitted maxAmountPerPayment falling back to $1. That is a payer-side change and this package is the merchant side: it constructs no x402Client, so the default cannot reach it. The agent-side handling lives in pay. Version bumped to 2.9.1 for a coordinated release across the SDKs, commerce libraries and pay, rather than because this change requires callers to act. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Summary
Dependency sweep.
@x402/core,@x402/evmand@x402/extensionsmove 2.20.0 to2.23.0 as a set, plus
@solana/kit7.1.1,fastify5.12.1,hono4.13.3, andvitest/@vitest/coverage-v84.1.11.Every one of these is a devDependency here. The
peerDependenciesranges aredeliberately untouched and stay permissive (
hono >=4.0.0,fastify >=4.0.0,@solana/kit >=7.0.0 <8.0.0), so nothing in this diff reaches a consumer.Worth recording because it is not obvious: x402 2.23.0 turns client-side spend
controls ON by default. A fresh
x402ClientcarriesspendControls = {}ratherthan
false, and an omittedmaxAmountPerPaymentfalls back toDEFAULT_MAX_AMOUNT_PER_PAYMENT("$1"). That is a payer-side change and thispackage is the merchant side: it constructs no
x402Clientanywhere insrc, sothe default cannot reach it. The agent-side handling lives in pay.
Version bumped to 2.9.1 for a coordinated release across the SDKs, commerce
libraries and pay, rather than because this change requires callers to act.
Worked with: Varun.
Type of change
Public API
None. No exported type, function signature, wire format or response shape
changes, and no peer range moved. The only non-lockfile edits are devDependency
versions and the
versionfield.The x402 upgrade was scoped before taking it rather than trusted on the version
number, since it sits on a wire contract:
@x402/coreexported surface 2.20.0 to 2.23.0: zero removals, 8 additions@x402/evm(the signing path): zero removals, 9 additions@x402/fetchtype surface: byte-identicalmaxAmountRequired,x402Version,decimals)increase only, which is the additive signature
extrakeys["name", "version"]and nopaymentFlowTest plan
Ran the repo's full gate set locally on this branch:
bun run typecheckclean, includingexamples/tsconfig.jsonbun run lintclean (eslint, max-warnings 0)bun run test: 119 files passed, 1 skipped; 1817 tests passed, 4 skippedosv-scanneroverbun.lock: no issues found across 948 packagesNo tests were added or changed, because no behavior changed in this package.
Checklist
(no new behavior here; the existing suite passes unchanged on x402 2.23.0)
(public surface did not change, so nothing to update)
Deliberately not done
@agent-score/sdkfloor stays^2.7.4rather than moving to the freshlypublished
^2.7.6. Nothing in this diff needs 2.7.6, and tightening a floor ona public package forces an upgrade on external consumers for no reason. The
existing range already accepts it.
v*and an npm version ispermanent, so the tag is a deliberate step after this merges.