@soltech/fluid-common 0.7.14 → 0.7.16

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
@@ -43,8 +43,10 @@ export interface WalletConfig {
43
43
  logo: string;
44
44
  suggestedDepositAmounts: number[];
45
45
  theme: Record<string, string>;
46
+ aiPredictionsEnabled: boolean;
46
47
  balanceDisplayed: boolean;
47
48
  transactionToggleDisplayed: boolean;
49
+ kycDepositLimit: number | null;
48
50
  }
49
51
  export interface WalletConfigParams {
50
52
  contentText: Record<string, ContentType>;
@@ -229,6 +231,11 @@ export interface TrackingEvent {
229
231
  eventId: string;
230
232
  data: object;
231
233
  }
234
+ export declare enum KycStatus {
235
+ VERIFIED = "verified",
236
+ UNVERIFIED = "unverified",
237
+ PROCESSING = "processing"
238
+ }
232
239
  export interface UserData {
233
240
  age?: number;
234
241
  dayOfMonth?: number;
@@ -238,6 +245,8 @@ export interface UserData {
238
245
  maximumDeposit?: number;
239
246
  previousDeposit?: number;
240
247
  timeOfDay?: string;
248
+ lifeTimeDeposit?: number;
249
+ kycStatus?: KycStatus;
241
250
  }
242
251
  export interface AiModelQueryParams {
243
252
  country: string;
package/lib/index.js CHANGED
@@ -53,3 +53,9 @@ export var WithdrawalState;
53
53
  WithdrawalState["REQUESTED"] = "REQUESTED";
54
54
  WithdrawalState["PROCESSING"] = "PROCESSING";
55
55
  })(WithdrawalState || (WithdrawalState = {}));
56
+ export var KycStatus;
57
+ (function (KycStatus) {
58
+ KycStatus["VERIFIED"] = "verified";
59
+ KycStatus["UNVERIFIED"] = "unverified";
60
+ KycStatus["PROCESSING"] = "processing";
61
+ })(KycStatus || (KycStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.7.14",
3
+ "version": "0.7.16",
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
@@ -49,8 +49,10 @@ export interface WalletConfig {
49
49
  logo: string;
50
50
  suggestedDepositAmounts: number[];
51
51
  theme: Record<string, string>;
52
+ aiPredictionsEnabled: boolean;
52
53
  balanceDisplayed: boolean;
53
54
  transactionToggleDisplayed: boolean;
55
+ kycDepositLimit: number | null;
54
56
  }
55
57
 
56
58
  export interface WalletConfigParams {
@@ -263,6 +265,12 @@ export interface TrackingEvent {
263
265
  data: object;
264
266
  }
265
267
 
268
+ export enum KycStatus {
269
+ VERIFIED = 'verified',
270
+ UNVERIFIED = 'unverified',
271
+ PROCESSING = 'processing'
272
+ }
273
+
266
274
  export interface UserData {
267
275
  age?: number;
268
276
  dayOfMonth?: number;
@@ -272,6 +280,8 @@ export interface UserData {
272
280
  maximumDeposit?: number;
273
281
  previousDeposit?: number;
274
282
  timeOfDay?: string;
283
+ lifeTimeDeposit?: number;
284
+ kycStatus?: KycStatus;
275
285
  }
276
286
 
277
287
  export interface AiModelQueryParams {