JavaScript SDK changes
3.35.0
Released: 2025-01-12
- Added: support for offline mode
3.34.0
Released: 2024-12-17
- Added:
GetUsageHistoryV2
- π‘ Deprecated:
GetUsageHistory
(please useGetUsageHistoryV2
instead) - Changed:
- Input Object:
customerRefId
renamed tocustomerId
resourceRefId
renamed toresourceId
featureRefId
renamed tofeatureId
resetPeriod
removedyearlyResetPeriodConfiguration
removedmonthlyResetPeriodConfiguration
removedweeklyResetPeriodConfiguration
removed
- Output Object
startDate
removedendDate
removedusageMeasurements[i].date
renamed toseries[0].point[i].timestamp
usageMeasurements[i].value
renamed toseries[0].point[i].value
usageMeasurements[i].isResetPoint
renamed toseries[0].point[i].isResetPoint
- Old Value:
true
if and only if usage was reset due to periodic reset. - New Value:
true
if and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
groups[i].groupInfo[j].key
renamed toseries[i].tags[j].key
groups[i].groupInfo[j].value
renamed toseries[i].tags[j].value
groups[i].usageMeasurements[j].date
renamed toseries[i].point[j].timestamp
groups[i].usageMeasurements[j].value
renamed toseries[i].point[j].value
groups[i].usageMeasurements[j].isResetPoint
renamed toseries[i].point[j].isResetPoint
- Old Value:
true
if and only if usage was reset due to periodic reset. - New Value:
true
if and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
- Input Object:
3.33.0
Released: 2024-12-08
- Added: ability to override prices when there's a scheduled update in place
3.31.0
Released: 2024-11-21
- Added: support for price localization in fixed fee coupons
3.30.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.27.0
Released: 2024-10-08
- Added: ability to more easily determine the usage period of metered entitlements using:
MeteredEntitlement.usagePeriodStart
MeteredEntitlement.usagePeriodEnd
- π Removed:
MeteredEntitlement.nextResetDate
3.20.0
Released: 2024-06-20
- Added: ability to get the list of active subscriptions from Edge using
getActiveSubscriptionsList()
3.19.0
Released: 2024-06-20
- Added: ability to get the details of a specific subscription using
getSubscription()
Updated 8 days ago