@soltech/fluid-common 1.2.11 → 1.3.1

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