Skip to content

v4.117.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 07:47
· 178 commits to main since this release

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/node exports the Lightning buyer for any lnbtc-priced URL: readX402LightningOffer(response), payX402Lightning({ input, init, offer, wallet, baseFetch, fail, checkCaps, onPaid? }), and the X402LnbtcOffer, X402LnbtcRequirements, X402LnbtcWallet, X402LnbtcErrorFactory, and PayX402LightningOptions types, beside the already-exported NwcWallet. A client can pay a tenant route priced on lightning or lightning-testnet with 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.