@clerk/types 4.56.0 → 4.56.1-canary.v20250430091122

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
@@ -349,6 +349,11 @@ interface __experimental_CommerceCheckoutTotals {
349
349
  grandTotal: __experimental_CommerceMoney;
350
350
  taxTotal: __experimental_CommerceMoney;
351
351
  totalDueNow: __experimental_CommerceMoney;
352
+ proration?: {
353
+ days: number;
354
+ ratePerDay: __experimental_CommerceMoney;
355
+ totalProration: __experimental_CommerceMoney;
356
+ };
352
357
  }
353
358
  interface __experimental_CommerceInvoiceTotals extends Omit<__experimental_CommerceCheckoutTotals, 'totalDueNow'> {
354
359
  }
@@ -3050,6 +3055,11 @@ interface __experimental_CommerceCheckoutTotalsJSON {
3050
3055
  subtotal: __experimental_CommerceMoneyJSON;
3051
3056
  tax_total: __experimental_CommerceMoneyJSON;
3052
3057
  total_due_now: __experimental_CommerceMoneyJSON;
3058
+ proration?: {
3059
+ days: number;
3060
+ rate_per_day: __experimental_CommerceMoneyJSON;
3061
+ total_proration: __experimental_CommerceMoneyJSON;
3062
+ };
3053
3063
  }
3054
3064
  interface __experimental_CommerceInvoiceTotalsJSON extends Omit<__experimental_CommerceCheckoutTotalsJSON, 'total_due_now'> {
3055
3065
  }
@@ -3288,6 +3298,7 @@ type ElementsConfig = {
3288
3298
  lineItemsDescriptionSuffix: WithOptions;
3289
3299
  lineItemsDescriptionPrefix: WithOptions;
3290
3300
  lineItemsCopyButton: WithOptions;
3301
+ lineItemsDowngradeNotice: WithOptions;
3291
3302
  logoBox: WithOptions;
3292
3303
  logoImage: WithOptions;
3293
3304
  header: WithOptions;
package/dist/index.d.ts CHANGED
@@ -349,6 +349,11 @@ interface __experimental_CommerceCheckoutTotals {
349
349
  grandTotal: __experimental_CommerceMoney;
350
350
  taxTotal: __experimental_CommerceMoney;
351
351
  totalDueNow: __experimental_CommerceMoney;
352
+ proration?: {
353
+ days: number;
354
+ ratePerDay: __experimental_CommerceMoney;
355
+ totalProration: __experimental_CommerceMoney;
356
+ };
352
357
  }
353
358
  interface __experimental_CommerceInvoiceTotals extends Omit<__experimental_CommerceCheckoutTotals, 'totalDueNow'> {
354
359
  }
@@ -3050,6 +3055,11 @@ interface __experimental_CommerceCheckoutTotalsJSON {
3050
3055
  subtotal: __experimental_CommerceMoneyJSON;
3051
3056
  tax_total: __experimental_CommerceMoneyJSON;
3052
3057
  total_due_now: __experimental_CommerceMoneyJSON;
3058
+ proration?: {
3059
+ days: number;
3060
+ rate_per_day: __experimental_CommerceMoneyJSON;
3061
+ total_proration: __experimental_CommerceMoneyJSON;
3062
+ };
3053
3063
  }
3054
3064
  interface __experimental_CommerceInvoiceTotalsJSON extends Omit<__experimental_CommerceCheckoutTotalsJSON, 'total_due_now'> {
3055
3065
  }
@@ -3288,6 +3298,7 @@ type ElementsConfig = {
3288
3298
  lineItemsDescriptionSuffix: WithOptions;
3289
3299
  lineItemsDescriptionPrefix: WithOptions;
3290
3300
  lineItemsCopyButton: WithOptions;
3301
+ lineItemsDowngradeNotice: WithOptions;
3291
3302
  logoBox: WithOptions;
3292
3303
  logoImage: WithOptions;
3293
3304
  header: WithOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.56.0",
3
+ "version": "4.56.1-canary.v20250430091122",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",