@soltech/fluid-common 1.6.2 → 1.6.4

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
@@ -380,14 +380,16 @@ export interface Banner {
380
380
  ctaLabel: string;
381
381
  iconUrl: string;
382
382
  }
383
- export interface CampaignChatIcon {
384
- step: string;
385
- url: string;
383
+ export interface CampaignChatIcons {
384
+ amount?: string;
385
+ bonus?: string;
386
+ paymentMethod?: string;
387
+ paymentDetails?: string;
388
+ securePayment?: string;
386
389
  }
387
390
  export interface Campaign {
388
391
  enableChatIcons: boolean;
389
392
  enableSuccessAnimation: boolean;
390
393
  chatIconSource: 'fluid' | 'theme';
391
- chatIcons: CampaignChatIcon[];
392
- glyph: string;
394
+ chatIcons: CampaignChatIcons;
393
395
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
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
@@ -431,15 +431,17 @@ export interface Banner {
431
431
  iconUrl: string;
432
432
  }
433
433
 
434
- export interface CampaignChatIcon {
435
- step: string;
436
- url: string;
434
+ export interface CampaignChatIcons {
435
+ amount?: string;
436
+ bonus?: string;
437
+ paymentMethod?: string;
438
+ paymentDetails?: string;
439
+ securePayment?: string;
437
440
  }
438
441
 
439
442
  export interface Campaign {
440
443
  enableChatIcons: boolean;
441
444
  enableSuccessAnimation: boolean;
442
445
  chatIconSource: 'fluid' | 'theme';
443
- chatIcons: CampaignChatIcon[];
444
- glyph: string;
446
+ chatIcons: CampaignChatIcons;
445
447
  }