@revenuecat/purchases-ui-js 4.8.14 → 4.8.15
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { ColorScheme } from "../../types/colors";
|
|
6
6
|
import type { InitialInputSelections } from "../../stores/inputValidation";
|
|
7
7
|
import type { OnComponentInteraction } from "../../types/paywall-component-interaction";
|
|
8
|
-
import type { VariableDictionary } from "../../types/variables";
|
|
8
|
+
import type { PackageInfo, VariableDictionary } from "../../types/variables";
|
|
9
9
|
import type { WalletButtonRender } from "../../types/wallet";
|
|
10
10
|
import type { UIConfig } from "../../types/ui-config";
|
|
11
11
|
import type { ReservedAttribute } from "../../types/components/input-text";
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
selectedLocale?: string;
|
|
37
37
|
globalVariables?: VariableDictionary;
|
|
38
38
|
variablesPerPackage?: Record<string, VariableDictionary>;
|
|
39
|
+
/** Trial/intro/promo flags per package; required for intro_offer overrides. */
|
|
40
|
+
infoPerPackage?: Record<string, PackageInfo>;
|
|
39
41
|
maxContentWidth?: string;
|
|
40
42
|
initialInputSelections?: InitialInputSelections;
|
|
41
43
|
containerId?: string;
|
|
@@ -84,6 +86,7 @@
|
|
|
84
86
|
selectedLocale,
|
|
85
87
|
globalVariables,
|
|
86
88
|
variablesPerPackage,
|
|
89
|
+
infoPerPackage,
|
|
87
90
|
maxContentWidth,
|
|
88
91
|
initialInputSelections,
|
|
89
92
|
containerId,
|
|
@@ -333,6 +336,7 @@
|
|
|
333
336
|
{selectedLocale}
|
|
334
337
|
{globalVariables}
|
|
335
338
|
{variablesPerPackage}
|
|
339
|
+
{infoPerPackage}
|
|
336
340
|
{maxContentWidth}
|
|
337
341
|
{initialInputSelections}
|
|
338
342
|
{containerId}
|
|
@@ -2,7 +2,7 @@ import type { CompleteWorkflowNavigateArgs } from "../../types/components/button
|
|
|
2
2
|
import type { ColorScheme } from "../../types/colors";
|
|
3
3
|
import type { InitialInputSelections } from "../../stores/inputValidation";
|
|
4
4
|
import type { OnComponentInteraction } from "../../types/paywall-component-interaction";
|
|
5
|
-
import type { VariableDictionary } from "../../types/variables";
|
|
5
|
+
import type { PackageInfo, VariableDictionary } from "../../types/variables";
|
|
6
6
|
import type { WalletButtonRender } from "../../types/wallet";
|
|
7
7
|
import type { UIConfig } from "../../types/ui-config";
|
|
8
8
|
import type { ReservedAttribute } from "../../types/components/input-text";
|
|
@@ -13,6 +13,8 @@ interface Props {
|
|
|
13
13
|
selectedLocale?: string;
|
|
14
14
|
globalVariables?: VariableDictionary;
|
|
15
15
|
variablesPerPackage?: Record<string, VariableDictionary>;
|
|
16
|
+
/** Trial/intro/promo flags per package; required for intro_offer overrides. */
|
|
17
|
+
infoPerPackage?: Record<string, PackageInfo>;
|
|
16
18
|
maxContentWidth?: string;
|
|
17
19
|
initialInputSelections?: InitialInputSelections;
|
|
18
20
|
containerId?: string;
|