Skip to content

Fix/removing core changes - #25

Merged
Kammerlo merged 7 commits into
mainfrom
fix/removing-core-changes
Aug 24, 2026
Merged

Fix/removing core changes#25
Kammerlo merged 7 commits into
mainfrom
fix/removing-core-changes

Conversation

@Kammerlo

Copy link
Copy Markdown
Member

No description provided.

Kammerlo and others added 3 commits August 20, 2026 15:57
… in-scheme

Per review: a mechanism must not extend @x402/core or the HTTP adapters.
Restores x402Client, mechanisms types, both resource servers and the
express/fastify/hono/next adapters to upstream, dropping getRawBody,
resource matching, skipHandler status/headers/raw replay and abort statuses.

The Masumi guarantee those existed for now lives in the scheme, keyed off the
payment rather than the HTTP request: MasumiTermsStorage (modeled on
batch-settlement's ChannelStorage, with an in-memory default) records every
issued 402 under its termsDigest, and onAfterVerify holds the paid retry to
that exact quote and CAS-binds the first transaction to claim it. Concurrent
buyers therefore keep their own offers. default and script need no storage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Kammerlo
Kammerlo merged commit 3f5e806 into main Aug 24, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant