@nibssplc/cams-sdk-react 0.0.1-beta.72 → 0.0.1-beta.73
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 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -446,7 +446,7 @@ function useCAMSMSALAuth(options) {
|
|
|
446
446
|
case 4: return [2 /*return*/];
|
|
447
447
|
}
|
|
448
448
|
});
|
|
449
|
-
}); }, [mfaAuthenticator, accessToken, idToken, storageKey]);
|
|
449
|
+
}); }, [mfaAuthenticator, accessToken, idToken, storageKey, requiresMFA]);
|
|
450
450
|
var sendEmailOTP = React.useCallback(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
451
451
|
return __generator(this, function (_a) {
|
|
452
452
|
switch (_a.label) {
|
|
@@ -1893,7 +1893,7 @@ var DefaultLoginPage = function () {
|
|
|
1893
1893
|
// variant="outline"
|
|
1894
1894
|
, {
|
|
1895
1895
|
// variant="outline"
|
|
1896
|
-
className: "w-full flex items-center justify-center cursor-pointer bg-[#506f4a] hover:bg-[#506f4a] rounded-lg border border-transparent px-5 py-
|
|
1896
|
+
className: "w-full flex items-center justify-center cursor-pointer bg-[#506f4a] hover:bg-[#506f4a] rounded-lg border border-transparent px-5 py-8 text-base font-medium transition-colors duration-250", onClick: handleLogin, disabled: isLoading, children: [jsxRuntimeExports.jsx("img", { src: MicrosoftLogo, alt: "Microsoft Logo", width: 35, height: 35 }), jsxRuntimeExports.jsx("span", { children: isLoading ? 'Logging in...' : "Sign in with Microsoft" })] }) }), jsxRuntimeExports.jsxs(CardFooter, { className: "flex items-center justify-center mt-6 space-x-2 text-gray-400 text-sm", children: [jsxRuntimeExports.jsx(lucideReact.ShieldCheck, { className: "w-4 h-4 text-[#506f4a] pulse-glow" }), jsxRuntimeExports.jsx("span", { children: "Powered By NIBSS" })] })] }) }) }, "landing") }));
|
|
1897
1897
|
};
|
|
1898
1898
|
|
|
1899
1899
|
var MFAEndpointUrlSchema = z.url("MFAEndpoint must be a valid URL");
|