@nuskin/ns-product-lib 2.10.0-cx24-4696.1 → 2.10.0-cx24-4696.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [2.10.0-cx24-4696.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.10.0-cx24-4696.2...v2.10.0-cx24-4696.3) (2023-07-28)
2
+
3
+
4
+ ### New
5
+
6
+ * Support for bundles ([98a77ca](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/98a77ca4cc7792fe7cfdf85097fc36b65f32a5c3))
7
+
8
+ # [2.10.0-cx24-4696.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.10.0-cx24-4696.1...v2.10.0-cx24-4696.2) (2023-07-27)
9
+
10
+
11
+ ### New
12
+
13
+ * Support for bundles ([dce4424](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/dce44249c9edb5ed264ff012ab9ffa6422fe1dca))
14
+
1
15
  # [2.10.0-cx24-4696.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.9.1...v2.10.0-cx24-4696.1) (2023-07-18)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.10.0-cx24-4696.1",
3
+ "version": "2.10.0-cx24-4696.3",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -336,6 +336,7 @@ const ProductData = {
336
336
  }
337
337
 
338
338
  const defaultProductPrice = product.totalValue ? product.totalValue.originalPrice : 0;
339
+
339
340
  const computedPrice = product.totalValue && product.totalValue.priceAfterDiscount
340
341
  ? product.totalValue.priceAfterDiscount
341
342
  : 0;