@nuskin/ns-product-lib 1.5.0-cx24-2126.1 → 1.5.0-cx24-2126.2
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 +8 -0
- package/package.json +1 -1
- package/src/productData.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [1.5.0-cx24-2126.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.5.0-cx24-2126.1...v1.5.0-cx24-2126.2) (2022-08-23)
|
2
|
+
|
3
|
+
|
4
|
+
### New
|
5
|
+
|
6
|
+
* merged dynamic kong URL (#CX24-2126) ([e823b62](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/e823b6238a85929d19aa3b86de28ffd4d1b65641)), closes [#CX24-2126](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2126)
|
7
|
+
* update condition for dynamic kong URL (#CX24-2126) ([e0149a6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/e0149a6fee3e9405709efbb2669abffd01fc8a5b)), closes [#CX24-2126](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2126)
|
8
|
+
|
1
9
|
# [1.5.0-cx24-2126.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.5.0-CX24.1...v1.5.0-cx24-2126.1) (2022-08-22)
|
2
10
|
|
3
11
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -6,7 +6,7 @@ const ProductData = {
|
|
6
6
|
getProductData: async function (skus, runConfig, marketConfig, isEqEnabled) {
|
7
7
|
let productResponse = {};
|
8
8
|
let locale = `${runConfig.language}_${runConfig.country}`;
|
9
|
-
const kongBaseUrl = `https://${marketConfig.mySiteKongURL
|
9
|
+
const kongBaseUrl = marketConfig.mySiteKongURL ? `https://${marketConfig.mySiteKongURL}` : "";
|
10
10
|
|
11
11
|
if (isEqEnabled == true) {
|
12
12
|
let filter = '{"filters":[{"field":"index_key_skuId","operation":"IN","value":"' +
|