@soltech/fluid-common 0.7.11 → 0.7.13

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,6 @@ export interface WalletConfig {
46
46
  aiPredictionsEnabled: boolean;
47
47
  balanceDisplayed: boolean;
48
48
  transactionToggleDisplayed: boolean;
49
- kycDepositLimit: number | null;
50
49
  }
51
50
  export interface WalletConfigParams {
52
51
  contentText: Record<string, ContentType>;
@@ -156,6 +155,7 @@ export interface TransactionOptions {
156
155
  activityId?: string;
157
156
  originalActivityId?: string;
158
157
  userData?: UserData;
158
+ trackingData?: object;
159
159
  }
160
160
  export interface TransactionResult {
161
161
  error?: ProviderTransactionError;
@@ -230,11 +230,6 @@ export interface TrackingEvent {
230
230
  eventId: string;
231
231
  data: object;
232
232
  }
233
- export declare enum KycStatus {
234
- VERIFIED = "verified",
235
- UNVERIFIED = "unverified",
236
- PROCESSING = "processing"
237
- }
238
233
  export interface UserData {
239
234
  age?: number;
240
235
  dayOfMonth?: number;
@@ -244,8 +239,6 @@ export interface UserData {
244
239
  maximumDeposit?: number;
245
240
  previousDeposit?: number;
246
241
  timeOfDay?: string;
247
- lifeTimeDeposit?: number;
248
- kycStatus?: KycStatus;
249
242
  }
250
243
  export interface AiModelQueryParams {
251
244
  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.13",
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,6 @@ export interface WalletConfig {
52
52
  aiPredictionsEnabled: boolean;
53
53
  balanceDisplayed: boolean;
54
54
  transactionToggleDisplayed: boolean;
55
- kycDepositLimit: number | null;
56
55
  }
57
56
 
58
57
  export interface WalletConfigParams {
@@ -177,6 +176,7 @@ export interface TransactionOptions {
177
176
  activityId?: string;
178
177
  originalActivityId?: string;
179
178
  userData?: UserData;
179
+ trackingData?: object;
180
180
  }
181
181
 
182
182
  export interface TransactionResult {
@@ -264,12 +264,6 @@ export interface TrackingEvent {
264
264
  data: object;
265
265
  }
266
266
 
267
- export enum KycStatus {
268
- VERIFIED = 'verified',
269
- UNVERIFIED = 'unverified',
270
- PROCESSING = 'processing'
271
- }
272
-
273
267
  export interface UserData {
274
268
  age?: number;
275
269
  dayOfMonth?: number;
@@ -279,8 +273,6 @@ export interface UserData {
279
273
  maximumDeposit?: number;
280
274
  previousDeposit?: number;
281
275
  timeOfDay?: string;
282
- lifeTimeDeposit?: number;
283
- kycStatus?: KycStatus;
284
276
  }
285
277
 
286
278
  export interface AiModelQueryParams {