@nibssplc/cams-sdk-react 1.0.0-rc.72 → 1.0.0-rc.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 +6 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1868,6 +1868,12 @@ var MFAGate = function (_a) {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
// Small delay to ensure all context updates are processed
|
|
1870
1870
|
var timer = setTimeout(function () {
|
|
1871
|
+
var _a, _b, _c;
|
|
1872
|
+
camsSdk.Logger.debug("User context:", {
|
|
1873
|
+
user: context.user,
|
|
1874
|
+
profile: (_a = context.user) === null || _a === void 0 ? void 0 : _a.profile,
|
|
1875
|
+
email: (_c = (_b = context.user) === null || _b === void 0 ? void 0 : _b.profile) === null || _c === void 0 ? void 0 : _c.email,
|
|
1876
|
+
});
|
|
1871
1877
|
var shouldRequireMFA = requiresMFA !== null && requiresMFA !== void 0 ? requiresMFA : ("requiresMFA" in context ? context.requiresMFA : false);
|
|
1872
1878
|
var accessToken = "accessToken" in context ? context.accessToken : "";
|
|
1873
1879
|
if (shouldRequireMFA && accessToken) {
|