@soltech/fluid-common 0.10.55 → 0.10.57

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
@@ -300,16 +300,6 @@ export interface UserData {
300
300
  affiliateId?: string;
301
301
  tags?: string[];
302
302
  }
303
- export declare enum TrackingEventId {
304
- DEPOSIT_LIMIT_EXCEEDED = "deposit_limit_exceeded",
305
- TRANSACTION_ENDPOINT_ERROR = "transaction_endpoint_error",
306
- ORDERED_DEPOSIT_METHODS = "ordered_deposit_methods",
307
- SUGGESTED_AMOUNTS = "suggested_amounts",
308
- TRANSACTION_BLOCKED = "transaction_blocked",
309
- TRANSACTION_CALLBACK_RESULT = "transaction_callback_result",
310
- TRANSACTION_INITIATED = "transaction_initiated",
311
- ACTIVITY_STARTED = "activity_started"
312
- }
313
303
  export interface TrackingEventData {
314
304
  id: string;
315
305
  event: string;
@@ -324,19 +314,6 @@ export interface TrackingEventData {
324
314
  userId?: string;
325
315
  [key: string]: unknown;
326
316
  }
327
- export interface ActivityData {
328
- activityId: string;
329
- originalActivityId?: string;
330
- userId: string;
331
- sessionId: string;
332
- country: string;
333
- currency: string;
334
- operatorId: string;
335
- userAgent: string;
336
- startedAt: string;
337
- affiliateId?: string;
338
- tags?: string[];
339
- }
340
317
  export type TrackingEventDataEnvelope = {
341
318
  id: string;
342
319
  environment: 'production' | 'staging' | 'demo';
package/lib/index.js CHANGED
@@ -66,14 +66,3 @@ export var KycStatus;
66
66
  KycStatus["UNVERIFIED"] = "unverified";
67
67
  KycStatus["PROCESSING"] = "processing";
68
68
  })(KycStatus || (KycStatus = {}));
69
- export var TrackingEventId;
70
- (function (TrackingEventId) {
71
- TrackingEventId["DEPOSIT_LIMIT_EXCEEDED"] = "deposit_limit_exceeded";
72
- TrackingEventId["TRANSACTION_ENDPOINT_ERROR"] = "transaction_endpoint_error";
73
- TrackingEventId["ORDERED_DEPOSIT_METHODS"] = "ordered_deposit_methods";
74
- TrackingEventId["SUGGESTED_AMOUNTS"] = "suggested_amounts";
75
- TrackingEventId["TRANSACTION_BLOCKED"] = "transaction_blocked";
76
- TrackingEventId["TRANSACTION_CALLBACK_RESULT"] = "transaction_callback_result";
77
- TrackingEventId["TRANSACTION_INITIATED"] = "transaction_initiated";
78
- TrackingEventId["ACTIVITY_STARTED"] = "activity_started";
79
- })(TrackingEventId || (TrackingEventId = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.10.55",
3
+ "version": "0.10.57",
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
@@ -341,17 +341,6 @@ export interface UserData {
341
341
  tags?: string[];
342
342
  }
343
343
 
344
- export enum TrackingEventId {
345
- DEPOSIT_LIMIT_EXCEEDED = 'deposit_limit_exceeded',
346
- TRANSACTION_ENDPOINT_ERROR = 'transaction_endpoint_error',
347
- ORDERED_DEPOSIT_METHODS = 'ordered_deposit_methods',
348
- SUGGESTED_AMOUNTS = 'suggested_amounts',
349
- TRANSACTION_BLOCKED = 'transaction_blocked',
350
- TRANSACTION_CALLBACK_RESULT = 'transaction_callback_result',
351
- TRANSACTION_INITIATED = 'transaction_initiated',
352
- ACTIVITY_STARTED = 'activity_started'
353
- }
354
-
355
344
  export interface TrackingEventData {
356
345
  id: string;
357
346
  event: string;
@@ -368,20 +357,6 @@ export interface TrackingEventData {
368
357
  [key: string]: unknown;
369
358
  }
370
359
 
371
- export interface ActivityData {
372
- activityId: string,
373
- originalActivityId?: string,
374
- userId: string,
375
- sessionId: string,
376
- country: string,
377
- currency: string,
378
- operatorId: string,
379
- userAgent: string,
380
- startedAt: string,
381
- affiliateId?: string,
382
- tags?: string[]
383
- }
384
-
385
360
  export type TrackingEventDataEnvelope = {
386
361
  id: string;
387
362
  environment: 'production' | 'staging' | 'demo';