@soltech/fluid-common 1.5.8 → 1.5.10
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/lib/index.d.ts +3 -17
- package/package.json +1 -1
- package/src/index.ts +3 -19
- package/.claude/settings.local.json +0 -7
package/lib/index.d.ts
CHANGED
|
@@ -39,11 +39,8 @@ export interface WalletInitParams {
|
|
|
39
39
|
operatorId: number;
|
|
40
40
|
sessionId: string;
|
|
41
41
|
userId: string | number;
|
|
42
|
-
/** @deprecated Use browserInfo.userAgent instead */
|
|
43
42
|
userAgent: string;
|
|
44
|
-
/** @deprecated Use browserInfo.viewport instead */
|
|
45
43
|
viewport: Viewport;
|
|
46
|
-
browserInfo?: BrowserInfo;
|
|
47
44
|
userData?: UserData;
|
|
48
45
|
timestamp: string;
|
|
49
46
|
buildDate: string;
|
|
@@ -54,19 +51,6 @@ export interface Viewport {
|
|
|
54
51
|
innerWidth: number;
|
|
55
52
|
innerHeight: number;
|
|
56
53
|
}
|
|
57
|
-
export interface ScreenDimensions {
|
|
58
|
-
height: number;
|
|
59
|
-
width: number;
|
|
60
|
-
}
|
|
61
|
-
export interface BrowserInfo {
|
|
62
|
-
userAgent: string;
|
|
63
|
-
acceptHeader: string;
|
|
64
|
-
javaEnabled: boolean;
|
|
65
|
-
colorDepth: number;
|
|
66
|
-
screen: ScreenDimensions;
|
|
67
|
-
viewport: Viewport;
|
|
68
|
-
timezoneOffset: number;
|
|
69
|
-
}
|
|
70
54
|
export interface WalletConfig {
|
|
71
55
|
autofillCreditCardName: boolean;
|
|
72
56
|
balanceDisplayed: boolean;
|
|
@@ -74,6 +58,7 @@ export interface WalletConfig {
|
|
|
74
58
|
contactSupportEnabled: boolean;
|
|
75
59
|
contactSupportLink: string;
|
|
76
60
|
contentText: Record<string, string>;
|
|
61
|
+
expressFlowEnabled: boolean;
|
|
77
62
|
defaultDepositAmount: number;
|
|
78
63
|
fullListOfDepositMethodsDisplayed: boolean;
|
|
79
64
|
integration: Integration;
|
|
@@ -152,7 +137,6 @@ export interface EncryptionSettings {
|
|
|
152
137
|
encryptionType: EncryptionType;
|
|
153
138
|
expiryDateEncryptionMode: ExpiryDateEncryptionMode;
|
|
154
139
|
encryptCardholderName: boolean;
|
|
155
|
-
encryptFullYear: boolean;
|
|
156
140
|
}
|
|
157
141
|
export declare enum EncryptionType {
|
|
158
142
|
NO_ENCRYPTION = "NO_ENCRYPTION",
|
|
@@ -188,6 +172,8 @@ export interface InputField {
|
|
|
188
172
|
options: InputFieldOption[];
|
|
189
173
|
prefillKey?: string;
|
|
190
174
|
removePrefixPlusSign?: boolean;
|
|
175
|
+
relatesTo?: string;
|
|
176
|
+
showForValues?: string[];
|
|
191
177
|
}
|
|
192
178
|
export interface InputFieldOption {
|
|
193
179
|
label: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -45,11 +45,8 @@ export interface WalletInitParams {
|
|
|
45
45
|
operatorId: number;
|
|
46
46
|
sessionId: string;
|
|
47
47
|
userId: string | number;
|
|
48
|
-
/** @deprecated Use browserInfo.userAgent instead */
|
|
49
48
|
userAgent: string;
|
|
50
|
-
/** @deprecated Use browserInfo.viewport instead */
|
|
51
49
|
viewport: Viewport;
|
|
52
|
-
browserInfo?: BrowserInfo;
|
|
53
50
|
userData?: UserData;
|
|
54
51
|
timestamp: string;
|
|
55
52
|
buildDate: string;
|
|
@@ -62,21 +59,6 @@ export interface Viewport {
|
|
|
62
59
|
innerHeight: number;
|
|
63
60
|
}
|
|
64
61
|
|
|
65
|
-
export interface ScreenDimensions {
|
|
66
|
-
height: number;
|
|
67
|
-
width: number;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface BrowserInfo {
|
|
71
|
-
userAgent: string;
|
|
72
|
-
acceptHeader: string;
|
|
73
|
-
javaEnabled: boolean;
|
|
74
|
-
colorDepth: number;
|
|
75
|
-
screen: ScreenDimensions;
|
|
76
|
-
viewport: Viewport;
|
|
77
|
-
timezoneOffset: number;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
62
|
export interface WalletConfig {
|
|
81
63
|
autofillCreditCardName: boolean;
|
|
82
64
|
balanceDisplayed: boolean;
|
|
@@ -84,6 +66,7 @@ export interface WalletConfig {
|
|
|
84
66
|
contactSupportEnabled: boolean;
|
|
85
67
|
contactSupportLink: string;
|
|
86
68
|
contentText: Record<string, string>;
|
|
69
|
+
expressFlowEnabled: boolean;
|
|
87
70
|
defaultDepositAmount: number;
|
|
88
71
|
fullListOfDepositMethodsDisplayed: boolean;
|
|
89
72
|
integration: Integration;
|
|
@@ -170,7 +153,6 @@ export interface EncryptionSettings {
|
|
|
170
153
|
encryptionType: EncryptionType;
|
|
171
154
|
expiryDateEncryptionMode: ExpiryDateEncryptionMode;
|
|
172
155
|
encryptCardholderName: boolean;
|
|
173
|
-
encryptFullYear: boolean;
|
|
174
156
|
}
|
|
175
157
|
|
|
176
158
|
export enum EncryptionType {
|
|
@@ -211,6 +193,8 @@ export interface InputField {
|
|
|
211
193
|
options: InputFieldOption[];
|
|
212
194
|
prefillKey?: string;
|
|
213
195
|
removePrefixPlusSign?: boolean;
|
|
196
|
+
relatesTo?: string;
|
|
197
|
+
showForValues?: string[];
|
|
214
198
|
}
|
|
215
199
|
|
|
216
200
|
export interface InputFieldOption {
|