@soltech/fluid-common 0.6.61 → 0.7.0
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 +4 -5
- package/package.json +1 -1
- package/src/index.ts +4 -5
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;
|
|
@@ -150,10 +151,11 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
150
151
|
service?: string;
|
|
151
152
|
}
|
|
152
153
|
export interface TransactionOptions {
|
|
153
|
-
|
|
154
|
+
bonus?: {
|
|
155
|
+
[key: string]: string;
|
|
156
|
+
};
|
|
154
157
|
activityId?: string;
|
|
155
158
|
originalActivityId?: string;
|
|
156
|
-
userData?: UserData;
|
|
157
159
|
}
|
|
158
160
|
export interface TransactionResult {
|
|
159
161
|
error?: ProviderTransactionError;
|
|
@@ -232,9 +234,6 @@ export interface UserData {
|
|
|
232
234
|
age?: number;
|
|
233
235
|
dayOfMonth?: number;
|
|
234
236
|
dayOfWeek?: string;
|
|
235
|
-
depositLimit?: number;
|
|
236
|
-
minimumDeposit?: number;
|
|
237
|
-
maximumDeposit?: number;
|
|
238
237
|
previousDeposit?: number;
|
|
239
238
|
timeOfDay?: string;
|
|
240
239
|
}
|
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;
|
|
@@ -171,10 +172,11 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
export interface TransactionOptions {
|
|
174
|
-
|
|
175
|
+
bonus?: {
|
|
176
|
+
[key: string]: string
|
|
177
|
+
};
|
|
175
178
|
activityId?: string;
|
|
176
179
|
originalActivityId?: string;
|
|
177
|
-
userData?: UserData;
|
|
178
180
|
}
|
|
179
181
|
|
|
180
182
|
export interface TransactionResult {
|
|
@@ -266,9 +268,6 @@ export interface UserData {
|
|
|
266
268
|
age?: number;
|
|
267
269
|
dayOfMonth?: number;
|
|
268
270
|
dayOfWeek?: string;
|
|
269
|
-
depositLimit?: number;
|
|
270
|
-
minimumDeposit?: number;
|
|
271
|
-
maximumDeposit?: number;
|
|
272
271
|
previousDeposit?: number;
|
|
273
272
|
timeOfDay?: string;
|
|
274
273
|
}
|