Skip to content

v0.20.1

Choose a tag to compare

@ryanio ryanio released this 17 Jun 20:06
· 16 commits to main since this release

What's Changed

  • Caller usage reporting, default-on: pay now sends a caller-side usage report by default (--no-report-usage to opt out). --api-key falls back to OPENSEA_API_KEY before auto-provisioning an instant key. A duplicate-report rejection (the tool's own server-side reporter already recorded the settlement) is treated as success. reportCallerX402Usage / reportCallerEip3009Usage now return a CallerUsageReportResult (reported | already-reported | skipped | failed) so callers can surface the real outcome. (#445)
  • Reject x402 payment on 5xx: paidFetch and paidAuthenticatedFetch now throw X402PaymentError when the server responds 5xx after a payment is sent, instead of silently returning the error response. The error exposes response and settled so callers can detect a possibly-settled payment and avoid double charges. (#441)

Full Changelog: ProjectOpenSea/opensea-devtools@tool-sdk-v0.20.0...tool-sdk-v0.20.1