@nuskin/ns-product-lib 2.5.0-cx24-32821.1 → 2.5.0-cx24-32821.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [2.5.0-cx24-32821.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-32821.2...v2.5.0-cx24-32821.3) (2023-02-02)
2
+
3
+
4
+ ### Fix
5
+
6
+ * Get test environment if not PROD ([e02e737](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/e02e737f4ac5bfa3af4599d7f65901139989fe9c))
7
+
8
+ # [2.5.0-cx24-32821.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-32821.1...v2.5.0-cx24-32821.2) (2023-02-02)
9
+
10
+
11
+ ### Fix
12
+
13
+ * Get test environment if not PROD ([ddbe173](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/ddbe173f59ce867476c39bc75034f605fe351cd3))
14
+
1
15
  # [2.5.0-cx24-32821.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.19...v2.5.0-cx24-32821.1) (2023-02-02)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-32821.1",
3
+ "version": "2.5.0-cx24-32821.3",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -25,7 +25,7 @@ const ProductData = {
25
25
  clientId: '735b1eb810304bba966af0891ab54053'
26
26
  }));
27
27
 
28
- if (config.Equinox_Markets.country_code != '' && config.Equinox_Markets.country_code == market) {
28
+ if (config.Equinox_Markets.country_code === market) {
29
29
  return await this.getProductFromEquinox(skus, localeMarket, config);
30
30
  }
31
31
  }