@nuskin/ns-product-lib 2.6.0-cx24-3464.16 → 2.6.1-cx15-6971.1

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.6.1-cx15-6971.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.0...v2.6.1-cx15-6971.1) (2023-03-15)
2
+
3
+
4
+ ### Fix
5
+
6
+ * hard coding something for testing (#CX15-6917) ([92292a6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/92292a6d261fe56a9b50c618484cefb94c99011c)), closes [#CX15-6917](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX15-6917)
7
+
8
+ # [2.6.0](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.2...v2.6.0) (2023-03-13)
9
+
10
+
11
+ ### Update
12
+
13
+ * get child skus to be used for add-to-cart #CX24-3464 ([9f678a9](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/9f678a952ff264c079e9e1213360f5bd1cf45b6f)), closes [#CX24-3464](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3464)
14
+
1
15
  # [2.6.0-cx24-3464.16](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.0-cx24-3464.15...v2.6.0-cx24-3464.16) (2023-03-12)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.6.0-cx24-3464.16",
3
+ "version": "2.6.1-cx15-6971.1",
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": {
@@ -351,7 +351,7 @@ const ProductData = {
351
351
 
352
352
  for (const productData of productDataResponse) {
353
353
  let product = (productData.type && productData.type === "kit") ? productData : productData.sku[count];
354
- let imageURL = product.properties.imageURL;
354
+ let imageURL = product.properties.imageURL || ' https://media.nuskin.com/m/17a7785258e602fd/webimage-01999660_Leadership_Preview_us-a.png';
355
355
  const regex = /\d+\.\d+/
356
356
  let thumbnailImage = ''
357
357