@nuskin/ns-product-lib 2.5.0-cx24-3168.6 → 2.5.0-cx24-31681.2

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # [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)
2
+
3
+
4
+ ### Fix
5
+
6
+ * 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))
7
+ * 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))
8
+
9
+ # [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)
10
+
11
+
12
+ ### Fix
13
+
14
+ * Equinox API called for non equinox market (CX24-3168) ([a44450d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/a44450de717c36f2eba0ac08af8f90ce44ed96e2))
15
+ * Equinox API called for non equinox market (CX24-3168) ([8c0c23d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/8c0c23db6ed1bc89b7fd651cf3e062d88e47c0e5))
16
+
1
17
  # [2.5.0-cx24-3168.6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-3168.5...v2.5.0-cx24-3168.6) (2023-01-12)
2
18
 
3
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-3168.6",
3
+ "version": "2.5.0-cx24-31681.2",
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.store_id !== null) {
26
+ console.log(config)
27
+ if (config.country_code !== null || config.country_code != '') {
28
28
  return await this.getProductFromEquinox(skus, localeMarket, config);
29
29
  }
30
30
  }