@iblai/web-utils 1.10.9 → 1.10.11
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/auth/index.esm.js +1 -1
- package/dist/auth/index.esm.js.map +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/index.esm.js +8 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -506,6 +506,13 @@ const SKILLS_AI_CONFIG = {
|
|
|
506
506
|
description: "Allow users to access courses from the community.",
|
|
507
507
|
type: "boolean",
|
|
508
508
|
},
|
|
509
|
+
{
|
|
510
|
+
slug: "enable_discover_page",
|
|
511
|
+
label: "Discover page",
|
|
512
|
+
defaultValue: true,
|
|
513
|
+
description: "Allow users to access the discover page.",
|
|
514
|
+
type: "boolean",
|
|
515
|
+
},
|
|
509
516
|
/* {
|
|
510
517
|
slug: "enable_sidebar_ai_mentor_display",
|
|
511
518
|
label: "Sidebar mentorAI Display",
|
|
@@ -1195,7 +1202,7 @@ async function redirectToAuthSpa(options) {
|
|
|
1195
1202
|
logoutTimestamp: "ibl_logout_timestamp",
|
|
1196
1203
|
loginTimestamp: "ibl_login_timestamp",
|
|
1197
1204
|
tenantSwitching: "ibl_tenant_switching",
|
|
1198
|
-
}, hasNonExpiredAuthToken, isOffline, preserveTokenKey, authRedirectProxy, isNativeApp, scheme = "iblai-mentor
|
|
1205
|
+
}, hasNonExpiredAuthToken, isOffline, preserveTokenKey, authRedirectProxy, isNativeApp, scheme = "iblai-mentor", forceRedirect = false, } = options;
|
|
1199
1206
|
console.log("[redirectToAuthSpa] starting redirect to auth spa", redirectTo, platformKey, logout, saveRedirect, forceRedirect);
|
|
1200
1207
|
// Skip if a tenant switch is already in progress
|
|
1201
1208
|
if (!forceRedirect &&
|