@commet/node 8.0.0 → 8.0.1
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/README.md +46 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -639,7 +639,7 @@ var SubscriptionsResource = class {
|
|
|
639
639
|
options
|
|
640
640
|
);
|
|
641
641
|
}
|
|
642
|
-
/** Preview proration details for an immediate plan change (
|
|
642
|
+
/** Preview proration details for an immediate plan change (a higher-sort-order plan or a longer interval) without applying it. Returns credit, charge, and net amount. The target plan must belong to the same plan group as the current plan, otherwise a 400 with code `plans_not_in_same_group` is returned. A change between two free plans has nothing to prorate and returns a zero-amount estimate. Downgrades — a lower-sort-order plan in the same group, or a shorter interval — are scheduled for the end of the current period instead of being prorated, so they return a 400 with code `plan_change_scheduled`; apply those via the change-plan endpoint. Pass offerId to quote the destination plan with a Promotional Offer. */
|
|
643
643
|
async previewChange(params, options) {
|
|
644
644
|
const { id, ...rest } = params;
|
|
645
645
|
return this.httpClient.post(
|
|
@@ -902,7 +902,7 @@ var CommetValidationError = class extends CommetError {
|
|
|
902
902
|
|
|
903
903
|
// src/version.ts
|
|
904
904
|
var API_VERSION = "2026-07-24";
|
|
905
|
-
var SDK_VERSION = "8.0.
|
|
905
|
+
var SDK_VERSION = "8.0.1";
|
|
906
906
|
|
|
907
907
|
// src/utils/telemetry.ts
|
|
908
908
|
var registeredIntegrations = /* @__PURE__ */ new Set();
|