@soltech/fluid-common 1.15.0-sc20572.1 → 1.15.0-sc25076.0

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/tracking.d.ts CHANGED
@@ -2,6 +2,12 @@ export interface TrackingEvent {
2
2
  eventId: string;
3
3
  data: object;
4
4
  }
5
+ export interface TimedTrackingEvent extends TrackingEvent {
6
+ clientOffsetMs: number;
7
+ }
8
+ export interface TrackEventBatch {
9
+ events: TimedTrackingEvent[];
10
+ }
5
11
  export interface TrackingEventData {
6
12
  id: string;
7
13
  event: string;
@@ -64,11 +64,6 @@ export declare enum Trait {
64
64
  withdrawalCurrencyIcon = "withdrawalCurrencyIcon"
65
65
  }
66
66
  export declare enum Content {
67
- abandonDepositModalContinueButton = "abandonDepositModalContinueButton",
68
- abandonDepositModalMessage = "abandonDepositModalMessage",
69
- abandonDepositModalNegativeButton = "abandonDepositModalNegativeButton",
70
- abandonDepositModalPositiveButton = "abandonDepositModalPositiveButton",
71
- abandonDepositModalTitle = "abandonDepositModalTitle",
72
67
  acceptNoBonusAndContinue = "acceptNoBonusAndContinue",
73
68
  amountPlaceholderLabel = "amountPlaceholderLabel",
74
69
  authorisationTitle = "authorisationTitle",
@@ -425,7 +420,6 @@ export declare enum ContentVirtual {
425
420
  successWithdrawalTitle = "successWithdrawalTitle",
426
421
  summaryDepositTitle = "summaryDepositTitle",
427
422
  summaryEditLabel = "summaryEditLabel",
428
- summaryWithdrawalCurrencyTitle = "summaryWithdrawalCurrencyTitle",
429
423
  summaryWithdrawalTitle = "summaryWithdrawalTitle",
430
424
  totalAmountMessage = "totalAmountMessage",
431
425
  transactionInfo = "transactionInfo",
@@ -66,11 +66,6 @@ export var Trait;
66
66
  })(Trait || (Trait = {}));
67
67
  export var Content;
68
68
  (function (Content) {
69
- Content["abandonDepositModalContinueButton"] = "abandonDepositModalContinueButton";
70
- Content["abandonDepositModalMessage"] = "abandonDepositModalMessage";
71
- Content["abandonDepositModalNegativeButton"] = "abandonDepositModalNegativeButton";
72
- Content["abandonDepositModalPositiveButton"] = "abandonDepositModalPositiveButton";
73
- Content["abandonDepositModalTitle"] = "abandonDepositModalTitle";
74
69
  Content["acceptNoBonusAndContinue"] = "acceptNoBonusAndContinue";
75
70
  Content["amountPlaceholderLabel"] = "amountPlaceholderLabel";
76
71
  Content["authorisationTitle"] = "authorisationTitle";
@@ -428,7 +423,6 @@ export var ContentVirtual;
428
423
  ContentVirtual["successWithdrawalTitle"] = "successWithdrawalTitle";
429
424
  ContentVirtual["summaryDepositTitle"] = "summaryDepositTitle";
430
425
  ContentVirtual["summaryEditLabel"] = "summaryEditLabel";
431
- ContentVirtual["summaryWithdrawalCurrencyTitle"] = "summaryWithdrawalCurrencyTitle";
432
426
  ContentVirtual["summaryWithdrawalTitle"] = "summaryWithdrawalTitle";
433
427
  ContentVirtual["totalAmountMessage"] = "totalAmountMessage";
434
428
  ContentVirtual["transactionInfo"] = "transactionInfo";
package/lib/wallet.d.ts CHANGED
@@ -58,7 +58,6 @@ export interface WalletConfig {
58
58
  contentText: Record<string, string>;
59
59
  expressFlowEnabled: boolean;
60
60
  defaultDepositAmount: number;
61
- depositAbandonModalEnabled: boolean;
62
61
  fullListOfDepositMethodsDisplayed: boolean;
63
62
  hideMinMaxEnabled: boolean;
64
63
  integration: Integration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.15.0-sc20572.1",
3
+ "version": "1.15.0-sc25076.0",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/tracking.ts CHANGED
@@ -3,6 +3,16 @@ export interface TrackingEvent {
3
3
  data: object;
4
4
  }
5
5
 
6
+ export interface TimedTrackingEvent extends TrackingEvent {
7
+ // Milliseconds between the event and the send. Outside `data` so a replayed request hashes the same.
8
+ clientOffsetMs: number;
9
+ }
10
+
11
+ export interface TrackEventBatch {
12
+ // Oldest first.
13
+ events: TimedTrackingEvent[];
14
+ }
15
+
6
16
  export interface TrackingEventData {
7
17
  id: string;
8
18
  event: string;
@@ -70,11 +70,6 @@ export enum Trait {
70
70
  }
71
71
 
72
72
  export enum Content {
73
- abandonDepositModalContinueButton = 'abandonDepositModalContinueButton',
74
- abandonDepositModalMessage = 'abandonDepositModalMessage',
75
- abandonDepositModalNegativeButton = 'abandonDepositModalNegativeButton',
76
- abandonDepositModalPositiveButton = 'abandonDepositModalPositiveButton',
77
- abandonDepositModalTitle = 'abandonDepositModalTitle',
78
73
  acceptNoBonusAndContinue = 'acceptNoBonusAndContinue',
79
74
  amountPlaceholderLabel = 'amountPlaceholderLabel',
80
75
  authorisationTitle = 'authorisationTitle',
@@ -432,7 +427,6 @@ export enum ContentVirtual {
432
427
  successWithdrawalTitle = 'successWithdrawalTitle',
433
428
  summaryDepositTitle = 'summaryDepositTitle',
434
429
  summaryEditLabel = 'summaryEditLabel',
435
- summaryWithdrawalCurrencyTitle = 'summaryWithdrawalCurrencyTitle',
436
430
  summaryWithdrawalTitle = 'summaryWithdrawalTitle',
437
431
  totalAmountMessage = 'totalAmountMessage',
438
432
  transactionInfo = 'transactionInfo',
package/src/wallet.ts CHANGED
@@ -65,7 +65,6 @@ export interface WalletConfig {
65
65
  contentText: Record<string, string>;
66
66
  expressFlowEnabled: boolean;
67
67
  defaultDepositAmount: number;
68
- depositAbandonModalEnabled: boolean;
69
68
  fullListOfDepositMethodsDisplayed: boolean;
70
69
  hideMinMaxEnabled: boolean;
71
70
  integration: Integration;