@hexclave/next 1.0.23 → 1.0.25
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/components/elements/sidebar-layout.js +1 -1
- package/dist/dev-tool/dev-tool-core.d.ts.map +1 -1
- package/dist/dev-tool/dev-tool-core.js +3 -67
- package/dist/dev-tool/dev-tool-core.js.map +1 -1
- package/dist/esm/components/elements/sidebar-layout.js +1 -1
- package/dist/esm/dev-tool/dev-tool-core.d.ts.map +1 -1
- package/dist/esm/dev-tool/dev-tool-core.js +3 -67
- package/dist/esm/dev-tool/dev-tool-core.js.map +1 -1
- package/dist/esm/generated/env.js +20 -20
- package/dist/esm/generated/env.js.map +1 -1
- package/dist/esm/generated/quetzal-translations.d.ts +2 -2
- package/dist/esm/lib/auth.js +2 -2
- package/dist/esm/lib/auth.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +2 -0
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +9 -3
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +2 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.test.js +26 -0
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.test.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.d.ts +7 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +11 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.test.js +43 -0
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.test.js.map +1 -1
- package/dist/esm/lib/hexclave-app/projects/index.d.ts +6 -0
- package/dist/esm/lib/hexclave-app/projects/index.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/projects/index.js.map +1 -1
- package/dist/esm/lib/hexclave-app/url-targets.test.js +7 -7
- package/dist/esm/lib/hexclave-app/url-targets.test.js.map +1 -1
- package/dist/esm/pushed-config-error-overlay/index.d.ts +7 -0
- package/dist/esm/pushed-config-error-overlay/index.d.ts.map +1 -0
- package/dist/esm/pushed-config-error-overlay/index.js +464 -0
- package/dist/esm/pushed-config-error-overlay/index.js.map +1 -0
- package/dist/generated/env.js +20 -20
- package/dist/generated/env.js.map +1 -1
- package/dist/generated/quetzal-translations.d.ts +2 -2
- package/dist/lib/auth.js +2 -2
- package/dist/lib/auth.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +2 -0
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +9 -3
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/common.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.d.ts.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -0
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.test.js +26 -0
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.test.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/session-replay.d.ts +7 -1
- package/dist/lib/hexclave-app/apps/implementations/session-replay.d.ts.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/session-replay.js +11 -0
- package/dist/lib/hexclave-app/apps/implementations/session-replay.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/session-replay.test.js +43 -0
- package/dist/lib/hexclave-app/apps/implementations/session-replay.test.js.map +1 -1
- package/dist/lib/hexclave-app/projects/index.d.ts +6 -0
- package/dist/lib/hexclave-app/projects/index.d.ts.map +1 -1
- package/dist/lib/hexclave-app/projects/index.js.map +1 -1
- package/dist/lib/hexclave-app/url-targets.test.js +7 -7
- package/dist/lib/hexclave-app/url-targets.test.js.map +1 -1
- package/dist/pushed-config-error-overlay/index.d.ts +7 -0
- package/dist/pushed-config-error-overlay/index.d.ts.map +1 -0
- package/dist/pushed-config-error-overlay/index.js +466 -0
- package/dist/pushed-config-error-overlay/index.js.map +1 -0
- package/package.json +4 -4
- package/src/dev-tool/dev-tool-core.ts +4 -58
- package/src/lib/auth.ts +2 -2
- package/src/lib/hexclave-app/apps/implementations/admin-app-impl.ts +6 -0
- package/src/lib/hexclave-app/apps/implementations/client-app-impl.ts +11 -3
- package/src/lib/hexclave-app/apps/implementations/event-tracker.test.ts +33 -0
- package/src/lib/hexclave-app/apps/implementations/event-tracker.ts +6 -1
- package/src/lib/hexclave-app/apps/implementations/session-replay.test.ts +52 -0
- package/src/lib/hexclave-app/apps/implementations/session-replay.ts +20 -0
- package/src/lib/hexclave-app/projects/index.ts +2 -0
- package/src/lib/hexclave-app/url-targets.test.ts +7 -7
- package/src/pushed-config-error-overlay/index.ts +548 -0
|
@@ -16,17 +16,17 @@ import { hexclaveAppInternalsSymbol } from "../../common.js";
|
|
|
16
16
|
import { adminProjectCreateOptionsToCrud } from "../../projects/index.js";
|
|
17
17
|
import { InternalSession } from "@hexclave/shared/dist/sessions";
|
|
18
18
|
import { Store, storeLock } from "@hexclave/shared/dist/utils/stores";
|
|
19
|
-
import { WebAuthnError, startAuthentication, startRegistration } from "@simplewebauthn/browser";
|
|
20
19
|
import { scrambleDuringCompileTime } from "@hexclave/shared/dist/utils/compile-time";
|
|
21
20
|
import { parseJson } from "@hexclave/shared/dist/utils/json";
|
|
22
21
|
import { DependenciesMap } from "@hexclave/shared/dist/utils/maps";
|
|
23
22
|
import { BotChallengeExecutionFailedError, BotChallengeUserCancelledError, withBotChallengeFlow } from "@hexclave/shared/dist/utils/turnstile-flow";
|
|
24
23
|
import { generateUuid } from "@hexclave/shared/dist/utils/uuids";
|
|
24
|
+
import { WebAuthnError, startAuthentication, startRegistration } from "@simplewebauthn/browser";
|
|
25
25
|
import * as cookie from "cookie";
|
|
26
|
+
import { envVars } from "../../../../generated/env.js";
|
|
26
27
|
import { constructRedirectUrl } from "../../../../utils/url.js";
|
|
27
28
|
import { callOAuthCallback, getNewOAuthProviderOrScopeUrl } from "../../../auth.js";
|
|
28
29
|
import { createBrowserCookieHelper, createCookieHelper, createPlaceholderCookieHelper, deleteCookie, deleteCookieClient, getCookieClient, isSecure, saveVerifierAndState, setOrDeleteCookie, setOrDeleteCookieClient } from "../../../cookie.js";
|
|
29
|
-
import { envVars } from "../../../../generated/env.js";
|
|
30
30
|
import { apiKeyCreationOptionsToCrud } from "../../api-keys/index.js";
|
|
31
31
|
import { contactChannelCreateOptionsToCrud, contactChannelUpdateOptionsToCrud } from "../../contact-channels/index.js";
|
|
32
32
|
import { teamCreateOptionsToCrud, teamUpdateOptionsToCrud } from "../../teams/index.js";
|
|
@@ -38,6 +38,7 @@ import { subscribeSessionRefresh } from "./session-refresh-subscription.js";
|
|
|
38
38
|
import { SessionRecorder, analyticsOptionsFromJson, analyticsOptionsToJson, getSessionReplayOptions } from "./session-replay.js";
|
|
39
39
|
import { mountClickmapOverlay } from "../../../../clickmap/index.js";
|
|
40
40
|
import { mountDevTool } from "../../../../dev-tool/index.js";
|
|
41
|
+
import { mountPushedConfigErrorOverlay } from "../../../../pushed-config-error-overlay/index.js";
|
|
41
42
|
import * as sc from "@hexclave/sc";
|
|
42
43
|
import { cookies } from "@hexclave/sc";
|
|
43
44
|
|
|
@@ -464,7 +465,10 @@ var _HexclaveClientAppImplIncomplete = class _HexclaveClientAppImplIncomplete {
|
|
|
464
465
|
});
|
|
465
466
|
}
|
|
466
467
|
if (isBrowserLike() && resolvedOptions.devTool !== false) mountDevTool(this, resolvedOptions.devTool);
|
|
467
|
-
if (isBrowserLike())
|
|
468
|
+
if (isBrowserLike()) {
|
|
469
|
+
mountClickmapOverlay(this);
|
|
470
|
+
mountPushedConfigErrorOverlay(this);
|
|
471
|
+
}
|
|
468
472
|
}
|
|
469
473
|
_initUniqueIdentifier() {
|
|
470
474
|
if (!this._uniqueIdentifier) throw new HexclaveAssertionError("Unique identifier not initialized");
|
|
@@ -1063,6 +1067,8 @@ var _HexclaveClientAppImplIncomplete = class _HexclaveClientAppImplIncomplete {
|
|
|
1063
1067
|
return {
|
|
1064
1068
|
id: crud.id,
|
|
1065
1069
|
displayName: crud.display_name,
|
|
1070
|
+
pushedConfigError: crud.pushed_config_error == null ? null : { message: crud.pushed_config_error.message },
|
|
1071
|
+
configWarnings: crud.config_warnings.map((warning) => ({ message: warning.message })),
|
|
1066
1072
|
config: {
|
|
1067
1073
|
signUpEnabled: crud.config.sign_up_enabled,
|
|
1068
1074
|
credentialEnabled: crud.config.credential_enabled,
|