@hexclave/next 1.0.42 → 1.0.43

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.
Files changed (78) hide show
  1. package/dist/{admin-app-impl-B4i11dbJ.d.ts → admin-app-impl-DgLL2Tua.d.ts} +3 -3
  2. package/dist/{admin-app-impl-B4i11dbJ.d.ts.map → admin-app-impl-DgLL2Tua.d.ts.map} +1 -1
  3. package/dist/clickmap/clickmap-core.js +2 -2
  4. package/dist/clickmap/index.js +2 -2
  5. package/dist/components/api-key-dialogs.js +2 -2
  6. package/dist/components/credential-sign-in.js +1 -1
  7. package/dist/components/credential-sign-up.js +1 -1
  8. package/dist/components/magic-link-sign-in.js +1 -1
  9. package/dist/components/team-switcher.js +1 -1
  10. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  11. package/dist/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  12. package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  13. package/dist/components-page/account-settings/email-and-auth/password-section.js +1 -1
  14. package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
  15. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  16. package/dist/components-page/auth-page.js +1 -1
  17. package/dist/components-page/cli-auth-confirm.js +1 -1
  18. package/dist/components-page/cli-auth-confirm.test.js +1 -1
  19. package/dist/components-page/forgot-password.js +1 -1
  20. package/dist/components-page/oauth-callback.js +2 -2
  21. package/dist/components-page/oauth-callback.test.js +1 -1
  22. package/dist/components-page/onboarding.js +1 -1
  23. package/dist/components-page/password-reset.js +1 -1
  24. package/dist/components-page/team-creation.js +1 -1
  25. package/dist/dev-tool/dev-tool-core.js +2 -2
  26. package/dist/dev-tool/index.js +2 -2
  27. package/dist/esm/clickmap/clickmap-core.js +2 -2
  28. package/dist/esm/clickmap/index.js +2 -2
  29. package/dist/esm/components/api-key-dialogs.js +2 -2
  30. package/dist/esm/components/credential-sign-in.js +1 -1
  31. package/dist/esm/components/credential-sign-up.js +1 -1
  32. package/dist/esm/components/magic-link-sign-in.js +1 -1
  33. package/dist/esm/components/team-switcher.js +1 -1
  34. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  35. package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  36. package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  37. package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +1 -1
  38. package/dist/esm/components-page/account-settings/teams/team-creation-page.js +1 -1
  39. package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  40. package/dist/esm/components-page/auth-page.js +1 -1
  41. package/dist/esm/components-page/cli-auth-confirm.js +1 -1
  42. package/dist/esm/components-page/cli-auth-confirm.test.js +1 -1
  43. package/dist/esm/components-page/forgot-password.js +1 -1
  44. package/dist/esm/components-page/oauth-callback.js +2 -2
  45. package/dist/esm/components-page/oauth-callback.test.js +1 -1
  46. package/dist/esm/components-page/onboarding.js +1 -1
  47. package/dist/esm/components-page/password-reset.js +1 -1
  48. package/dist/esm/components-page/team-creation.js +1 -1
  49. package/dist/esm/dev-tool/dev-tool-core.js +2 -2
  50. package/dist/esm/dev-tool/index.js +2 -2
  51. package/dist/esm/generated/global-css.d.ts +1 -1
  52. package/dist/esm/generated/global-css.js +1 -1
  53. package/dist/esm/generated/global-css.js.map +1 -1
  54. package/dist/esm/lib/auth.js +1 -1
  55. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +3 -3
  56. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  57. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +3 -3
  58. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  59. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  60. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  61. package/dist/esm/providers/theme-provider.js +1 -1
  62. package/dist/esm/pushed-config-error-overlay/index.js +2 -2
  63. package/dist/generated/global-css.d.ts +1 -1
  64. package/dist/generated/global-css.js +1 -1
  65. package/dist/generated/global-css.js.map +1 -1
  66. package/dist/lib/auth.js +1 -1
  67. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
  68. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  69. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  70. package/dist/lib/hexclave-app/apps/implementations/common.js +3 -3
  71. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  72. package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
  73. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
  74. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  75. package/dist/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  76. package/dist/providers/theme-provider.js +1 -1
  77. package/dist/pushed-config-error-overlay/index.js +2 -2
  78. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
- import { deindent } from "@hexclave/shared/dist/utils/strings";
2
1
  import { HexclaveAssertionError, throwErr } from "@hexclave/shared/dist/utils/errors";
3
2
  import { KnownError, KnownErrors } from "@hexclave/shared";
3
+ import { deindent } from "@hexclave/shared/dist/utils/strings";
4
4
  import { Result } from "@hexclave/shared/dist/utils/results";
5
5
  import { constructRedirectUrl } from "../utils/url.js";
6
6
  import { consumeVerifierAndStateCookie, saveVerifierAndState } from "./cookie.js";
@@ -1,6 +1,6 @@
1
- import { AnalyticsClickmapOptions, AnalyticsClickmapResponse, AnalyticsClickmapTokenResponse, MetricsResponse, MetricsUserCounts, UserActivityResponse } from "@hexclave/shared/dist/interface/admin-metrics";
2
1
  import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
3
2
  import { HexclaveAdminInterface } from "@hexclave/shared";
3
+ import { AnalyticsClickmapOptions, AnalyticsClickmapResponse, AnalyticsClickmapTokenResponse, MetricsResponse, MetricsUserCounts, UserActivityResponse } from "@hexclave/shared/dist/interface/admin-metrics";
4
4
  import { Result } from "@hexclave/shared/dist/utils/results";
5
5
  import { AdminEmailOutbox, AdminSentEmail } from "../../index.js";
6
6
  import { EmailConfig, hexclaveAppInternalsSymbol } from "../../common.js";
@@ -165,7 +165,7 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
165
165
  } & {
166
166
  uniqueIdentifier: string;
167
167
  };
168
- setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-BBoN3hsn").t["Client"]["Read"] | null>) => void;
168
+ setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-Dvf8Ttjo").t["Client"]["Read"] | null>) => void;
169
169
  getConstructorOptions: () => {
170
170
  baseUrl?: string | {
171
171
  browser: string;
@@ -197,7 +197,7 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
197
197
  sendAnalyticsEventBatch: (body: string, options: {
198
198
  keepalive: boolean;
199
199
  }) => Promise<Result<Response, Error>>;
200
- addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-iIw4nU5k").r) => () => void;
200
+ addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-CGrvUtX0").r) => () => void;
201
201
  sendRequest: (path: string, requestOptions: RequestInit, requestType?: "client" | "server" | "admin") => Promise<Response & {
202
202
  usedTokens: {
203
203
  accessToken: import("@hexclave/shared/dist/sessions-d8qtvBUB").t;
@@ -1,12 +1,12 @@
1
- import { neverResolve, runAsynchronously, wait } from "@hexclave/shared/dist/utils/promises";
2
- import { deindent, mergeScopeStrings } from "@hexclave/shared/dist/utils/strings";
3
1
  import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
2
+ import { neverResolve, runAsynchronously, wait } from "@hexclave/shared/dist/utils/promises";
4
3
  import React, { useCallback, useMemo } from "react";
5
4
  import { HexclaveClientInterface, KnownError, KnownErrors } from "@hexclave/shared";
6
5
  import { suspend, suspendIfSsr, use } from "@hexclave/shared/dist/utils/react";
7
6
  import { deepPlainEquals, omit } from "@hexclave/shared/dist/utils/objects";
8
7
  import { createUrlIfValid, getRelativePart, isRelative } from "@hexclave/shared/dist/utils/urls";
9
8
  import * as NextNavigationUnscrambled from "next/navigation";
9
+ import { deindent, mergeScopeStrings } from "@hexclave/shared/dist/utils/strings";
10
10
  import { Result } from "@hexclave/shared/dist/utils/results";
11
11
  import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
12
12
  import { clientVersion, createCache, createCacheBySession, createEmptyTokenStore, getAnalyticsBaseUrl, getDefaultExtraRequestHeaders, getDefaultProjectId, getDefaultPublishableClientKey, getUrls, resolveApiUrls, resolveConstructorOptions, useAsyncCache } from "./common.js";
@@ -1,5 +1,5 @@
1
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
1
  import { captureError, concatStacktraces, throwErr } from "@hexclave/shared/dist/utils/errors";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
3
  import React, { useCallback } from "react";
4
4
  import { suspendIfSsr, use } from "@hexclave/shared/dist/utils/react";
5
5
  import { filterUndefined, omit } from "@hexclave/shared/dist/utils/objects";
@@ -13,8 +13,8 @@ import { Store } from "@hexclave/shared/dist/utils/stores";
13
13
  import { envVars } from "../../../../generated/env.js";
14
14
  import { resolveHandlerUrls } from "../../url-targets.js";
15
15
  //#region src/lib/hexclave-app/apps/implementations/common.ts
16
- const clientVersion = "js @hexclave/next@1.0.42";
17
- if ("js @hexclave/next@1.0.42".startsWith("STACK_COMPILE_TIME"));
16
+ const clientVersion = "js @hexclave/next@1.0.43";
17
+ if ("js @hexclave/next@1.0.43".startsWith("STACK_COMPILE_TIME"));
18
18
  const replaceHexclavePortPrefix = (input) => {
19
19
  if (!input) return input;
20
20
  const prefix = envVars.HEXCLAVE_PORT_PREFIX;
@@ -1,7 +1,7 @@
1
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
1
2
  import { CLICKMAP_ROOT_ID, DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
2
3
  import { cssEscapeIdent } from "@hexclave/shared/dist/utils/dom";
3
4
  import { ELEMENTS_CHAIN_MAX_DEPTH, buildElementsChain } from "@hexclave/shared/dist/utils/elements-chain";
4
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
5
5
  import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
6
6
  import { generateUuid, isAdBlockerNetworkError, isAnalyticsNotEnabledError } from "./session-replay.js";
7
7
  //#region src/lib/hexclave-app/apps/implementations/event-tracker.ts
@@ -1,5 +1,5 @@
1
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
1
  import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
3
  import { useMemo } from "react";
4
4
  import { HexclaveServerInterface, KnownErrors } from "@hexclave/shared";
5
5
  import { suspend } from "@hexclave/shared/dist/utils/react";
@@ -1,5 +1,5 @@
1
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
1
  import { captureWarning, throwErr } from "@hexclave/shared/dist/utils/errors";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
3
  import { Result } from "@hexclave/shared/dist/utils/results";
4
4
  import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
5
5
  import { KnownErrors } from "@hexclave/shared/dist/known-errors";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { deindent } from "@hexclave/shared/dist/utils/strings";
3
2
  import { TooltipProvider } from "@hexclave/ui";
4
3
  import "react";
5
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
5
  import Color from "color";
6
+ import { deindent } from "@hexclave/shared/dist/utils/strings";
7
7
  import { globalCSS } from "../generated/global-css.js";
8
8
  import { BrowserScript } from "../utils/browser-script.js";
9
9
  import { DEFAULT_THEME } from "../utils/constants.js";
@@ -1,8 +1,8 @@
1
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
1
2
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
2
4
  import { canMountIntoDom, getGlobalUiInstance, h, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
3
5
  import { getInPageUiBaseCSS } from "../in-page-ui/base-styles.js";
4
- import { captureError } from "@hexclave/shared/dist/utils/errors";
5
- import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
6
6
  import { envVars } from "../generated/env.js";
7
7
  //#region src/pushed-config-error-overlay/index.ts
8
8
  const GLOBAL_INSTANCE_KEY = "__hexclave-pushed-config-error-overlay";