@nuskin/product-components 3.19.0 → 3.19.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/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- # [3.19.0](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.18.4...v3.19.0) (2025-10-10)
1
+ ## [3.19.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.19.0...v3.19.1) (2025-11-06)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.19.0",
3
+ "version": "3.19.1",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,8 +29,8 @@
29
29
  "@nuskin/ns-core-styles": "2.12.0",
30
30
  "@nuskin/ns-icon": "2.12.1",
31
31
  "@nuskin/ns-loyalty-web": "1.5.7",
32
- "@nuskin/ns-product-lib": "2.20.0",
33
- "@nuskin/ns-shop": "7.8.0",
32
+ "@nuskin/ns-product-lib": "2.21.1",
33
+ "@nuskin/ns-shop": "7.8.2",
34
34
  "@nuskin/product-recommendation": "2.0.1",
35
35
  "axios": "1.8.3",
36
36
  "lodash": "4.17.21",
@@ -278,7 +278,8 @@ if (!NsProductDataService) {
278
278
  const productsToSaveToSession = [];
279
279
  for (const product of productData.products) {
280
280
  // do a last quick check to make sure we don't add duplicate products
281
- product.setPriceAndPvFromType(this.getPriceType(), null, {
281
+ const eventNames = product.eventName ? [product.eventName] : null;
282
+ product.setPriceAndPvFromType(this.getPriceType(), eventNames, {
282
283
  isEqPromotion: equinoxMarketConfig.active
283
284
  });
284
285
  this.products.push(product);