@revenuecat/purchases-ui-js 4.8.12 → 4.8.13
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.
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
onVisitCustomerCenterClicked?: () => void;
|
|
50
50
|
walletButtonRender?: WalletButtonRender;
|
|
51
51
|
safeAreaFallbackColor?: ColorScheme | null;
|
|
52
|
+
hideBackButtons?: boolean;
|
|
52
53
|
}
|
|
53
54
|
const {
|
|
54
55
|
paywallComponents,
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
onVisitCustomerCenterClicked,
|
|
75
76
|
walletButtonRender,
|
|
76
77
|
safeAreaFallbackColor,
|
|
78
|
+
hideBackButtons,
|
|
77
79
|
}: Props = $props();
|
|
78
80
|
</script>
|
|
79
81
|
|
|
@@ -110,6 +112,7 @@
|
|
|
110
112
|
{onReservedAttributeChanged}
|
|
111
113
|
{walletButtonRender}
|
|
112
114
|
{safeAreaFallbackColor}
|
|
115
|
+
{hideBackButtons}
|
|
113
116
|
onError={(error) => {
|
|
114
117
|
console.error("Paywall error:", error);
|
|
115
118
|
}}
|
|
@@ -35,6 +35,7 @@ interface Props {
|
|
|
35
35
|
onVisitCustomerCenterClicked?: () => void;
|
|
36
36
|
walletButtonRender?: WalletButtonRender;
|
|
37
37
|
safeAreaFallbackColor?: ColorScheme | null;
|
|
38
|
+
hideBackButtons?: boolean;
|
|
38
39
|
}
|
|
39
40
|
declare const Screen: import("svelte").Component<Props, {}, "">;
|
|
40
41
|
type Screen = ReturnType<typeof Screen>;
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
containerId?: string;
|
|
42
42
|
walletButtonRender?: WalletButtonRender;
|
|
43
43
|
safeAreaFallbackColor?: ColorScheme | null;
|
|
44
|
+
hideBackButtons?: boolean;
|
|
44
45
|
onPurchaseClicked?: (
|
|
45
46
|
packageId: string,
|
|
46
47
|
actionId: string,
|
|
@@ -88,6 +89,7 @@
|
|
|
88
89
|
containerId,
|
|
89
90
|
walletButtonRender,
|
|
90
91
|
safeAreaFallbackColor,
|
|
92
|
+
hideBackButtons,
|
|
91
93
|
onPurchaseClicked,
|
|
92
94
|
onActionTriggered,
|
|
93
95
|
onInputChanged,
|
|
@@ -336,6 +338,7 @@
|
|
|
336
338
|
{containerId}
|
|
337
339
|
{walletButtonRender}
|
|
338
340
|
{safeAreaFallbackColor}
|
|
341
|
+
{hideBackButtons}
|
|
339
342
|
{onPurchaseClicked}
|
|
340
343
|
onActionTriggered={handleActionTriggered}
|
|
341
344
|
{onInputChanged}
|
|
@@ -18,6 +18,7 @@ interface Props {
|
|
|
18
18
|
containerId?: string;
|
|
19
19
|
walletButtonRender?: WalletButtonRender;
|
|
20
20
|
safeAreaFallbackColor?: ColorScheme | null;
|
|
21
|
+
hideBackButtons?: boolean;
|
|
21
22
|
onPurchaseClicked?: (packageId: string, actionId: string) => void | Promise<void>;
|
|
22
23
|
onActionTriggered?: (actionId: string) => void;
|
|
23
24
|
onInputChanged?: (fieldId: string, value: string, actionId?: string) => void;
|