@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.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18,6 +18,7 @@ var DialogPrimitive = require('@radix-ui/react-dialog');
|
|
|
18
18
|
var sonner = require('sonner');
|
|
19
19
|
var framerMotion = require('framer-motion');
|
|
20
20
|
var axios = require('axios');
|
|
21
|
+
var https = require('https');
|
|
21
22
|
|
|
22
23
|
function _interopNamespaceDefault(e) {
|
|
23
24
|
var n = Object.create(null);
|
|
@@ -1777,7 +1778,7 @@ var APIHeaders = {
|
|
|
1777
1778
|
|
|
1778
1779
|
// Creates an Axios instance with a base URL determined by the environment (production or development).
|
|
1779
1780
|
var axiosInstance = axios.create({
|
|
1780
|
-
httpsAgent: new
|
|
1781
|
+
httpsAgent: new https.Agent({ rejectUnauthorized: false }),
|
|
1781
1782
|
headers: __assign({ "Content-Type": "application/json" }, APIHeaders),
|
|
1782
1783
|
});
|
|
1783
1784
|
// Intercepts outgoing requests to add authorization token, version header, and timeout settings.
|