@nuskin/ns-product-lib 2.14.2-cx24-5934.1 → 2.14.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.14.2-cx24-5934.1",
3
+ "version": "2.14.2",
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": {
@@ -69,7 +69,6 @@ async function getProduct(id, market, locale, config) {
69
69
  }
70
70
 
71
71
  } catch (e) {
72
- console.log(`ERROR : `, e)
73
72
  console.log(`Unable to fetch product detail for SKU ${id}`);
74
73
  }
75
74
 
@@ -139,7 +138,6 @@ function mapProduct(product, market, locale, config) {
139
138
 
140
139
  //serves as parent
141
140
  const defaultVariant = !kitBundleProducts ? product.variants.find(v => v.sku === config.sku) : variants[0];
142
- // const defaultVariant = variants[0];
143
141
  const productImages = mapProductImages(defaultVariant);
144
142
 
145
143
  const {