@soltech/fluid-common 0.10.32 → 0.10.34
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/.nvmrc +1 -1
- package/lib/index.d.ts +6 -1
- package/package.json +1 -1
- package/src/index.ts +7 -1
package/.nvmrc
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
v22.12.0
|
|
2
2
|
|
package/lib/index.d.ts
CHANGED
|
@@ -33,10 +33,15 @@ export interface WalletInitParams {
|
|
|
33
33
|
sessionId: string;
|
|
34
34
|
userId: string | number;
|
|
35
35
|
userAgent: string;
|
|
36
|
+
viewport: Viewport;
|
|
36
37
|
userData?: UserData;
|
|
37
38
|
timestamp: string;
|
|
38
39
|
transactionAttributes?: Record<string, string>;
|
|
39
40
|
}
|
|
41
|
+
export interface Viewport {
|
|
42
|
+
innerWidth: number;
|
|
43
|
+
innerHeight: number;
|
|
44
|
+
}
|
|
40
45
|
export interface WalletConfig {
|
|
41
46
|
autofillCreditCardName: boolean;
|
|
42
47
|
balanceDisplayed: boolean;
|
|
@@ -48,7 +53,6 @@ export interface WalletConfig {
|
|
|
48
53
|
kycDepositLimit: number | null;
|
|
49
54
|
logo: string;
|
|
50
55
|
numberCharactersHolderName: number | null;
|
|
51
|
-
removePrefixPlusSign: boolean;
|
|
52
56
|
successScreen: {
|
|
53
57
|
promotion: Promotion | null;
|
|
54
58
|
};
|
|
@@ -121,6 +125,7 @@ export interface InputField {
|
|
|
121
125
|
errorText: string;
|
|
122
126
|
options: InputFieldOption[];
|
|
123
127
|
prefillKey?: string;
|
|
128
|
+
removePrefixPlusSign?: boolean;
|
|
124
129
|
}
|
|
125
130
|
export interface InputFieldOption {
|
|
126
131
|
label: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -38,11 +38,17 @@ export interface WalletInitParams {
|
|
|
38
38
|
sessionId: string;
|
|
39
39
|
userId: string | number;
|
|
40
40
|
userAgent: string;
|
|
41
|
+
viewport: Viewport;
|
|
41
42
|
userData?: UserData;
|
|
42
43
|
timestamp: string;
|
|
43
44
|
transactionAttributes?: Record<string, string>;
|
|
44
45
|
}
|
|
45
46
|
|
|
47
|
+
export interface Viewport {
|
|
48
|
+
innerWidth: number;
|
|
49
|
+
innerHeight: number;
|
|
50
|
+
}
|
|
51
|
+
|
|
46
52
|
export interface WalletConfig {
|
|
47
53
|
autofillCreditCardName: boolean;
|
|
48
54
|
balanceDisplayed: boolean;
|
|
@@ -54,7 +60,6 @@ export interface WalletConfig {
|
|
|
54
60
|
kycDepositLimit: number | null;
|
|
55
61
|
logo: string;
|
|
56
62
|
numberCharactersHolderName: number | null;
|
|
57
|
-
removePrefixPlusSign: boolean;
|
|
58
63
|
successScreen: {
|
|
59
64
|
promotion: Promotion | null;
|
|
60
65
|
};
|
|
@@ -137,6 +142,7 @@ export interface InputField {
|
|
|
137
142
|
errorText: string;
|
|
138
143
|
options: InputFieldOption[];
|
|
139
144
|
prefillKey?: string;
|
|
145
|
+
removePrefixPlusSign?: boolean;
|
|
140
146
|
}
|
|
141
147
|
|
|
142
148
|
export interface InputFieldOption {
|