@soltech/fluid-common 1.15.0-sc25076.0 → 1.16.0-sc24805.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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "enabledMcpjsonServers": [
3
+ "shortcut",
4
+ "playwright"
5
+ ],
6
+ "enableAllProjectMcpServers": true
7
+ }
package/lib/tracking.d.ts CHANGED
@@ -2,12 +2,6 @@ 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
- }
11
5
  export interface TrackingEventData {
12
6
  id: string;
13
7
  event: string;
@@ -64,6 +64,11 @@ 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",
67
72
  acceptNoBonusAndContinue = "acceptNoBonusAndContinue",
68
73
  amountPlaceholderLabel = "amountPlaceholderLabel",
69
74
  authorisationTitle = "authorisationTitle",
@@ -66,6 +66,11 @@ 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";
69
74
  Content["acceptNoBonusAndContinue"] = "acceptNoBonusAndContinue";
70
75
  Content["amountPlaceholderLabel"] = "amountPlaceholderLabel";
71
76
  Content["authorisationTitle"] = "authorisationTitle";
package/lib/wallet.d.ts CHANGED
@@ -32,6 +32,7 @@ export interface WalletInitParams {
32
32
  ipAddress: string;
33
33
  locale: string;
34
34
  currency: string;
35
+ email?: string;
35
36
  operatorId: number;
36
37
  sessionId: string;
37
38
  userId: string | number;
@@ -58,6 +59,7 @@ export interface WalletConfig {
58
59
  contentText: Record<string, string>;
59
60
  expressFlowEnabled: boolean;
60
61
  defaultDepositAmount: number;
62
+ depositAbandonModalEnabled: boolean;
61
63
  fullListOfDepositMethodsDisplayed: boolean;
62
64
  hideMinMaxEnabled: boolean;
63
65
  integration: Integration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.15.0-sc25076.0",
3
+ "version": "1.16.0-sc24805.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,16 +3,6 @@ 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
-
16
6
  export interface TrackingEventData {
17
7
  id: string;
18
8
  event: string;
@@ -70,6 +70,11 @@ 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',
73
78
  acceptNoBonusAndContinue = 'acceptNoBonusAndContinue',
74
79
  amountPlaceholderLabel = 'amountPlaceholderLabel',
75
80
  authorisationTitle = 'authorisationTitle',
package/src/wallet.ts CHANGED
@@ -38,6 +38,7 @@ export interface WalletInitParams {
38
38
  ipAddress: string;
39
39
  locale: string;
40
40
  currency: string,
41
+ email?: string;
41
42
  operatorId: number;
42
43
  sessionId: string;
43
44
  userId: string | number;
@@ -65,6 +66,7 @@ export interface WalletConfig {
65
66
  contentText: Record<string, string>;
66
67
  expressFlowEnabled: boolean;
67
68
  defaultDepositAmount: number;
69
+ depositAbandonModalEnabled: boolean;
68
70
  fullListOfDepositMethodsDisplayed: boolean;
69
71
  hideMinMaxEnabled: boolean;
70
72
  integration: Integration;