Skip to content

v0.2.0

Choose a tag to compare

@realbub realbub released this 27 Feb 20:43
· 3 commits to main since this release

What's Changed

  • Fix: Budget tracker now records the actual amount paid via SDK (payment.Amount) instead of the server's self-reported price
  • Safety: Client throws L402PaymentFailedException if server still returns 402 after a successful payment (prevents infinite retry loops)
  • Feature: L402Options now supports ExpirySeconds and Caveats (parity with TypeScript package)
  • Feature: [L402] attribute and L402EndpointFilter pass through ExpirySeconds and Caveats to the SDK
  • Feature: Added HttpContext.GetL402() typed extension method for accessing L402 verification results without casting from HttpContext.Items