@soltech/fluid-common 0.9.14 → 0.9.15

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
@@ -54,12 +54,24 @@ export interface WalletConfig {
54
54
  aiPredictionsForDepositMethodsOrderEnabled: boolean;
55
55
  promotion: Promotion;
56
56
  }
57
+ export interface Promotion {
58
+ countries: string[];
59
+ title: string;
60
+ description: string;
61
+ tag: string;
62
+ ctaLinkLabel: string;
63
+ ctaLinkUrl: string;
64
+ thumbnail: string;
65
+ }
57
66
  export interface WalletConfigParams {
58
67
  contentText: Record<string, ContentType>;
59
68
  theme: Record<string, TraitType>;
60
69
  }
61
70
  export interface DepositAmountsSettings {
71
+ id?: string;
72
+ aiCreationDate?: string;
62
73
  defaultDepositAmount: number;
74
+ generatedBy?: string;
63
75
  suggestedDepositAmounts: number[];
64
76
  }
65
77
  export interface AllPaymentMethods {
@@ -270,12 +282,3 @@ export interface UserData {
270
282
  lifetimeDeposit?: number;
271
283
  kycStatus?: KycStatus;
272
284
  }
273
- export interface Promotion {
274
- promotionSuccessScreen: boolean;
275
- tag: string;
276
- title: string;
277
- description: string;
278
- thumbnail: string;
279
- ctaLinkLabel: string;
280
- ctaLinkUrl: string;
281
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.9.14",
3
+ "version": "0.9.15",
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
@@ -61,13 +61,26 @@ export interface WalletConfig {
61
61
  promotion: Promotion;
62
62
  }
63
63
 
64
+ export interface Promotion {
65
+ countries: string[];
66
+ title: string;
67
+ description: string;
68
+ tag: string;
69
+ ctaLinkLabel: string;
70
+ ctaLinkUrl: string;
71
+ thumbnail: string;
72
+ }
73
+
64
74
  export interface WalletConfigParams {
65
75
  contentText: Record<string, ContentType>,
66
76
  theme: Record<string, TraitType>
67
77
  }
68
78
 
69
79
  export interface DepositAmountsSettings {
80
+ id?: string;
81
+ aiCreationDate?: string;
70
82
  defaultDepositAmount: number;
83
+ generatedBy?: string;
71
84
  suggestedDepositAmounts: number[];
72
85
  }
73
86
 
@@ -307,13 +320,3 @@ export interface UserData {
307
320
  lifetimeDeposit?: number;
308
321
  kycStatus?: KycStatus;
309
322
  }
310
-
311
- export interface Promotion {
312
- promotionSuccessScreen: boolean;
313
- tag: string;
314
- title: string;
315
- description: string;
316
- thumbnail: string;
317
- ctaLinkLabel: string;
318
- ctaLinkUrl: string;
319
- }