github cashubtc/cashu-ts v4.13.0

2 hours ago

This release brings end-to-end NUT-18 payment request handling to v4:

  • sendToRequest: pay a request in one call with fees, mints and locks handled, so you can't underpay
  • isPaymentRequestSatisfied: payees check incoming ecash in one call
  • mp/sm support, at parity with v5

There's a new usage guide in payment_requests.md.


What's Changed

  • fix(mint): null a melt payment_preimage that is not a string [backport v4-dev] by @robwoodgate in #1339
  • feat(model): encode and decode NUT-18 payment payloads, read mint preference (mp) by @robwoodgate in #1345
  • feat(model): read and price NUT-18 supported methods (sm) by @robwoodgate in #1346
  • feat(wallet): pay and validate payment requests end to end by @robwoodgate in #1348
  • chore(v4-dev): release 4.13.0 by @robwoodgate in #1340

Full Changelog: v4.12.0...v4.13.0

Don't miss a new cashu-ts release

NewReleases is sending notifications on new releases.