v0.2.0
Added
- Checkout convenience methods —
checkout.authenticated.create()andcheckout.anonymous.create()wrap the full checkout flow into one call, with support for dynamic pricing (priceSnapshot) and trial control (withTrial) - Buyer self-service —
client.buyer(token)creates a session-token-authenticated session with methods:cancelSubscription(),cancelOnetimeOrder(),reactivateSubscription(),createRefundTicket(),resubmitRefundTicket(), andgraphql.query()
Changed
- Base URL — Default API endpoint changed to
api.waffo.ai - Package —
docs/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.