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

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.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)
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 ([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)
7
+
1
8
  # [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
9
 
3
10
 
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.12",
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": {
@@ -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