@nibssplc/cams-sdk-react 1.0.0-rc.6 → 1.0.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -18,6 +18,7 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
18
18
  import { toast } from 'sonner';
19
19
  import { motion } from 'framer-motion';
20
20
  import axios from 'axios';
21
+ import https from 'https';
21
22
 
22
23
  /******************************************************************************
23
24
  Copyright (c) Microsoft Corporation.
@@ -1756,7 +1757,7 @@ var APIHeaders = {
1756
1757
 
1757
1758
  // Creates an Axios instance with a base URL determined by the environment (production or development).
1758
1759
  var axiosInstance = axios.create({
1759
- httpsAgent: new (require("node:https").Agent)({ rejectUnauthorized: false }),
1760
+ httpsAgent: new https.Agent({ rejectUnauthorized: false }),
1760
1761
  headers: __assign({ "Content-Type": "application/json" }, APIHeaders),
1761
1762
  });
1762
1763
  // Intercepts outgoing requests to add authorization token, version header, and timeout settings.