@nuskin/ns-product-lib 2.7.0-cx24-3682.5 → 2.7.0-cx24-3682.6
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.6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.5...v2.7.0-cx24-3682.6) (2023-03-25)
|
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 ([13f2b76](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/13f2b76990dd2e4f4226367332212dcc7bd19977)), 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.5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.4...v2.7.0-cx24-3682.5) (2023-03-25)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
@@ -4,9 +4,9 @@ const httpStatus = { notFound: 404 };
|
|
4
4
|
/**
|
5
5
|
* productNotFound returns a model "ProductNotFound" when the status code is Not Found.
|
6
6
|
* Note: Do not polute this file. Create a new file for new interceptor.
|
7
|
-
*
|
7
|
+
*
|
8
8
|
* @param {import('axios').AxiosError} error
|
9
|
-
* @returns {import('../').EquinoxResponse}
|
9
|
+
* @returns {import('axios').AxiosResponse<import('../').EquinoxResponse>}
|
10
10
|
*/
|
11
11
|
function productNotFound(error) {
|
12
12
|
const segments = 'catalogs/search';
|
@@ -19,8 +19,10 @@ function productNotFound(error) {
|
|
19
19
|
|
20
20
|
if (sku !== null) {
|
21
21
|
return {
|
22
|
-
|
23
|
-
|
22
|
+
data: {
|
23
|
+
product: {
|
24
|
+
sku
|
25
|
+
}
|
24
26
|
}
|
25
27
|
}
|
26
28
|
}
|