@nuskin/ns-product-lib 2.0.0-cx24-2382.2 → 2.0.0-cx24-2382.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/productData.js +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [2.0.0-cx24-2382.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.0.0-cx24-2382.2...v2.0.0-cx24-2382.3) (2022-09-08)
|
2
|
+
|
3
|
+
|
4
|
+
### Update
|
5
|
+
|
6
|
+
* change the parameters passed to getProductData (CX24-2382) ([38deea7](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/38deea72a80b2bac07de35f5fa7e45f091f9f0c6))
|
7
|
+
|
1
8
|
# [2.0.0-cx24-2382.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.0.0-cx24-2382.1...v2.0.0-cx24-2382.2) (2022-09-07)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -28,7 +28,7 @@ const ProductData = {
|
|
28
28
|
getProductFromEquinox: async function (skus, locale, storeID) {
|
29
29
|
const filter = '{"filters":[{"field":"index_key_skuId","operation":"IN","value":"' + skus.toString() + '"}]}';
|
30
30
|
axios.defaults.withCredentials = true;
|
31
|
-
const url = `https://storefront.api.
|
31
|
+
const url = `https://storefront.api.wde.nuskin.io/orchestrationservices/storefront/catalogs/search/`;
|
32
32
|
const href = `${url}?filter=${encodeURI(filter)}`;
|
33
33
|
const response = await axios.request({
|
34
34
|
method: 'get',
|
@@ -54,9 +54,9 @@ const ProductData = {
|
|
54
54
|
|
55
55
|
getEquinoxRequestHeaders() {
|
56
56
|
return {
|
57
|
-
authorization: `Bearer ${localStorage.getItem('equinox-okta-token')}`,
|
58
|
-
'Content-Type': 'application/json'
|
59
|
-
'x-sk-session-id': localStorage.getItem('x-sk-session-id')
|
57
|
+
// authorization: `Bearer ${localStorage.getItem('equinox-okta-token')}`,
|
58
|
+
'Content-Type': 'application/json'
|
59
|
+
// 'x-sk-session-id': localStorage.getItem('x-sk-session-id')
|
60
60
|
};
|
61
61
|
},
|
62
62
|
|