@revenuecat/purchases-js 1.55.0 → 1.57.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 +16 -1
- package/dist/Purchases.es.js +9373 -8984
- package/dist/Purchases.umd.js +100 -100
- package/package.json +2 -2
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -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';
|
|
@@ -975,6 +976,10 @@ export declare interface PresentExpressPurchaseButtonParams {
|
|
|
975
976
|
* The email of the user. If undefined, RevenueCat will ask the customer for their email.
|
|
976
977
|
*/
|
|
977
978
|
customerEmail?: string;
|
|
979
|
+
/**
|
|
980
|
+
* The RevenueCat public identifier for an Apple external purchase token.
|
|
981
|
+
*/
|
|
982
|
+
externalPurchaseTokenId?: string;
|
|
978
983
|
/**
|
|
979
984
|
* The locale to use for the purchase flow. If not specified, English will be used
|
|
980
985
|
*/
|
|
@@ -1032,6 +1037,10 @@ export declare interface PresentPaywallParams {
|
|
|
1032
1037
|
* If passed the checkout flow will not ask for it to the customer.
|
|
1033
1038
|
*/
|
|
1034
1039
|
readonly customerEmail?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* The RevenueCat public identifier for an Apple external purchase token.
|
|
1042
|
+
*/
|
|
1043
|
+
readonly externalPurchaseTokenId?: string;
|
|
1035
1044
|
/**
|
|
1036
1045
|
* The purchase metadata to be passed to the backend when a purchase is started
|
|
1037
1046
|
* from the paywall.
|
|
@@ -1408,6 +1417,10 @@ export declare interface PurchaseParams {
|
|
|
1408
1417
|
* The email of the user. If undefined, RevenueCat will ask the customer for their email.
|
|
1409
1418
|
*/
|
|
1410
1419
|
customerEmail?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* The RevenueCat public identifier for an Apple external purchase token.
|
|
1422
|
+
*/
|
|
1423
|
+
externalPurchaseTokenId?: string;
|
|
1411
1424
|
/* Excluded from this release type: workflowPurchaseContext */
|
|
1412
1425
|
/* Excluded from this release type: attributionMetadata */
|
|
1413
1426
|
/* Excluded from this release type: paywallId */
|
|
@@ -1541,6 +1554,7 @@ export declare class Purchases {
|
|
|
1541
1554
|
static setPlatformInfo(platformInfo: PlatformInfo): void;
|
|
1542
1555
|
/* Excluded from this release type: buildVariablesPerPackage */
|
|
1543
1556
|
/* Excluded from this release type: buildInfoPerPackage */
|
|
1557
|
+
/* Excluded from this release type: buildPaywallContextPackages */
|
|
1544
1558
|
/* Excluded from this release type: getPlatformInfo */
|
|
1545
1559
|
/**
|
|
1546
1560
|
* Get the singleton instance of Purchases. It's preferred to use the instance
|
|
@@ -1724,7 +1738,8 @@ export declare class Purchases {
|
|
|
1724
1738
|
/**
|
|
1725
1739
|
* Resolves {@link PurchaseParams.productChangeInfo} into the product-change
|
|
1726
1740
|
* context passed to the checkout UI, or undefined when the purchase should
|
|
1727
|
-
* proceed as a normal purchase (no info, no token, or
|
|
1741
|
+
* proceed as a normal purchase (no info, no token, or an API key whose
|
|
1742
|
+
* gateway doesn't support product change, e.g. Paddle).
|
|
1728
1743
|
*/
|
|
1729
1744
|
private resolveProductChange;
|
|
1730
1745
|
/**
|