@nuskin/ns-product-lib 2.7.0-cx24-3682.11 → 2.7.0-cx24-3682.13

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.7.0-cx24-3682.13](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.12...v2.7.0-cx24-3682.13) (2023-03-27)
2
+
3
+
4
+ ### New
5
+
6
+ * MySite product cards show blank data when users have setup AEM Base SKU's(55) in Admin #CX24-3682 ([daa2a72](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/daa2a72a71914c8730826ca2048b30614f7da83a)), closes [#CX24-3682](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3682)
7
+
8
+ # [2.7.0-cx24-3682.12](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.11...v2.7.0-cx24-3682.12) (2023-03-27)
9
+
10
+
11
+ ### New
12
+
13
+ * MySite product cards show blank data when users have setup AEM Base SKU's(55) in Admin #CX24-3682 ([5e90c00](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/5e90c0053045c6a27847264b0112f6033189e421)), closes [#CX24-3682](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3682)
14
+
1
15
  # [2.7.0-cx24-3682.11](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.10...v2.7.0-cx24-3682.11) (2023-03-27)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.7.0-cx24-3682.11",
3
+ "version": "2.7.0-cx24-3682.13",
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": {
@@ -21,7 +21,7 @@ function mapVariant(variant) {
21
21
  scanQualifiedCount: '0',
22
22
  division: '',
23
23
  isExclusive: 'false',
24
- imageURL: '',
24
+ imageURL: 'https://nuskin.com/content/dam/global/images/products/01102730-nu-skin-tri-phasic-white-essence.png',
25
25
  customerTypes: 'BrandAffiliate,Preferred,Retail',
26
26
  ingredients: '',
27
27
  availableChannels: 'subscription,arsPhone,kiosk,mobile,web',
@@ -6,7 +6,7 @@ const Product = require("./product");
6
6
  const CustomerTypes = require('./models/customerTypes');
7
7
  const ProductStatus = require("./models/productStatus");
8
8
  const { mapAvailableQuantity, mapChildSKU } = require('./equinox-helpers');
9
- // const { productNotFoundInterceptor } = require('./equinox-helpers/interceptors');
9
+ const { productNotFoundInterceptor } = require('./equinox-helpers/interceptors');
10
10
 
11
11
  const productTypes = {
12
12
  kit: 'kit'
@@ -71,7 +71,7 @@ const ProductData = {
71
71
 
72
72
  const url = `${config.API_Base_URLs}/orchestrationservices/storefront/catalogs/search/`;
73
73
  const href = `${url}?filter='\\\\''${encodeURI(filter)}'\\''`;
74
- // axios.interceptors.response.use((res) => res, productNotFoundInterceptor);
74
+ axios.interceptors.response.use((res) => res, productNotFoundInterceptor);
75
75
  const response = await axios.request({
76
76
  method: 'get',
77
77
  url: href,
@@ -84,7 +84,7 @@ const ProductData = {
84
84
  withCredentials: true
85
85
  });
86
86
 
87
- // axios.interceptors.response.eject(productNotFoundInterceptor);
87
+ axios.interceptors.response.eject(productNotFoundInterceptor);
88
88
  return response;
89
89
  },
90
90