@soltech/fluid-common 0.7.11 → 0.7.12

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
@@ -46,7 +46,7 @@ export interface WalletConfig {
46
46
  aiPredictionsEnabled: boolean;
47
47
  balanceDisplayed: boolean;
48
48
  transactionToggleDisplayed: boolean;
49
- kycDepositLimit: number | null;
49
+ autofillCreditCardName: boolean;
50
50
  }
51
51
  export interface WalletConfigParams {
52
52
  contentText: Record<string, ContentType>;
@@ -95,6 +95,7 @@ export interface InputField {
95
95
  errorText: string;
96
96
  options: InputFieldOption[];
97
97
  optionsRequired: boolean;
98
+ prefillKey?: string;
98
99
  }
99
100
  export interface InputFieldOption {
100
101
  label: string;
@@ -230,11 +231,6 @@ export interface TrackingEvent {
230
231
  eventId: string;
231
232
  data: object;
232
233
  }
233
- export declare enum KycStatus {
234
- VERIFIED = "verified",
235
- UNVERIFIED = "unverified",
236
- PROCESSING = "processing"
237
- }
238
234
  export interface UserData {
239
235
  age?: number;
240
236
  dayOfMonth?: number;
@@ -244,8 +240,7 @@ export interface UserData {
244
240
  maximumDeposit?: number;
245
241
  previousDeposit?: number;
246
242
  timeOfDay?: string;
247
- lifeTimeDeposit?: number;
248
- kycStatus?: KycStatus;
243
+ userFullName?: string;
249
244
  }
250
245
  export interface AiModelQueryParams {
251
246
  country: string;
package/lib/index.js CHANGED
@@ -53,9 +53,3 @@ 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.11",
3
+ "version": "0.7.12",
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
@@ -52,7 +52,7 @@ export interface WalletConfig {
52
52
  aiPredictionsEnabled: boolean;
53
53
  balanceDisplayed: boolean;
54
54
  transactionToggleDisplayed: boolean;
55
- kycDepositLimit: number | null;
55
+ autofillCreditCardName: boolean;
56
56
  }
57
57
 
58
58
  export interface WalletConfigParams {
@@ -108,6 +108,7 @@ export interface InputField {
108
108
  errorText: string;
109
109
  options: InputFieldOption[];
110
110
  optionsRequired: boolean;
111
+ prefillKey?: string;
111
112
  }
112
113
 
113
114
  export interface InputFieldOption {
@@ -264,12 +265,6 @@ export interface TrackingEvent {
264
265
  data: object;
265
266
  }
266
267
 
267
- export enum KycStatus {
268
- VERIFIED = 'verified',
269
- UNVERIFIED = 'unverified',
270
- PROCESSING = 'processing'
271
- }
272
-
273
268
  export interface UserData {
274
269
  age?: number;
275
270
  dayOfMonth?: number;
@@ -279,8 +274,7 @@ export interface UserData {
279
274
  maximumDeposit?: number;
280
275
  previousDeposit?: number;
281
276
  timeOfDay?: string;
282
- lifeTimeDeposit?: number;
283
- kycStatus?: KycStatus;
277
+ userFullName?: string;
284
278
  }
285
279
 
286
280
  export interface AiModelQueryParams {