@soltech/fluid-common 0.6.31 → 0.6.33

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
@@ -25,7 +25,6 @@ export interface WalletRequestBody {
25
25
  payloadOptions?: TransactionOptions;
26
26
  }
27
27
  export interface WalletInitParams {
28
- country: string;
29
28
  locale: string;
30
29
  operatorId: number;
31
30
  sessionId: string;
@@ -42,6 +41,8 @@ export interface WalletConfig {
42
41
  suggestedDepositAmounts: number[];
43
42
  theme: Record<string, string>;
44
43
  enableAiPredictions: boolean;
44
+ balanceDisplayed: boolean;
45
+ transactionToggleDisplayed: boolean;
45
46
  }
46
47
  export interface WalletConfigParams {
47
48
  contentText: Record<string, ContentType>;
@@ -211,15 +212,15 @@ export interface TrackingEvent {
211
212
  }
212
213
  export interface UserData {
213
214
  age?: number;
215
+ country?: string;
214
216
  dayOfMonth?: string;
215
217
  dayOfWeek?: string;
216
218
  previousDeposit?: number;
217
219
  timeOfDay?: string;
218
220
  }
219
221
  export interface AiModelQueryParams {
220
- country: string;
221
222
  operatorId: number;
222
- userData?: UserData;
223
+ userData: UserData;
223
224
  }
224
225
  export interface SuggestedAmountsPrediction {
225
226
  prefilled: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.31",
3
+ "version": "0.6.33",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
@@ -33,4 +33,4 @@
33
33
  "lint-staged": {
34
34
  "*.{ts}": "eslint --fix"
35
35
  }
36
- }
36
+ }
package/src/index.ts CHANGED
@@ -30,7 +30,6 @@ export interface WalletRequestBody {
30
30
  }
31
31
 
32
32
  export interface WalletInitParams {
33
- country: string;
34
33
  locale: string;
35
34
  operatorId: number;
36
35
  sessionId: string;
@@ -48,6 +47,8 @@ export interface WalletConfig {
48
47
  suggestedDepositAmounts: number[];
49
48
  theme: Record<string, string>;
50
49
  enableAiPredictions: boolean;
50
+ balanceDisplayed: boolean;
51
+ transactionToggleDisplayed: boolean;
51
52
  }
52
53
 
53
54
  export interface WalletConfigParams {
@@ -243,6 +244,7 @@ export interface TrackingEvent {
243
244
 
244
245
  export interface UserData {
245
246
  age?: number;
247
+ country?: string;
246
248
  dayOfMonth?: string;
247
249
  dayOfWeek?: string;
248
250
  previousDeposit?: number;
@@ -250,9 +252,8 @@ export interface UserData {
250
252
  }
251
253
 
252
254
  export interface AiModelQueryParams {
253
- country: string;
254
255
  operatorId: number;
255
- userData?: UserData;
256
+ userData: UserData;
256
257
  }
257
258
 
258
259
  export interface SuggestedAmountsPrediction {