@revenuecat/purchases-js 1.55.0 → 1.56.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.
- package/dist/Purchases.es.d.ts +14 -1
- package/dist/Purchases.es.js +6844 -6672
- package/dist/Purchases.umd.js +69 -69
- package/package.json +1 -1
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -975,6 +975,10 @@ export declare interface PresentExpressPurchaseButtonParams {
|
|
|
975
975
|
* The email of the user. If undefined, RevenueCat will ask the customer for their email.
|
|
976
976
|
*/
|
|
977
977
|
customerEmail?: string;
|
|
978
|
+
/**
|
|
979
|
+
* The RevenueCat public identifier for an Apple external purchase token.
|
|
980
|
+
*/
|
|
981
|
+
externalPurchaseTokenId?: string;
|
|
978
982
|
/**
|
|
979
983
|
* The locale to use for the purchase flow. If not specified, English will be used
|
|
980
984
|
*/
|
|
@@ -1032,6 +1036,10 @@ export declare interface PresentPaywallParams {
|
|
|
1032
1036
|
* If passed the checkout flow will not ask for it to the customer.
|
|
1033
1037
|
*/
|
|
1034
1038
|
readonly customerEmail?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* The RevenueCat public identifier for an Apple external purchase token.
|
|
1041
|
+
*/
|
|
1042
|
+
readonly externalPurchaseTokenId?: string;
|
|
1035
1043
|
/**
|
|
1036
1044
|
* The purchase metadata to be passed to the backend when a purchase is started
|
|
1037
1045
|
* from the paywall.
|
|
@@ -1408,6 +1416,10 @@ export declare interface PurchaseParams {
|
|
|
1408
1416
|
* The email of the user. If undefined, RevenueCat will ask the customer for their email.
|
|
1409
1417
|
*/
|
|
1410
1418
|
customerEmail?: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* The RevenueCat public identifier for an Apple external purchase token.
|
|
1421
|
+
*/
|
|
1422
|
+
externalPurchaseTokenId?: string;
|
|
1411
1423
|
/* Excluded from this release type: workflowPurchaseContext */
|
|
1412
1424
|
/* Excluded from this release type: attributionMetadata */
|
|
1413
1425
|
/* Excluded from this release type: paywallId */
|
|
@@ -1724,7 +1736,8 @@ export declare class Purchases {
|
|
|
1724
1736
|
/**
|
|
1725
1737
|
* Resolves {@link PurchaseParams.productChangeInfo} into the product-change
|
|
1726
1738
|
* context passed to the checkout UI, or undefined when the purchase should
|
|
1727
|
-
* proceed as a normal purchase (no info, no token, or
|
|
1739
|
+
* proceed as a normal purchase (no info, no token, or an API key whose
|
|
1740
|
+
* gateway doesn't support product change, e.g. Paddle).
|
|
1728
1741
|
*/
|
|
1729
1742
|
private resolveProductChange;
|
|
1730
1743
|
/**
|