Skip to content

Node.js SDK 0.9.0

Choose a tag to compare

@devwatts devwatts released this 29 Sep 19:24
· 107 commits to main since this release
60fa248

Node.js 0.9.0 adds selected-subscription management for the React billing portal and custom merchant backends.

  • subscriptionOptions returns the current plan, pending change and policy-authorized targets.
  • previewSubscriptionChange returns a signed quote with exact amounts and dates.
  • withdrawPendingSubscriptionChange removes the confirmed pending change by its internal UUID.
  • Existing checkout/transition APIs accept the selected subscription, quote and cancellation-date guard. Checkout verification/status support customer and subscription scoping.

Install:

npm install @nozle-js/node@0.9.0

Existing method calls remain compatible. Keep secret keys on the server and preserve idempotency keys for uncertain retries. The hosted API supports these flows; self-hosted deployments need the matching backend endpoints.

Method examples · Release PR

Validated on Node 18/20/22, including merchant integration, type and package-build checks. Published through npm trusted publishing with provenance.