@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.esm.js CHANGED
@@ -426,7 +426,7 @@ function useCAMSMSALAuth(options) {
426
426
  case 4: return [2 /*return*/];
427
427
  }
428
428
  });
429
- }); }, [mfaAuthenticator, accessToken, idToken, storageKey]);
429
+ }); }, [mfaAuthenticator, accessToken, idToken, storageKey, requiresMFA]);
430
430
  var sendEmailOTP = useCallback(function () { return __awaiter(_this, void 0, void 0, function () {
431
431
  return __generator(this, function (_a) {
432
432
  switch (_a.label) {
@@ -1873,7 +1873,7 @@ var DefaultLoginPage = function () {
1873
1873
  // variant="outline"
1874
1874
  , {
1875
1875
  // variant="outline"
1876
- className: "w-full flex items-center justify-center cursor-pointer bg-[#506f4a] hover:bg-[#506f4a] rounded-lg border border-transparent px-5 py-6.5 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(ShieldCheck, { className: "w-4 h-4 text-[#506f4a] pulse-glow" }), jsxRuntimeExports.jsx("span", { children: "Powered By NIBSS" })] })] }) }) }, "landing") }));
1876
+ 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(ShieldCheck, { className: "w-4 h-4 text-[#506f4a] pulse-glow" }), jsxRuntimeExports.jsx("span", { children: "Powered By NIBSS" })] })] }) }) }, "landing") }));
1877
1877
  };
1878
1878
 
1879
1879
  var MFAEndpointUrlSchema = z$1.url("MFAEndpoint must be a valid URL");