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

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [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
+
3
+
4
+ ### New
5
+
6
+ * MySite product cards show blank data when users have setup AEM Base SKU's(55) in Admin #CX24-3682 ([140f1f0](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/140f1f06c14b940851481ab8d4111728e760caad)), closes [#CX24-3682](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3682)
7
+ * MySite product cards show blank data when users have setup AEM Base SKU's(55) in Admin #CX24-3682 ([a9c1b38](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/a9c1b380ecb1e98a496be4628f6e4e4f32ff2a98)), closes [#CX24-3682](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3682)
8
+
1
9
  # [2.7.0-cx24-3682.10](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.9...v2.7.0-cx24-3682.10) (2023-03-27)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.7.0-cx24-3682.10",
3
+ "version": "2.7.0-cx24-3682.11",
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