Node.js SDK changes

3.50.2

Released: 2024-11-20

  • Added: delegateSubscriptionToCustomer method
  • Added: transferSubscriptionToResource method
  • 🟑 Deprecated: transferSubscription method (please use transferSubscriptionToResource instead)

3.50.1

released: 2024-10-16

  • Fixed: when access to entitlement was denied due to the reaching of a budget cap, getMeteredEntitlements returned AccessDeniedReason.UNSPECIFIED instead of AccessDeniedReason.BudgetExceeded.

3.50.0

Released: 2024-10-14

  • Added: ability to estimate the subscription cost when the payment of the subscription is delegated to a different customer using:
    • previewSubscription.payingCustomerId,
    • estimateSubscription.payingCustomerId
    • estimateSubscriptionUpdate.payingCustomerId

3.48.0

Released: 2024-10-08

  • Added: ability to more easily determine the usage period of metered entitlements using:
    • Entitlement.usagePeriodStart
    • Entitlement.usagePeriodEnd
  • 🟑 Deprecated: Entitlement.nextResetDate field

3.45.0

Released: 2024-09-02

  • Added: ability to delegate payment of a provisioned subscription to a different customer using:
    • provisionSubscription.payingCustomerId
    • applySubscription.payingCustomerId
    • SlimSubscriptionFragmentV2Fragment.payingCustomer
    • FullSubscription.payingCustomer

3.44.0

Released: 2024-08-27

  • Added: ability to apply a coupon to a subscription using the Stigg coupon ID using:
    • provisionSubscription.appliedCoupon
    • applySubscription.appliedCoupon
    • updateSubscription.appliedCoupon
    • previewSubscription.appliedCoupon
    • estimateSubscription.appliedCoupon
    • estimateSubscriptionUpdate.appliedCoupon

3.38.0

Released: 2024-07-01

  • Changed: UpdateSubscription.subscriptionEntitlements does not require the full list of entitlements when only needing to add or update specific entitlements

3.36.0

Released: 2024-06-24

  • Bug fixes

3.35.0

Released: 2024-06-20

  • Bug fixes

3.33.0

Released: 2024-06-20

  • Added: ability to get the list of active subscriptions from Edge using getActiveSubscriptionsList()

3.32.0

Released: 2024-06-18

  • Added: ability to get the details of a specific subscription using getSubscription()

3.23.0

Released: 2024-05-02

  • Added: ability to ignore customer and subscriptions that have been updated since the last import by passing ImportCustomer.updatedAt and ImportSubscriptionInput.updatedAt

3.11.0

Released: 2024-03-17

  • Added: ability to provision backdated subscriptions usingSubscriptionBillingInfo.isBackdated

3.9.0

Released: 2024-03-07

  • Added: ability to determine the billing period of a specific price usingPrice.billingCadence

3.7.1

Released: 2024-03-01

  • Added: ability to determine customer's AWS Marketplace ID using SlimCustomer.awsMarketplaceCustomerId

3.3.0

Released: 2024-01-30

  • Added: ability to remove a payment method from a customer using detachCustomerPaymentMehod()

3.1.0

Released: 2024-01-25

  • Added: ability to get plans that are not visible to customers usingGetPaywall.includeHiddenPlans