@nuskin/ns-product-lib 2.16.0-brw-3199.1 → 2.16.0

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.16.0-brw-3199.1",
3
+ "version": "2.16.0",
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": {
@@ -1,5 +1,5 @@
1
1
  // This module can be bundled into a package for better reusability.
2
- const axios = require('axios');
2
+ const axios = require('axios').default;
3
3
  const { getEnvironmentFromUrl } = require('@nuskin/ns-common-lib');
4
4
  const config = require('./environment');
5
5
 
@@ -1,4 +1,4 @@
1
- const axios = require('axios');
1
+ const axios = require('axios').default;
2
2
  const { getProductByIdQuery } = require('./query');
3
3
  const ProductStatus = require("../models/productStatus");
4
4
  const CustomerTypes = require('./customerTypes');
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const { getConfiguration, getCachedConfigurations } = require('@nuskin/configuration-sdk');
3
- const axios = require("axios");
3
+ const axios = require("axios").default;
4
4
  const contentstack = require('./contentstack/contentstack');
5
5
  const Product = require("./product");
6
6
  const CustomerTypes = require('./models/customerTypes');