@nuskin/ns-product-lib 2.9.0-cx24-4091.1 → 2.9.0-cx24-4460.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,9 +1,10 @@
1
- # [2.9.0-cx24-4091.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.8.0...v2.9.0-cx24-4091.1) (2023-05-15)
1
+ # [2.9.0-cx24-4460.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.8.0...v2.9.0-cx24-4460.1) (2023-06-20)
2
2
 
3
3
 
4
- ### Update
4
+ ### New
5
5
 
6
- * Bump configuration sdk ([49e9d9f](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/49e9d9f2e658a6f17a7d5df13ccb7d05f5aa9508))
6
+ * Change API Base URLs for My Site ([fb2e309](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/fb2e30953e6e9089da20ac367bad9bf63300a89c))
7
+ * Change API Base URLs for My Site ([1f9ba11](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/1f9ba11f63ef85e9a444e39080e9277a41fa004d))
7
8
 
8
9
  # [2.8.0](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.1...v2.8.0) (2023-05-02)
9
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.9.0-cx24-4091.1",
3
+ "version": "2.9.0-cx24-4460.1",
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": {
@@ -31,7 +31,7 @@
31
31
  "prettier": "1.19.1"
32
32
  },
33
33
  "dependencies": {
34
- "@nuskin/configuration-sdk": "2.2.5",
34
+ "@nuskin/configuration-sdk": "2.2.3",
35
35
  "@nuskin/ns-common-lib": "1.4.5",
36
36
  "@nuskin/ns-util": "4.3.2",
37
37
  "axios": "0.27.2",
@@ -68,7 +68,7 @@ const ProductData = {
68
68
 
69
69
  const filter = skuFilter.join(" OR ")
70
70
 
71
- const url = `${config.API_Base_URLs}/orchestrationservices/storefront/catalogs/search/`;
71
+ const url = `${config.MySite_API_Base_URLs}/orchestrationservices/storefront/catalogs/search/`;
72
72
  const href = `${url}?filter='\\\\''${encodeURI(filter)}'\\''`;
73
73
  axios.interceptors.response.use((res) => res, productNotFoundInterceptor);
74
74
  const response = await axios.request({
@@ -513,7 +513,7 @@ const ProductData = {
513
513
  };
514
514
  },
515
515
 
516
- mapEquinoxSKUExists: function(exists) {
516
+ mapEquinoxSKUExists: function (exists) {
517
517
  // this could be avoided if only we are using response mapper
518
518
  // for equinox products that exists.
519
519
  // @todo: clean-up