@nuskin/ns-product-lib 2.5.0-cx24-31681.1 → 2.5.0-cx24-31681.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,18 @@
1
+ # [2.5.0-cx24-31681.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-31681.2...v2.5.0-cx24-31681.3) (2023-01-12)
2
+
3
+
4
+ ### Fix
5
+
6
+ * Equinox API called for non equinox market (CX24-3168) ([f0624e7](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/f0624e716cf33de22fddd7d1edb31c05bec772eb))
7
+
8
+ # [2.5.0-cx24-31681.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-31681.1...v2.5.0-cx24-31681.2) (2023-01-12)
9
+
10
+
11
+ ### Fix
12
+
13
+ * Equinox API called for non equinox market (CX24-3168) ([e404133](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/e404133a76de5c47519f9dea47524ddb0aeacf10))
14
+ * Equinox API called for non equinox market (CX24-3168) ([296b008](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/296b008178eeb0f23f4b95cea454c6f249510093))
15
+
1
16
  # [2.5.0-cx24-31681.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.9...v2.5.0-cx24-31681.1) (2023-01-12)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-31681.1",
3
+ "version": "2.5.0-cx24-31681.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": {
@@ -23,8 +23,8 @@ const ProductData = {
23
23
  environment: 'test',
24
24
  clientId: '735b1eb810304bba966af0891ab54053'
25
25
  })).Equinox_Markets;
26
-
27
- if (config.country_code !== null || config.country_code !== '') {
26
+ console.log(config)
27
+ if (config) {
28
28
  return await this.getProductFromEquinox(skus, localeMarket, config);
29
29
  }
30
30
  }