Releases: p3ol/subscribe-node-sdk
Releases · p3ol/subscribe-node-sdk
Custom offer price & Sandbox mode
2.0.0 (2023-08-24)
⚠ BREAKING CHANGES
customers.switchSubscriptionOffer(customerId, subscriptionId, offer, requestOptions)
becomescustomers.switchSubscriptionOffer(customerId, subscriptionId, offer, **{ priceId }**, requestOptions)
-> it now takes an additional parameter before request options to speficy offer options like price idsandbox: true|false
is now an option on every request (instead of only offers list) and has been removed fromoffers.list()
Features
- add price to switch offer (edc5360)
- allow to select offer price (8d719c5)
- offers: add sandbox param (ecf88d1)
Bug Fixes
Initial release ✨
1.0.1 (2022-08-04)
- fix jest timers
- fix build not sent to npm
1.0.0 (2022-08-04)
Features
- remove console.log (f878db4)
- subscribe: delete access and refresh tokens and all api calls where it's needed (004b8e1)
- subscribe: remove requestWithRetry and update example (9034b7c)
1.0.0-alpha.1 (2022-04-25)
Features
1.0.0-alpha.0 (2022-04-19)
Features
- add auth methods (a5c0629)
- add various payments & subscriptions methods (878be0b)
- enable auth for all requests (2566c2f)