@soltech/fluid-common 0.9.11 → 0.9.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
@@ -52,12 +52,7 @@ export interface WalletConfig {
52
52
  numberCharactersHolderName: number | null;
53
53
  aiPredictionsForSuggestedAmountsEnabled: boolean;
54
54
  aiPredictionsForDepositMethodsOrderEnabled: boolean;
55
- promotionTitle: string;
56
- promotionGameTitle: string;
57
- promotionGameDescription: string;
58
- promotionCtaLinkLabel: string;
59
- promotionCtaLinkUrl: string;
60
- promotionGameThumbnail: string;
55
+ promotion: Promotion;
61
56
  }
62
57
  export interface WalletConfigParams {
63
58
  contentText: Record<string, ContentType>;
@@ -275,3 +270,11 @@ export interface UserData {
275
270
  lifetimeDeposit?: number;
276
271
  kycStatus?: KycStatus;
277
272
  }
273
+ export interface Promotion {
274
+ tag: string;
275
+ title: string;
276
+ description: string;
277
+ thumbnail: 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.11",
3
+ "version": "0.9.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
@@ -58,12 +58,7 @@ export interface WalletConfig {
58
58
  numberCharactersHolderName: number | null;
59
59
  aiPredictionsForSuggestedAmountsEnabled: boolean;
60
60
  aiPredictionsForDepositMethodsOrderEnabled: boolean;
61
- promotionTitle: string;
62
- promotionGameTitle: string;
63
- promotionGameDescription: string;
64
- promotionCtaLinkLabel: string;
65
- promotionCtaLinkUrl: string;
66
- promotionGameThumbnail: string;
61
+ promotion: Promotion;
67
62
  }
68
63
 
69
64
  export interface WalletConfigParams {
@@ -312,3 +307,12 @@ export interface UserData {
312
307
  lifetimeDeposit?: number;
313
308
  kycStatus?: KycStatus;
314
309
  }
310
+
311
+ export interface Promotion {
312
+ tag: string;
313
+ title: string;
314
+ description: string;
315
+ thumbnail: string;
316
+ ctaLinkLabel: string;
317
+ ctaLinkUrl: string;
318
+ }