@revenuecat/purchases-js 1.60.1 → 1.61.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.
@@ -45,7 +45,8 @@ declare enum BackendErrorCode {
45
45
  BackendGatewaySetupErrorInvalidTaxOriginAddress = 7899,
46
46
  BackendGatewaySetupErrorMissingRequiredPermission = 7900,
47
47
  BackendGatewaySetupErrorSandboxModeOnly = 7901,
48
- BackendInvalidPaddleAPIKey = 7967
48
+ BackendInvalidPaddleAPIKey = 7967,
49
+ BackendQuickPurchaseUnavailable = 8172
49
50
  }
50
51
 
51
52
  /**
@@ -963,6 +964,8 @@ export declare interface PlatformInfo {
963
964
  readonly version: string;
964
965
  }
965
966
 
967
+ /* Excluded from this release type: PrepareQuickPurchaseParams */
968
+
966
969
  /**
967
970
  * Contains data about the context in which an offering was presented.
968
971
  * @public
@@ -1544,6 +1547,7 @@ export declare interface PurchaseParams {
1544
1547
  */
1545
1548
  termsAndConditionsUrl?: string;
1546
1549
  /* Excluded from this release type: productChangeInfo */
1550
+ /* Excluded from this release type: tryWithApplePay */
1547
1551
  }
1548
1552
 
1549
1553
  /* Excluded from this release type: PurchaseResponseAttributionMetadata */
@@ -1599,6 +1603,8 @@ export declare class Purchases {
1599
1603
  /* Excluded from this release type: _platformInfo */
1600
1604
  /* Excluded from this release type: inMemoryCache */
1601
1605
  /* Excluded from this release type: cachedCurrentOffering */
1606
+ /* Excluded from this release type: stripeBillingQuickPurchaseState */
1607
+ /* Excluded from this release type: stripeBillingQuickPurchasePreparation */
1602
1608
  /* Excluded from this release type: instance */
1603
1609
  /**
1604
1610
  * Set the log level. Logs of the given level and below will be printed
@@ -1708,6 +1714,9 @@ export declare class Purchases {
1708
1714
  * @see {@link Purchases.getCustomerInfo}
1709
1715
  */
1710
1716
  isEntitledTo(entitlementIdentifier: string): Promise<boolean>;
1717
+ /* Excluded from this release type: prepareForQuickPurchases */
1718
+ /* Excluded from this release type: prepareStripeBillingQuickPurchase */
1719
+ /* Excluded from this release type: resolveStripeBillingQuickPurchaseContext */
1711
1720
  /**
1712
1721
  * Method to perform a purchase for a given package. You can obtain the
1713
1722
  * package from {@link Purchases.getOfferings}. This method will present the purchase
@@ -1746,6 +1755,8 @@ export declare class Purchases {
1746
1755
  * @throws {@link PurchasesError} if there is an error while performing the purchase. If the {@link PurchasesError.errorCode} is {@link ErrorCode.UserCancelledError}, the user cancelled the purchase.
1747
1756
  */
1748
1757
  purchase(params: PurchaseParams): Promise<PurchaseResult>;
1758
+ /* Excluded from this release type: tryPreparedStripeBillingQuickPurchase */
1759
+ /* Excluded from this release type: purchaseAfterLoadingResources */
1749
1760
  private performStripePurchase;
1750
1761
  private performWebBillingPurchase;
1751
1762
  private performPaddlePurchase;
@@ -1984,6 +1995,8 @@ export declare class Purchases {
1984
1995
  readonly backendErrorCode?: number;
1985
1996
  }
1986
1997
 
1998
+ /* Excluded from this release type: QuickPurchasePreparationResult */
1999
+
1987
2000
  /**
1988
2001
  * This object gives you access to the purchase redemption data when
1989
2002
  * the purchase can be redeemed to a mobile user, like in the case of anonymous users.