@soltech/fluid-common 0.9.10 → 0.9.12

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
@@ -52,16 +52,14 @@ export interface WalletConfig {
52
52
  numberCharactersHolderName: number | null;
53
53
  aiPredictionsForSuggestedAmountsEnabled: boolean;
54
54
  aiPredictionsForDepositMethodsOrderEnabled: boolean;
55
+ promotion: Promotion;
55
56
  }
56
57
  export interface WalletConfigParams {
57
58
  contentText: Record<string, ContentType>;
58
59
  theme: Record<string, TraitType>;
59
60
  }
60
61
  export interface DepositAmountsSettings {
61
- id?: string;
62
- aiCreationDate?: string;
63
62
  defaultDepositAmount: number;
64
- generatedBy?: string;
65
63
  suggestedDepositAmounts: number[];
66
64
  }
67
65
  export interface AllPaymentMethods {
@@ -272,3 +270,11 @@ export interface UserData {
272
270
  lifetimeDeposit?: number;
273
271
  kycStatus?: KycStatus;
274
272
  }
273
+ export interface Promotion {
274
+ title: string;
275
+ gameTitle: string;
276
+ gameDescription: string;
277
+ gameThumbnail: string;
278
+ ctaLinkLabel: string;
279
+ ctaLinkUrl: string;
280
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.9.10",
3
+ "version": "0.9.12",
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
@@ -58,6 +58,7 @@ export interface WalletConfig {
58
58
  numberCharactersHolderName: number | null;
59
59
  aiPredictionsForSuggestedAmountsEnabled: boolean;
60
60
  aiPredictionsForDepositMethodsOrderEnabled: boolean;
61
+ promotion: Promotion;
61
62
  }
62
63
 
63
64
  export interface WalletConfigParams {
@@ -66,10 +67,7 @@ export interface WalletConfigParams {
66
67
  }
67
68
 
68
69
  export interface DepositAmountsSettings {
69
- id?: string;
70
- aiCreationDate?: string;
71
70
  defaultDepositAmount: number;
72
- generatedBy?: string;
73
71
  suggestedDepositAmounts: number[];
74
72
  }
75
73
 
@@ -309,3 +307,12 @@ export interface UserData {
309
307
  lifetimeDeposit?: number;
310
308
  kycStatus?: KycStatus;
311
309
  }
310
+
311
+ export interface Promotion {
312
+ title: string;
313
+ gameTitle: string;
314
+ gameDescription: string;
315
+ gameThumbnail: string;
316
+ ctaLinkLabel: string;
317
+ ctaLinkUrl: string;
318
+ }