@soltech/fluid-common 0.6.27 → 0.6.29

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,7 @@ export interface WalletConfig {
42
41
  suggestedDepositAmounts: number[];
43
42
  theme: Record<string, string>;
44
43
  enableAiPredictions: boolean;
44
+ balanceDisplayed: boolean;
45
45
  }
46
46
  export interface WalletConfigParams {
47
47
  contentText: Record<string, ContentType>;
@@ -217,9 +217,8 @@ export interface UserData {
217
217
  timeOfDay?: string;
218
218
  }
219
219
  export interface AiModelQueryParams {
220
- country: string;
221
220
  operatorId: number;
222
- userData?: UserData;
221
+ userData: UserData;
223
222
  }
224
223
  export interface SuggestedAmountsPrediction {
225
224
  prefilled: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.27",
3
+ "version": "0.6.29",
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
@@ -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,7 @@ export interface WalletConfig {
48
47
  suggestedDepositAmounts: number[];
49
48
  theme: Record<string, string>;
50
49
  enableAiPredictions: boolean;
50
+ balanceDisplayed: boolean;
51
51
  }
52
52
 
53
53
  export interface WalletConfigParams {
@@ -250,9 +250,8 @@ export interface UserData {
250
250
  }
251
251
 
252
252
  export interface AiModelQueryParams {
253
- country: string;
254
253
  operatorId: number;
255
- userData?: UserData;
254
+ userData: UserData;
256
255
  }
257
256
 
258
257
  export interface SuggestedAmountsPrediction {