@soltech/fluid-common 1.2.10 → 1.3.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/index.d.ts CHANGED
@@ -66,6 +66,7 @@ export interface WalletConfig {
66
66
  userResponseRequired: boolean;
67
67
  threshold: number;
68
68
  };
69
+ withdrawalInFiatCurrency: boolean;
69
70
  }
70
71
  export interface Promotion {
71
72
  title: string;
@@ -352,3 +353,9 @@ export type TrackingEventDataEnvelope = {
352
353
  environment: 'production' | 'staging' | 'demo';
353
354
  body: TrackingEventData;
354
355
  };
356
+ export interface Banner {
357
+ title: string;
358
+ body: string;
359
+ ctaLabel: string;
360
+ iconUrl: string;
361
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.2.10",
3
+ "version": "1.3.0",
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
@@ -72,7 +72,8 @@ export interface WalletConfig {
72
72
  pendingWithdrawalsReminder: {
73
73
  userResponseRequired: boolean;
74
74
  threshold: number;
75
- }
75
+ },
76
+ withdrawalInFiatCurrency: boolean;
76
77
  }
77
78
 
78
79
  export interface Promotion {
@@ -398,3 +399,10 @@ export type TrackingEventDataEnvelope = {
398
399
  environment: 'production' | 'staging' | 'demo';
399
400
  body: TrackingEventData;
400
401
  };
402
+
403
+ export interface Banner {
404
+ title: string;
405
+ body: string;
406
+ ctaLabel: string;
407
+ iconUrl: string;
408
+ }