@nuskin/ns-product-lib 2.15.1 → 2.15.3-cx15-9348.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.15.1",
3
+ "version": "2.15.3-cx15-9348.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": {
@@ -45,7 +45,9 @@
45
45
  },
46
46
  "resolutions": {
47
47
  "word-wrap": "1.2.4",
48
- "follow-redirects": "1.15.4"
48
+ "follow-redirects": "1.15.4",
49
+ "tough-cookie": "4.1.3",
50
+ "moment-timezone": "0.5.35"
49
51
  },
50
52
  "files": [
51
53
  "src/"
@@ -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');