@soltech/fluid-common 0.6.7 → 0.6.9

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/.nvmrc ADDED
@@ -0,0 +1,2 @@
1
+ v20.11.0
2
+
package/lib/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export interface WalletInitParams {
27
27
  operatorId: number;
28
28
  sessionId: string;
29
29
  userId: string | number;
30
+ userAgent: string;
30
31
  }
31
32
  export interface WalletConfig {
32
33
  contentText: Record<string, string>;
@@ -85,7 +86,6 @@ export interface InputField {
85
86
  export interface InputFieldOption {
86
87
  label: string;
87
88
  code: string;
88
- logo?: PaymentMethodLogo;
89
89
  }
90
90
  export interface RecentMethod extends PaymentMethod {
91
91
  accountId: string;
@@ -202,12 +202,3 @@ export interface TrackingEvent {
202
202
  eventId: string;
203
203
  data: object;
204
204
  }
205
- export interface AiModelQueryParams {
206
- age?: number;
207
- country?: string;
208
- dayOfMonth?: string;
209
- dayOfWeek?: string;
210
- operatorId: number;
211
- previousDeposit?: number;
212
- timeOfDay?: string;
213
- }
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.7",
3
+ "version": "0.6.9",
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": {
9
+ "dev": "tsc --watch",
9
10
  "build": "tsc",
10
11
  "pub": "npm run build && npm publish && git push",
11
12
  "lint": "npx eslint .",
package/src/index.ts CHANGED
@@ -32,6 +32,7 @@ export interface WalletInitParams {
32
32
  operatorId: number;
33
33
  sessionId: string;
34
34
  userId: string | number;
35
+ userAgent: string;
35
36
  }
36
37
 
37
38
  export interface WalletConfig {
@@ -99,7 +100,6 @@ export interface InputField {
99
100
  export interface InputFieldOption {
100
101
  label: string;
101
102
  code: string;
102
- logo?: PaymentMethodLogo;
103
103
  }
104
104
 
105
105
  export interface RecentMethod extends PaymentMethod {
@@ -233,14 +233,3 @@ export interface TrackingEvent {
233
233
  eventId: string;
234
234
  data: object;
235
235
  }
236
-
237
- export interface AiModelQueryParams {
238
- age?: number;
239
- country?: string;
240
- dayOfMonth?: string;
241
- dayOfWeek?: string;
242
- operatorId: number;
243
- previousDeposit?: number;
244
- timeOfDay?: string;
245
- }
246
-