@nuskin/ns-product-lib 2.14.3-cx24-5962.2 → 2.14.4-cx15-6896.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.14.3-cx24-5962.2",
3
+ "version": "2.14.4-cx15-6896.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": {
@@ -5,7 +5,7 @@ const config = require('./environment');
5
5
 
6
6
  // contentstack HTTP service
7
7
  const platform = usePlatformSpecificVariables();
8
- const http = axios.create({ baseURL: platform.baseURL, headers: platform.headers });
8
+ const http = (axios.create || axios.default.create)({ baseURL: platform.baseURL, headers: platform.headers });
9
9
 
10
10
  // usePlatformVariables returns an object with platform-specific values; defaults to Lambda environment
11
11
  function usePlatformSpecificVariables() {