@soltech/fluid-common 0.7.1 → 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 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,10 @@ export interface EWalletTransactionParams extends TransactionParams {
150
151
  service?: string;
151
152
  }
152
153
  export interface TransactionOptions {
153
- bonus?: {
154
- [key: string]: string;
155
- };
156
- trackingData?: object;
154
+ bonusCode?: string;
155
+ activityId?: string;
156
+ originalActivityId?: string;
157
+ userData?: UserData;
157
158
  }
158
159
  export interface TransactionResult {
159
160
  error?: ProviderTransactionError;
@@ -232,6 +233,9 @@ export interface UserData {
232
233
  age?: number;
233
234
  dayOfMonth?: number;
234
235
  dayOfWeek?: string;
236
+ depositLimit?: number;
237
+ minimumDeposit?: number;
238
+ maximumDeposit?: number;
235
239
  previousDeposit?: number;
236
240
  timeOfDay?: string;
237
241
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
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,10 @@ export interface EWalletTransactionParams extends TransactionParams {
171
172
  }
172
173
 
173
174
  export interface TransactionOptions {
174
- bonus?: {
175
- [key: string]: string
176
- };
177
- trackingData?: object
175
+ bonusCode?: string;
176
+ activityId?: string;
177
+ originalActivityId?: string;
178
+ userData?: UserData;
178
179
  }
179
180
 
180
181
  export interface TransactionResult {
@@ -266,6 +267,9 @@ export interface UserData {
266
267
  age?: number;
267
268
  dayOfMonth?: number;
268
269
  dayOfWeek?: string;
270
+ depositLimit?: number;
271
+ minimumDeposit?: number;
272
+ maximumDeposit?: number;
269
273
  previousDeposit?: number;
270
274
  timeOfDay?: string;
271
275
  }