@nuskin/ns-product-lib 2.5.0-cx24-2931.1.2 → 2.5.0-cx24-2931.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/productData.js +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [2.5.0-cx24-2931.1.4](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2931.1.3...v2.5.0-cx24-2931.1.4) (2022-12-14)
|
2
|
+
|
3
|
+
|
4
|
+
### Update
|
5
|
+
|
6
|
+
* use configuration-sdk to pull the configurations (CX24-2931) ([9abdf43](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/9abdf4326fa55692045f5a3cc91f5725afe94cb2))
|
7
|
+
|
8
|
+
# [2.5.0-cx24-2931.1.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2931.1.2...v2.5.0-cx24-2931.1.3) (2022-12-14)
|
9
|
+
|
10
|
+
|
11
|
+
### Update
|
12
|
+
|
13
|
+
* use configuration-sdk to pull the configurations (CX24-2931) ([0f4bf7d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/0f4bf7dfb6e1c3c6d6b0c00fd08cca3c1920cbec))
|
14
|
+
|
1
15
|
# [2.5.0-cx24-2931.1.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2931.1.1...v2.5.0-cx24-2931.1.2) (2022-12-14)
|
2
16
|
|
3
17
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -17,16 +17,16 @@ const ProductData = {
|
|
17
17
|
const localeMarket = `${locale}_${market}`;
|
18
18
|
|
19
19
|
if (isEquinoxEnabled) {
|
20
|
-
const config = getConfiguration({
|
20
|
+
const config = (await getConfiguration({
|
21
21
|
configMapNames: ['Equinox_Markets'],
|
22
22
|
country: market,
|
23
23
|
environment: 'test',
|
24
24
|
clientId: '735b1eb810304bba966af0891ab54053'
|
25
|
-
});
|
26
|
-
console.log(config);
|
25
|
+
})).Equinox_Markets;
|
27
26
|
|
28
27
|
if (config !== null) {
|
29
|
-
|
28
|
+
console.log(skus, locale, market);
|
29
|
+
return await this.getProductFromEquinox(skus, localeMarket, config.store_id);
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|