@cimulate/copilot-widget 1.33.3 → 1.33.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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  `@cimulate/copilot-widget` follows [Semantic Versioning](https://semver.org/). Each entry is a released `package.json` version (deployed on merge to `master`), newest first.
4
4
 
5
+ ## 1.33.4 — 2026-09-03
6
+
7
+ - Product detail cards, product carousels, and product comparisons now display promotional prices supplied in product promotion payloads. Detail and comparison blocks support `promotions` and `extendedData.productPromotions`; carousels support those fields plus the existing promotional price-breakdown bucket.
8
+
5
9
  ## 1.33.3 — 2026-09-03
6
10
 
7
11
  - Cart and order confirmation totals now show `$0.00` (or the locale equivalent) for tax and shipping when the amount is `0`, instead of the word "Free".
@@ -817,6 +817,8 @@ declare type ProductCarouselProduct = {
817
817
  discountPrice?: number;
818
818
  listPrice?: number | null;
819
819
  currencyCode?: string;
820
+ promotions?: ProductPromotion[];
821
+ extendedData?: ProductTileExtendedData;
820
822
  };
821
823
  };
822
824
 
@@ -838,6 +840,12 @@ declare type ProductComparisonResponse = {
838
840
  };
839
841
  };
840
842
 
843
+ declare interface ProductPromotion {
844
+ promotionId?: string;
845
+ promotionalPrice?: number;
846
+ calloutMsg?: string;
847
+ }
848
+
841
849
  declare interface ProductResultDetail {
842
850
  agentSessionId: string;
843
851
  kind: "search" | "detail";
@@ -857,10 +865,16 @@ declare interface ProductTileData {
857
865
  vmat?: ProductTileVariantMatrixEntry[];
858
866
  imgGroups?: ProductTileImageGroup[];
859
867
  quantity?: ProductTileQuantity;
868
+ promotions?: ProductPromotion[];
869
+ extendedData?: ProductTileExtendedData;
860
870
  expressPaymentUrl?: string;
861
871
  dfOrd?: boolean;
862
872
  }
863
873
 
874
+ declare interface ProductTileExtendedData {
875
+ productPromotions?: ProductPromotion[];
876
+ }
877
+
864
878
  declare interface ProductTileImage {
865
879
  url: string;
866
880
  }