@nibssplc/cams-sdk-react 1.0.0-rc.6 → 1.0.0-rc.8
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 +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
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.
|
|
@@ -1702,7 +1703,7 @@ styleInject(css_248z);
|
|
|
1702
1703
|
|
|
1703
1704
|
var LoadingSpinner = function (_a) {
|
|
1704
1705
|
var loadingText = _a.loadingText;
|
|
1705
|
-
return (jsxRuntimeExports.jsxs("div", { className: "flex flex-col justify-center items-center", children: [jsxRuntimeExports.jsx("script", { type: "module", defer: true, src: "https://cdn.jsdelivr.net/npm/ldrs/dist/auto/waveform.js" }), jsxRuntimeExports.jsx(r, { size: "35", stroke: "3.5", speed: "1", color: "green" }), loadingText && (jsxRuntimeExports.jsx("p", { className: "text-center font-semibold mt-3", children: "Loading..." }))] }));
|
|
1706
|
+
return (jsxRuntimeExports.jsxs("div", { className: "flex flex-col justify-center items-center h-full w-full py-10", children: [jsxRuntimeExports.jsx("script", { type: "module", defer: true, src: "https://cdn.jsdelivr.net/npm/ldrs/dist/auto/waveform.js" }), jsxRuntimeExports.jsx(r, { size: "35", stroke: "3.5", speed: "1", color: "green" }), loadingText && (jsxRuntimeExports.jsx("p", { className: "text-center font-semibold mt-3", children: "Loading..." }))] }));
|
|
1706
1707
|
};
|
|
1707
1708
|
|
|
1708
1709
|
var AuthSuccessAnimation = function (_a) {
|
|
@@ -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
|
|
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.
|