@revenuecat/purchases-js 1.56.0 → 1.58.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.
@@ -3,6 +3,7 @@ import { CustomVariables } from '@revenuecat/purchases-ui-js';
3
3
  import { CustomVariableValue } from '@revenuecat/purchases-ui-js';
4
4
  import { PackageInfo } from '@revenuecat/purchases-ui-js';
5
5
  import { PaywallData } from '@revenuecat/purchases-ui-js';
6
+ import { PaywallPackage } from '@revenuecat/purchases-ui-js';
6
7
  import { UIConfig } from '@revenuecat/purchases-ui-js';
7
8
  import { WalletButtonRender } from '@revenuecat/purchases-ui-js';
8
9
  import { WalletButtonTheme } from '@revenuecat/purchases-ui-js';
@@ -1507,6 +1508,11 @@ export declare interface PurchaseResult {
1507
1508
  * The store transaction associated with the purchase.
1508
1509
  */
1509
1510
  readonly storeTransaction: StoreTransaction;
1511
+ /**
1512
+ * The email used for this purchase (checkout form or wallet).
1513
+ * Undefined when the SDK did not collect one (e.g. some hosted/Paddle paths).
1514
+ */
1515
+ readonly customerEmail?: string;
1510
1516
  /* Excluded from this release type: attributionMetadata */
1511
1517
  /* Excluded from this release type: productChange */
1512
1518
  }
@@ -1553,6 +1559,7 @@ export declare class Purchases {
1553
1559
  static setPlatformInfo(platformInfo: PlatformInfo): void;
1554
1560
  /* Excluded from this release type: buildVariablesPerPackage */
1555
1561
  /* Excluded from this release type: buildInfoPerPackage */
1562
+ /* Excluded from this release type: buildPaywallContextPackages */
1556
1563
  /* Excluded from this release type: getPlatformInfo */
1557
1564
  /**
1558
1565
  * Get the singleton instance of Purchases. It's preferred to use the instance