@revenuecat/purchases-js 1.57.0 → 1.59.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.
@@ -566,7 +566,12 @@ declare enum LocalizationKeys {
566
566
  UpgradeConfirmPageOnFile = "upgrade_confirm_page.on_file",
567
567
  UpgradeConfirmPageEmail = "upgrade_confirm_page.email",
568
568
  UpgradeConfirmPagePaymentMethod = "upgrade_confirm_page.payment_method",
569
- UpgradeConfirmPageBillingAddress = "upgrade_confirm_page.billing_address"
569
+ UpgradeConfirmPageBillingAddress = "upgrade_confirm_page.billing_address",
570
+ PaddleCheckoutReturnTo = "paddle_checkout.return_to",
571
+ PaddleOrderSummaryBilledFrequency = "paddle_order_summary.billed_frequency",
572
+ PaddleOrderSummaryIntroThenRecurring = "paddle_order_summary.intro_then_recurring",
573
+ PaddleOrderSummaryIncTax = "paddle_order_summary.inc_tax",
574
+ PaddleOrderSummaryDueOn = "paddle_order_summary.due_on"
570
575
  }
571
576
 
572
577
  /**
@@ -1508,6 +1513,11 @@ export declare interface PurchaseResult {
1508
1513
  * The store transaction associated with the purchase.
1509
1514
  */
1510
1515
  readonly storeTransaction: StoreTransaction;
1516
+ /**
1517
+ * The email used for this purchase (checkout form or wallet).
1518
+ * Undefined when the SDK did not collect one (e.g. some hosted/Paddle paths).
1519
+ */
1520
+ readonly customerEmail?: string;
1511
1521
  /* Excluded from this release type: attributionMetadata */
1512
1522
  /* Excluded from this release type: productChange */
1513
1523
  }