@soltech/fluid-common 0.8.7 → 0.8.8

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
@@ -35,7 +35,7 @@ export interface WalletInitParams {
35
35
  userAgent: string;
36
36
  userData?: UserData;
37
37
  timestamp: string;
38
- transactionAttributes: Record<string, string>;
38
+ transactionAttributes?: Record<string, string>;
39
39
  }
40
40
  export interface WalletConfig {
41
41
  contentText: Record<string, string>;
@@ -44,10 +44,10 @@ export interface WalletConfig {
44
44
  logo: string;
45
45
  suggestedDepositAmounts: number[];
46
46
  theme: Record<string, string>;
47
- aiPredictionsEnabled: boolean;
48
47
  balanceDisplayed: boolean;
49
48
  transactionToggleDisplayed: boolean;
50
49
  kycDepositLimit: number | null;
50
+ autofillCreditCardName: boolean;
51
51
  }
52
52
  export interface WalletConfigParams {
53
53
  contentText: Record<string, ContentType>;
@@ -96,6 +96,7 @@ export interface InputField {
96
96
  errorText: string;
97
97
  options: InputFieldOption[];
98
98
  optionsRequired: boolean;
99
+ prefillKey?: string;
99
100
  }
100
101
  export interface InputFieldOption {
101
102
  label: string;
@@ -238,6 +239,7 @@ export declare enum KycStatus {
238
239
  PROCESSING = "processing"
239
240
  }
240
241
  export interface UserData {
242
+ fullName?: string;
241
243
  age?: number;
242
244
  dayOfMonth?: number;
243
245
  dayOfWeek?: string;
@@ -246,7 +248,7 @@ export interface UserData {
246
248
  maximumDeposit?: number;
247
249
  previousDeposit?: number;
248
250
  timeOfDay?: string;
249
- lifeTimeDeposit?: number;
251
+ lifetimeDeposit?: number;
250
252
  kycStatus?: KycStatus;
251
253
  }
252
254
  export interface AiModelQueryParams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
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
@@ -40,7 +40,7 @@ export interface WalletInitParams {
40
40
  userAgent: string;
41
41
  userData?: UserData;
42
42
  timestamp: string;
43
- transactionAttributes: Record<string, string>;
43
+ transactionAttributes?: Record<string, string>;
44
44
  }
45
45
 
46
46
  export interface WalletConfig {
@@ -50,10 +50,10 @@ export interface WalletConfig {
50
50
  logo: string;
51
51
  suggestedDepositAmounts: number[];
52
52
  theme: Record<string, string>;
53
- aiPredictionsEnabled: boolean;
54
53
  balanceDisplayed: boolean;
55
54
  transactionToggleDisplayed: boolean;
56
55
  kycDepositLimit: number | null;
56
+ autofillCreditCardName: boolean;
57
57
  }
58
58
 
59
59
  export interface WalletConfigParams {
@@ -109,6 +109,7 @@ export interface InputField {
109
109
  errorText: string;
110
110
  options: InputFieldOption[];
111
111
  optionsRequired: boolean;
112
+ prefillKey?: string;
112
113
  }
113
114
 
114
115
  export interface InputFieldOption {
@@ -273,6 +274,7 @@ export enum KycStatus {
273
274
  }
274
275
 
275
276
  export interface UserData {
277
+ fullName?: string;
276
278
  age?: number;
277
279
  dayOfMonth?: number;
278
280
  dayOfWeek?: string;
@@ -281,7 +283,7 @@ export interface UserData {
281
283
  maximumDeposit?: number;
282
284
  previousDeposit?: number;
283
285
  timeOfDay?: string;
284
- lifeTimeDeposit?: number;
286
+ lifetimeDeposit?: number;
285
287
  kycStatus?: KycStatus;
286
288
  }
287
289