Repository navigation
v4.117.1
Fixes
- A bare
-reaches the command as the stdin marker.run402 orgs lightning-receiver set <org_id> -now reads the pairing from stdin as documented; the positional parser used to drop every argument that started with a dash.--uri -keeps working.
SDK
@run402/sdk/nodeexports the Lightning buyer for anylnbtc-priced URL:readX402LightningOffer(response),payX402Lightning({ input, init, offer, wallet, baseFetch, fail, checkCaps, onPaid? }), and theX402LnbtcOffer,X402LnbtcRequirements,X402LnbtcWallet,X402LnbtcErrorFactory, andPayX402LightningOptionstypes, beside the already-exportedNwcWallet. A client can pay a tenant route priced onlightningorlightning-testnetwith its own Nostr Wallet Connect pairing; the client still refuses an invoice bound to a different request before paying.
Used by kychee-com/kychange's tools/pay.mjs.