Skip to content

v0.2.0

Choose a tag to compare

@Hill-waffo Hill-waffo released this 02 Apr 08:20

Added

  • Checkout convenience methodscheckout.authenticated.create() and checkout.anonymous.create() wrap the full checkout flow into one call, with support for dynamic pricing (priceSnapshot) and trial control (withTrial)
  • Buyer self-serviceclient.buyer(token) creates a session-token-authenticated session with methods: cancelSubscription(), cancelOnetimeOrder(), reactivateSubscription(), createRefundTicket(), resubmitRefundTicket(), and graphql.query()

Changed

  • Base URL — Default API endpoint changed to api.waffo.ai
  • Packagedocs/ directory now included in npm package
  • Docs — Full rewrite: api-reference synced with endpoint docs, graphql-guide rewritten with analytics/version/delivery queries, webhook-guide amount type fix
  • README — Reorganized by use-case priority (checkout → webhooks → buyer self-service → GraphQL → management)

See CHANGELOG for full details.