@soltech/fluid-common 0.6.30 → 0.6.32

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>;
@@ -170,11 +171,10 @@ export declare enum TransactionState {
170
171
  WAITING_INPUT = "WAITING_INPUT"
171
172
  }
172
173
  export interface ProviderTransactionError {
173
- action: Action;
174
174
  code: string;
175
- providerCode: string;
176
- text: string;
177
175
  textTitle: string;
176
+ text: string;
177
+ action: Action;
178
178
  }
179
179
  export declare enum Action {
180
180
  RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
@@ -218,9 +218,8 @@ export interface UserData {
218
218
  timeOfDay?: string;
219
219
  }
220
220
  export interface AiModelQueryParams {
221
- country: string;
222
221
  operatorId: number;
223
- userData?: UserData;
222
+ userData: UserData;
224
223
  }
225
224
  export interface SuggestedAmountsPrediction {
226
225
  prefilled: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.30",
3
+ "version": "0.6.32",
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 {
@@ -195,11 +196,10 @@ export enum TransactionState {
195
196
  }
196
197
 
197
198
  export interface ProviderTransactionError {
198
- action: Action;
199
199
  code: string;
200
- providerCode: string;
201
- text: string;
202
200
  textTitle: string;
201
+ text: string;
202
+ action: Action;
203
203
  }
204
204
 
205
205
  export enum Action {
@@ -251,9 +251,8 @@ export interface UserData {
251
251
  }
252
252
 
253
253
  export interface AiModelQueryParams {
254
- country: string;
255
254
  operatorId: number;
256
- userData?: UserData;
255
+ userData: UserData;
257
256
  }
258
257
 
259
258
  export interface SuggestedAmountsPrediction {