Repository navigation
docs(sdk): document the x402Serve() guard, fix links and repository fields - #115
Merged
Merged
Conversation
…ields README: document guard, X402GuardStore and createUpstashX402GuardStore with an example (Upstash and a custom store), keep the known limitation but say it applies when guard is not passed, document ResilientSignalClient, say /premium/signals is testnet only (501 on mainnet), drop two dead links, fix the GitHub link, remove long dashes. package.json of nirium and nirium-mcp: repository and bugs.url point to nirium-protocol/nirium. Text and metadata only. Ships with the next SDK version. Co-Authored-By: Claude Sonnet 5.5 <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.
README and metadata for the next
niriumSDK version. Text andpackage.jsonmetadata only, no code. Nothing is published or tagged by this PR; it ships with the next SDK release.x402Serve()guard documented:guard,X402GuardStore,createUpstashX402GuardStore, with two storage options (Upstash, or your own store; an in-memory example is included). The guard is off unless you passguard.guardthere is no replay protection and no rate limit.Edgadafi/remesa-liquidez) for the design; x402Serve() has no replay protection or rate limiting — document as a known limitation #91 linked as context.ResilientSignalClientdocumented in a short section./premium/signalsis testnet only (501 on mainnet, checked live);/premium/marketis paid on both./docs/apiand/docs/mcp; GitHub link nownirium-protocol/nirium; 21 long dashes removed.repository(withdirectory) andbugs.urlofniriumandnirium-mcpnow point tonirium-protocol/nirium.Checked against the published
nirium@0.16.0: a real Express server with an in-memory store gave429 rate_limitedon the second call inside the rate window, and409 payment_replayedfor two concurrent calls with the same proof. The README snippet compiles withtsc --strict. Not tested: a real payment end to end (needs a live facilitator).🤖 Generated with Claude Code