@soltech/fluid-common 0.7.2 → 0.7.3
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 +7 -4
- package/package.json +1 -1
- package/src/index.ts +7 -4
package/lib/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface WalletInitParams {
|
|
|
28
28
|
country: string;
|
|
29
29
|
ipAddress: string;
|
|
30
30
|
locale: string;
|
|
31
|
+
currency: string;
|
|
31
32
|
operatorId: number;
|
|
32
33
|
sessionId: string;
|
|
33
34
|
userId: string | number;
|
|
@@ -42,7 +43,7 @@ export interface WalletConfig {
|
|
|
42
43
|
logo: string;
|
|
43
44
|
suggestedDepositAmounts: number[];
|
|
44
45
|
theme: Record<string, string>;
|
|
45
|
-
|
|
46
|
+
aiPredictionsEnabled: boolean;
|
|
46
47
|
balanceDisplayed: boolean;
|
|
47
48
|
transactionToggleDisplayed: boolean;
|
|
48
49
|
}
|
|
@@ -150,11 +151,10 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
150
151
|
service?: string;
|
|
151
152
|
}
|
|
152
153
|
export interface TransactionOptions {
|
|
153
|
-
|
|
154
|
-
[key: string]: string;
|
|
155
|
-
};
|
|
154
|
+
bonusCode?: string;
|
|
156
155
|
activityId?: string;
|
|
157
156
|
originalActivityId?: string;
|
|
157
|
+
userData?: UserData;
|
|
158
158
|
}
|
|
159
159
|
export interface TransactionResult {
|
|
160
160
|
error?: ProviderTransactionError;
|
|
@@ -233,6 +233,9 @@ export interface UserData {
|
|
|
233
233
|
age?: number;
|
|
234
234
|
dayOfMonth?: number;
|
|
235
235
|
dayOfWeek?: string;
|
|
236
|
+
depositLimit?: number;
|
|
237
|
+
minimumDeposit?: number;
|
|
238
|
+
maximumDeposit?: number;
|
|
236
239
|
previousDeposit?: number;
|
|
237
240
|
timeOfDay?: string;
|
|
238
241
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -33,6 +33,7 @@ export interface WalletInitParams {
|
|
|
33
33
|
country: string;
|
|
34
34
|
ipAddress: string;
|
|
35
35
|
locale: string;
|
|
36
|
+
currency: string,
|
|
36
37
|
operatorId: number;
|
|
37
38
|
sessionId: string;
|
|
38
39
|
userId: string | number;
|
|
@@ -48,7 +49,7 @@ export interface WalletConfig {
|
|
|
48
49
|
logo: string;
|
|
49
50
|
suggestedDepositAmounts: number[];
|
|
50
51
|
theme: Record<string, string>;
|
|
51
|
-
|
|
52
|
+
aiPredictionsEnabled: boolean;
|
|
52
53
|
balanceDisplayed: boolean;
|
|
53
54
|
transactionToggleDisplayed: boolean;
|
|
54
55
|
}
|
|
@@ -171,11 +172,10 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
export interface TransactionOptions {
|
|
174
|
-
|
|
175
|
-
[key: string]: string
|
|
176
|
-
};
|
|
175
|
+
bonusCode?: string;
|
|
177
176
|
activityId?: string;
|
|
178
177
|
originalActivityId?: string;
|
|
178
|
+
userData?: UserData;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
export interface TransactionResult {
|
|
@@ -267,6 +267,9 @@ export interface UserData {
|
|
|
267
267
|
age?: number;
|
|
268
268
|
dayOfMonth?: number;
|
|
269
269
|
dayOfWeek?: string;
|
|
270
|
+
depositLimit?: number;
|
|
271
|
+
minimumDeposit?: number;
|
|
272
|
+
maximumDeposit?: number;
|
|
270
273
|
previousDeposit?: number;
|
|
271
274
|
timeOfDay?: string;
|
|
272
275
|
}
|