Repository navigation
Version Packages - #45
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
October 7, 2026 14:36
3092d27 to
88042db
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 7, 2026 15:53
88042db to
84881d4
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
radius-sdk@0.4.0
Minor Changes
bdd6d76: Accept payments from any HTTP stack, not just Hono. New
radius-sdk/serverentry point:radiusPayments()is a web-standard handler (Requestin,Responseout) for Cloudflare Workers without a framework, Bun, Deno, Node 18+, and Next.js / SvelteKit / Remix route handlers. Paid handlers receive the settled receipt as a second argument.createRadiusServer()exposes the Radius x402 resource server and aroutes()builder that plug straight into the upstream adapters:paymentMiddleware(radius.routes({ … }), radius.server)with@x402/express,@x402/nextor@x402/hono.onSettledis registered on the resource server, so it fires whichever adapter served the request (it receives the x402 request context;requestOf(context)returns theRequestfor the SDK's own adapters). Errors thrown byonSettledare logged by x402 core instead of failing the request.settle: 'before'flow instead of being buffered (the previous Hono middleware buffered every paid response, stalling SSE and token streams).radius-sdk/honois now a thin wrapper over the web-standard handler with the same options.RadiusHonoAdapteris removed;RequestAdapterfromradius-sdk/server(an x402HTTPAdapterover a web-standardRequest) replaces it.@x402/core/@x402/evmbumped to 2.27.0 (the version line the upstream adapters require).examples/worker-plain(no framework),examples/express-seller(@x402/express) andexamples/astro-seller(validate before charging in an Astro API route).Patch Changes
radiusPaymentsaccepts facilitators that list theeip3009transfer method forexact. Previously every paid route answered 500 once the facilitator's/supportednamedeip3009beforepermit2.radiusPaymentsanswers502(facilitator_error) when a facilitator call fails without the facilitator's own answer, such as a dropped connection or an error page from a gateway. These were reported as402, which a buyer reads as "rejected, nothing moved", although a settle may have reached the chain. The facilitator's own rejections are still402.radius-cli@0.3.1
Patch Changes