@nuskin/ns-product-lib 2.9.0-mysitedomainfix.1 → 2.9.0-mysitedomainfix.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/package.json +1 -1
- package/src/productData.js +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
# [2.9.0-mysitedomainfix.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.9.0-mysitedomainfix.1...v2.9.0-mysitedomainfix.2) (2023-06-21)
|
2
|
+
|
3
|
+
|
4
|
+
### Fix
|
5
|
+
|
6
|
+
* for PO use nuskin.com domain ([3596e90](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/3596e902ef15e3f2d9d15242edfcc423571e6ca3))
|
7
|
+
|
8
|
+
### Update
|
9
|
+
|
10
|
+
* adjust unit testing for searchEquinoxProduct ([30c2732](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/30c2732d9e7dfc793493eb30594abff068ba0207))
|
11
|
+
|
1
12
|
# [2.9.0-mysitedomainfix.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.9.0-cx24-4460.1...v2.9.0-mysitedomainfix.1) (2023-06-20)
|
2
13
|
|
3
14
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -59,7 +59,7 @@ const ProductData = {
|
|
59
59
|
|
60
60
|
if (window && window.aem && window.aem.ShoppingContext && window.aem.ShoppingContext.getShoppingContext().context === 'storefront') {
|
61
61
|
config.API_Base_URLs = config.MySite_API_Base_URLs
|
62
|
-
}
|
62
|
+
}
|
63
63
|
|
64
64
|
if (Array.isArray(skus)) {
|
65
65
|
skus.forEach((sku) => {
|
@@ -72,7 +72,7 @@ const ProductData = {
|
|
72
72
|
|
73
73
|
const filter = skuFilter.join(" OR ")
|
74
74
|
|
75
|
-
const url = `${config.
|
75
|
+
const url = `${config.API_Base_URLs}/orchestrationservices/storefront/catalogs/search/`;
|
76
76
|
const href = `${url}?filter='\\\\''${encodeURI(filter)}'\\''`;
|
77
77
|
axios.interceptors.response.use((res) => res, productNotFoundInterceptor);
|
78
78
|
const response = await axios.request({
|