@nuskin/ns-product-lib 2.6.0 → 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,10 @@
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
+
1
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)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.6.0",
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