@commet/node 7.5.0 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -2121,6 +2121,8 @@ interface SubscriptionActivatedData {
2121
2121
  invoiceTotal: number;
2122
2122
  /** The invoice currency code. */
2123
2123
  invoiceCurrency: string;
2124
+ /** The payment provider that processed the activating charge: stripe, commet, or dlocal. Null when the subscription activated without a charge (zero-total or setup-based activation). */
2125
+ provider: PaymentProvider | null;
2124
2126
  }
2125
2127
  /** Fired when a canceled subscription is reactivated and its reactivation charge succeeds. The subscription returns to active with a fresh invoice and a billing period anchored to the reactivation date. Distinct from subscription.activated (first activation) and payment.recovered (past_due recovery, which keeps the original anchor). */
2126
2128
  interface SubscriptionReactivatedData {
@@ -2144,6 +2146,8 @@ interface SubscriptionReactivatedData {
2144
2146
  invoiceTotal: number;
2145
2147
  /** The invoice currency code. */
2146
2148
  invoiceCurrency: string;
2149
+ /** The payment provider that processed the reactivation charge: stripe, commet, or dlocal. */
2150
+ provider: PaymentProvider;
2147
2151
  }
2148
2152
  /** Fired when a subscription is actually terminated at the end of the billing period. The status is now canceled and access should be revoked. This event is NOT fired when cancellation is scheduled — that triggers subscription.updated instead. See the cancellation lifecycle below. */
2149
2153
  interface SubscriptionCanceledData {
package/dist/index.d.ts CHANGED
@@ -2121,6 +2121,8 @@ interface SubscriptionActivatedData {
2121
2121
  invoiceTotal: number;
2122
2122
  /** The invoice currency code. */
2123
2123
  invoiceCurrency: string;
2124
+ /** The payment provider that processed the activating charge: stripe, commet, or dlocal. Null when the subscription activated without a charge (zero-total or setup-based activation). */
2125
+ provider: PaymentProvider | null;
2124
2126
  }
2125
2127
  /** Fired when a canceled subscription is reactivated and its reactivation charge succeeds. The subscription returns to active with a fresh invoice and a billing period anchored to the reactivation date. Distinct from subscription.activated (first activation) and payment.recovered (past_due recovery, which keeps the original anchor). */
2126
2128
  interface SubscriptionReactivatedData {
@@ -2144,6 +2146,8 @@ interface SubscriptionReactivatedData {
2144
2146
  invoiceTotal: number;
2145
2147
  /** The invoice currency code. */
2146
2148
  invoiceCurrency: string;
2149
+ /** The payment provider that processed the reactivation charge: stripe, commet, or dlocal. */
2150
+ provider: PaymentProvider;
2147
2151
  }
2148
2152
  /** Fired when a subscription is actually terminated at the end of the billing period. The status is now canceled and access should be revoked. This event is NOT fired when cancellation is scheduled — that triggers subscription.updated instead. See the cancellation lifecycle below. */
2149
2153
  interface SubscriptionCanceledData {
package/dist/index.js CHANGED
@@ -880,7 +880,7 @@ var CommetValidationError = class extends CommetError {
880
880
 
881
881
  // src/version.ts
882
882
  var API_VERSION = "2026-06-23";
883
- var SDK_VERSION = "7.5.0";
883
+ var SDK_VERSION = "7.6.0";
884
884
 
885
885
  // src/utils/telemetry.ts
886
886
  var registeredIntegrations = /* @__PURE__ */ new Set();
package/dist/index.mjs CHANGED
@@ -834,7 +834,7 @@ var CommetValidationError = class extends CommetError {
834
834
 
835
835
  // src/version.ts
836
836
  var API_VERSION = "2026-06-23";
837
- var SDK_VERSION = "7.5.0";
837
+ var SDK_VERSION = "7.6.0";
838
838
 
839
839
  // src/utils/telemetry.ts
840
840
  var registeredIntegrations = /* @__PURE__ */ new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commet/node",
3
- "version": "7.5.0",
3
+ "version": "7.6.0",
4
4
  "description": "Commet SDK for Node.js - Billing and usage tracking",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",