@soltech/fluid-common 0.6.16 → 0.6.18

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
@@ -1,5 +1,6 @@
1
1
  export declare enum Integration {
2
2
  LEFT = "LEFT",
3
+ CENTER = "CENTER",
3
4
  RIGHT = "RIGHT",
4
5
  INLINE = "INLINE"
5
6
  }
@@ -28,7 +29,6 @@ export interface WalletInitParams {
28
29
  sessionId: string;
29
30
  userId: string | number;
30
31
  userAgent: string;
31
- userData?: UserData;
32
32
  }
33
33
  export interface WalletConfig {
34
34
  contentText: Record<string, string>;
@@ -203,15 +203,3 @@ export interface TrackingEvent {
203
203
  eventId: string;
204
204
  data: object;
205
205
  }
206
- export interface UserData {
207
- age?: number;
208
- country?: string;
209
- dayOfMonth?: string;
210
- dayOfWeek?: string;
211
- previousDeposit?: number;
212
- timeOfDay?: string;
213
- }
214
- export interface AiModelQueryParams {
215
- operatorId: number;
216
- userData: UserData;
217
- }
package/lib/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export var Integration;
2
2
  (function (Integration) {
3
3
  Integration["LEFT"] = "LEFT";
4
+ Integration["CENTER"] = "CENTER";
4
5
  Integration["RIGHT"] = "RIGHT";
5
6
  Integration["INLINE"] = "INLINE";
6
7
  })(Integration || (Integration = {}));
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.16",
3
+ "version": "0.6.18",
4
4
  "type": "module",
5
- "description": "Fluid frontend, API and AI common interfaces & enums",
5
+ "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
7
7
  "types:": "lib/index.d.ts",
8
8
  "scripts": {
@@ -33,4 +33,4 @@
33
33
  "lint-staged": {
34
34
  "*.{ts}": "eslint --fix"
35
35
  }
36
- }
36
+ }
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export enum Integration {
2
2
  LEFT = 'LEFT',
3
+ CENTER = 'CENTER',
3
4
  RIGHT = 'RIGHT',
4
5
  INLINE = 'INLINE'
5
6
  }
@@ -33,7 +34,6 @@ export interface WalletInitParams {
33
34
  sessionId: string;
34
35
  userId: string | number;
35
36
  userAgent: string;
36
- userData?: UserData;
37
37
  }
38
38
 
39
39
  export interface WalletConfig {
@@ -234,18 +234,3 @@ export interface TrackingEvent {
234
234
  eventId: string;
235
235
  data: object;
236
236
  }
237
-
238
- export interface UserData {
239
- age?: number;
240
- country?: string;
241
- dayOfMonth?: string;
242
- dayOfWeek?: string;
243
- previousDeposit?: number;
244
- timeOfDay?: string;
245
- }
246
-
247
- export interface AiModelQueryParams {
248
- operatorId: number;
249
- userData: UserData;
250
- }
251
-