@revenuecat/purchases-js 1.45.0 → 1.46.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 +7 -0
- package/dist/Purchases.es.js +4882 -4848
- package/dist/Purchases.umd.js +87 -87
- package/package.json +2 -2
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ declare enum BackendErrorCode {
|
|
|
54
54
|
*/
|
|
55
55
|
export declare interface BrandingAppearance {
|
|
56
56
|
color_buttons_primary: string;
|
|
57
|
+
color_buttons_primary_text?: string | null;
|
|
57
58
|
color_accent: string;
|
|
58
59
|
color_error: string;
|
|
59
60
|
color_product_info_bg: string;
|
|
@@ -329,6 +330,11 @@ export declare interface FlagsConfig {
|
|
|
329
330
|
* @defaultValue true
|
|
330
331
|
*/
|
|
331
332
|
collectAnalyticsEvents?: boolean;
|
|
333
|
+
/**
|
|
334
|
+
* If set to true, the checkout back button will be hidden.
|
|
335
|
+
* @defaultValue false
|
|
336
|
+
*/
|
|
337
|
+
hideBackButton?: boolean;
|
|
332
338
|
/* Excluded from this release type: rcSource */
|
|
333
339
|
/* Excluded from this release type: forceEnableWalletMethods */
|
|
334
340
|
/* Excluded from this release type: workflowsEndpointEnabled */
|
|
@@ -1561,6 +1567,7 @@ export declare class Purchases {
|
|
|
1561
1567
|
*/
|
|
1562
1568
|
private resolveHTMLTarget;
|
|
1563
1569
|
private createCheckoutOnCloseHandler;
|
|
1570
|
+
private shouldHideCheckoutBackButton;
|
|
1564
1571
|
private createCheckoutOnFinishedHandler;
|
|
1565
1572
|
private createCheckoutOnErrorHandler;
|
|
1566
1573
|
/* Excluded from this release type: _isConfiguredWithSimulatedStore */
|