@nuskin/ns-product-lib 2.5.0-cx24-2931.1.10 → 2.5.0-cx24-2931.1.11

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.5.0-cx24-2931.1.11](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2931.1.10...v2.5.0-cx24-2931.1.11) (2022-12-14)
2
+
3
+
4
+ ### Update
5
+
6
+ * use configuration-sdk to pull the configurations (CX24-2931) ([fc2010c](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/fc2010cdf7dfb7ecd53940d64e94f43c045135c5))
7
+
1
8
  # [2.5.0-cx24-2931.1.10](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2931.1.9...v2.5.0-cx24-2931.1.10) (2022-12-14)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-2931.1.10",
3
+ "version": "2.5.0-cx24-2931.1.11",
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": {
@@ -24,12 +24,12 @@ const ProductData = {
24
24
  },
25
25
 
26
26
  getProductFromEquinox: async function (skus, locale) {
27
- const config = await getConfiguration({
27
+ const config = (await getConfiguration({
28
28
  configMapNames: ['Equinox_Markets'],
29
29
  country: locale.split('_')[1],
30
30
  environment: 'dev',
31
31
  clientId: '735b1eb810304bba966af0891ab54053'
32
- });
32
+ })).Equinox_Markets;
33
33
  const filter = `{"filters": [{"field": "index_key_skuId","operation": "IN", "value": "${skus.toString()}"}]}`;
34
34
  axios.defaults.withCredentials = true;
35
35