@hexclave/next 1.0.86 → 1.0.88
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/{admin-app-impl-BBSdclG8.d.ts → admin-app-impl-DB_M8H8-.d.ts} +7 -7
- package/dist/{admin-app-impl-BBSdclG8.d.ts.map → admin-app-impl-DB_M8H8-.d.ts.map} +1 -1
- package/dist/clickmap/clickmap-core.js +2 -2
- package/dist/clickmap/index.js +2 -2
- package/dist/components/api-key-dialogs.js +2 -2
- package/dist/components/credential-sign-in.js +1 -1
- package/dist/components/credential-sign-up.js +1 -1
- package/dist/components/magic-link-sign-in.js +1 -1
- package/dist/components/team-switcher.js +1 -1
- package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/emails-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/password-section.js +1 -1
- package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
- package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
- package/dist/components-page/auth-page.js +1 -1
- package/dist/components-page/cli-auth-confirm.js +1 -1
- package/dist/components-page/cli-auth-confirm.test.js +1 -1
- package/dist/components-page/forgot-password.js +1 -1
- package/dist/components-page/oauth-callback.js +2 -2
- package/dist/components-page/oauth-callback.test.js +1 -1
- package/dist/components-page/onboarding.js +1 -1
- package/dist/components-page/password-reset.js +1 -1
- package/dist/components-page/sign-out.test.js +1 -1
- package/dist/components-page/team-creation.js +1 -1
- package/dist/dev-tool/dev-tool-core.js +2 -2
- package/dist/dev-tool/index.js +1 -1
- package/dist/esm/clickmap/clickmap-core.js +2 -2
- package/dist/esm/clickmap/index.js +2 -2
- package/dist/esm/components/api-key-dialogs.js +2 -2
- package/dist/esm/components/credential-sign-in.js +1 -1
- package/dist/esm/components/credential-sign-up.js +1 -1
- package/dist/esm/components/magic-link-sign-in.js +1 -1
- package/dist/esm/components/team-switcher.js +1 -1
- package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-creation-page.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
- package/dist/esm/components-page/auth-page.js +1 -1
- package/dist/esm/components-page/cli-auth-confirm.js +1 -1
- package/dist/esm/components-page/cli-auth-confirm.test.js +1 -1
- package/dist/esm/components-page/forgot-password.js +1 -1
- package/dist/esm/components-page/oauth-callback.js +2 -2
- package/dist/esm/components-page/oauth-callback.test.js +1 -1
- package/dist/esm/components-page/onboarding.js +1 -1
- package/dist/esm/components-page/password-reset.js +1 -1
- package/dist/esm/components-page/sign-out.test.js +1 -1
- package/dist/esm/components-page/team-creation.js +1 -1
- package/dist/esm/dev-tool/dev-tool-core.js +2 -2
- package/dist/esm/dev-tool/index.js +1 -1
- package/dist/esm/lib/auth.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +5 -5
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +4 -4
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
- package/dist/esm/providers/theme-provider.js +1 -1
- package/dist/esm/pushed-config-error-overlay/index.js +1 -1
- package/dist/esm/setup-error-overlay/index.js +1 -1
- package/dist/esm/utils/react.js +1 -1
- package/dist/lib/auth.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
- package/dist/lib/hexclave-app/apps/implementations/common.js +4 -4
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
- package/dist/providers/theme-provider.js +1 -1
- package/dist/pushed-config-error-overlay/index.js +1 -1
- package/dist/setup-error-overlay/index.js +1 -1
- package/dist/utils/react.js +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
1
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
2
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
3
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
6
|
import { useForm } from "react-hook-form";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
3
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
|
|
5
5
|
import { Suspense, useMemo } from "react";
|
|
6
6
|
import { useStackApp, useUser } from "../index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
4
3
|
import { Typography } from "@hexclave/ui";
|
|
5
4
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
6
5
|
import { useTranslation } from "../lib/translations.js";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { useStackApp } from "../lib/hooks.js";
|
|
9
8
|
import { MessageCard } from "../components/message-cards/message-card.js";
|
|
9
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
10
10
|
//#region src/components-page/cli-auth-confirm.tsx
|
|
11
11
|
async function postCliAuthComplete(app, body) {
|
|
12
12
|
return await app[hexclaveAppInternalsSymbol].sendRequest("/auth/cli/complete", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
3
2
|
import { act } from "react";
|
|
4
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { createRoot } from "react-dom/client";
|
|
6
5
|
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
6
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
7
7
|
import { HexclaveContext } from "../providers/hexclave-context.js";
|
|
8
8
|
import { useCliAuthConfirmation } from "./cli-auth-confirm.js";
|
|
9
9
|
//#region src/components-page/cli-auth-confirm.test.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
4
2
|
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
3
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
5
4
|
import { Spinner, cn } from "@hexclave/ui";
|
|
6
5
|
import { useEffect, useRef, useState } from "react";
|
|
7
6
|
import { useStackApp } from "../index.js";
|
|
8
7
|
import { jsx } from "react/jsx-runtime";
|
|
9
8
|
import { KnownError } from "@hexclave/shared";
|
|
10
9
|
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
10
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
11
11
|
import { ErrorPage } from "./error-page.js";
|
|
12
12
|
//#region src/components-page/oauth-callback.tsx
|
|
13
13
|
function OAuthCallback({ fullPage }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
2
1
|
import { act } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { KnownErrors } from "@hexclave/shared";
|
|
5
4
|
import { createRoot } from "react-dom/client";
|
|
6
5
|
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
6
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
7
7
|
import { OAuthCallback } from "./oauth-callback.js";
|
|
8
8
|
import { TranslationProviderClient } from "../providers/translation-provider-client.js";
|
|
9
9
|
//#region src/components-page/oauth-callback.test.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Typography } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
2
1
|
import React, { act } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { createRoot } from "react-dom/client";
|
|
5
4
|
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
5
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
6
6
|
import { SignOut } from "./sign-out.js";
|
|
7
7
|
import { TranslationProviderClient } from "../providers/translation-provider-client.js";
|
|
8
8
|
//#region src/components-page/sign-out.test.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Label, Typography } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
|
|
2
1
|
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
|
|
4
2
|
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
5
3
|
import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
|
|
6
4
|
import { getPagePrompt } from "../lib/hexclave-app/url-targets.js";
|
|
5
|
+
import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
|
|
6
|
+
import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
|
|
7
7
|
import { HEXCLAVE_LOGO_SVG } from "../in-page-ui/logo.js";
|
|
8
8
|
import { getBaseUrl } from "../lib/hexclave-app/apps/implementations/common.js";
|
|
9
9
|
import { devToolCSS } from "./dev-tool-styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
1
2
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
3
|
import { canMountIntoDom } from "../in-page-ui/dom.js";
|
|
3
|
-
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
4
4
|
import { isLikelyDevelopmentEnvironment } from "../in-page-ui/dev-environment.js";
|
|
5
5
|
//#region src/dev-tool/index.ts
|
|
6
6
|
const OVERRIDE_KEY = "__hexclave-dev-tool-override";
|
package/dist/esm/lib/auth.js
CHANGED
|
@@ -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";
|
|
@@ -205,7 +205,7 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
|
|
|
205
205
|
} & {
|
|
206
206
|
uniqueIdentifier: string;
|
|
207
207
|
};
|
|
208
|
-
setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-
|
|
208
|
+
setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-Ce5Go_fI").t["Client"]["Read"] | null>) => void;
|
|
209
209
|
getConstructorOptions: () => {
|
|
210
210
|
baseUrl?: string | {
|
|
211
211
|
browser: string;
|
|
@@ -238,11 +238,11 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
|
|
|
238
238
|
sendAnalyticsEventBatch: (body: string, options: {
|
|
239
239
|
keepalive: boolean;
|
|
240
240
|
}) => Promise<Result<Response, Error>>;
|
|
241
|
-
addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-
|
|
241
|
+
addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-DSQm6L1z").a) => () => void;
|
|
242
242
|
sendRequest: (path: string, requestOptions: RequestInit, requestType?: "client" | "server" | "admin") => Promise<Response & {
|
|
243
243
|
usedTokens: {
|
|
244
|
-
accessToken: import("@hexclave/shared/dist/sessions-
|
|
245
|
-
refreshToken: import("@hexclave/shared/dist/sessions-
|
|
244
|
+
accessToken: import("@hexclave/shared/dist/sessions-BltHq3rk").t;
|
|
245
|
+
refreshToken: import("@hexclave/shared/dist/sessions-BltHq3rk").i | null;
|
|
246
246
|
} | null;
|
|
247
247
|
}>;
|
|
248
248
|
getUrls: () => Readonly<import("@hexclave/shared/dist/handler-urls-BHt3v8Ai").s>;
|
|
@@ -595,8 +595,8 @@ declare class _HexclaveClientAppImplIncomplete<HasTokenStore extends boolean, Pr
|
|
|
595
595
|
addRequestListener: (listener: RequestListener) => () => void;
|
|
596
596
|
sendRequest: (path: string, requestOptions: RequestInit, requestType?: "client" | "server" | "admin") => Promise<Response & {
|
|
597
597
|
usedTokens: {
|
|
598
|
-
accessToken: import("@hexclave/shared/dist/sessions-
|
|
599
|
-
refreshToken: import("@hexclave/shared/dist/sessions-
|
|
598
|
+
accessToken: import("@hexclave/shared/dist/sessions-BltHq3rk").t;
|
|
599
|
+
refreshToken: import("@hexclave/shared/dist/sessions-BltHq3rk").i | null;
|
|
600
600
|
} | null;
|
|
601
601
|
}>;
|
|
602
602
|
getUrls: () => Readonly<ResolvedHandlerUrls$1>;
|
|
@@ -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, HexclaveSetupError, 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, 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,11 +1,11 @@
|
|
|
1
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { deindent } from "@hexclave/shared/dist/utils/strings";
|
|
3
1
|
import { captureError, concatStacktraces, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
4
3
|
import React, { useCallback } from "react";
|
|
5
4
|
import { use } from "@hexclave/shared/dist/utils/react";
|
|
6
5
|
import { filterUndefined, omit } from "@hexclave/shared/dist/utils/objects";
|
|
7
6
|
import { getDefaultApiUrls } from "@hexclave/shared/dist/utils/urls";
|
|
8
7
|
import { AsyncCache } from "@hexclave/shared/dist/utils/caches";
|
|
8
|
+
import { deindent } from "@hexclave/shared/dist/utils/strings";
|
|
9
9
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
10
10
|
import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
|
|
11
11
|
import { createGlobal, getGlobal } from "@hexclave/shared/dist/utils/globals";
|
|
@@ -15,8 +15,8 @@ import { envVars } from "../../../../generated/env.js";
|
|
|
15
15
|
import { suspendIfSsr } from "../../../../utils/react.js";
|
|
16
16
|
import { resolveHandlerUrls } from "../../url-targets.js";
|
|
17
17
|
//#region src/lib/hexclave-app/apps/implementations/common.ts
|
|
18
|
-
const clientVersion = "js @hexclave/next@1.0.
|
|
19
|
-
if ("js @hexclave/next@1.0.
|
|
18
|
+
const clientVersion = "js @hexclave/next@1.0.88";
|
|
19
|
+
if ("js @hexclave/next@1.0.88".startsWith("STACK_COMPILE_TIME"));
|
|
20
20
|
const replaceHexclavePortPrefix = (input) => {
|
|
21
21
|
if (!input) return input;
|
|
22
22
|
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,6 +1,6 @@
|
|
|
1
|
+
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
1
2
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
3
|
import { canMountIntoDom, getGlobalUiInstance, h, setGlobalUiInstance } from "../in-page-ui/dom.js";
|
|
3
|
-
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
4
4
|
import { isLikelyDevelopmentEnvironment } from "../in-page-ui/dev-environment.js";
|
|
5
5
|
import { getIssueCardCSS, renderIssueCard, renderIssuePill, trapFocusInIssueCard } from "../in-page-ui/issue-card.js";
|
|
6
6
|
//#region src/pushed-config-error-overlay/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { canMountIntoDom, getGlobalUiInstance, h, setGlobalUiInstance } from "../in-page-ui/dom.js";
|
|
2
1
|
import { HexclaveSetupError, captureError, errorToNiceString } from "@hexclave/shared/dist/utils/errors";
|
|
2
|
+
import { canMountIntoDom, getGlobalUiInstance, h, setGlobalUiInstance } from "../in-page-ui/dom.js";
|
|
3
3
|
import { isLikelyDevelopmentEnvironment } from "../in-page-ui/dev-environment.js";
|
|
4
4
|
import { getIssueCardCSS, renderIssueCard, renderIssuePill, trapFocusInIssueCard } from "../in-page-ui/issue-card.js";
|
|
5
5
|
//#region src/setup-error-overlay/index.ts
|
package/dist/esm/utils/react.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { deindent } from "@hexclave/shared/dist/utils/strings";
|
|
3
2
|
import { useSearchParams } from "next/navigation";
|
|
3
|
+
import { deindent } from "@hexclave/shared/dist/utils/strings";
|
|
4
4
|
import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
|
|
5
5
|
import { NO_SUSPENSE_BOUNDARY_ERROR_SENTINEL, ensureMonkeyPatch } from "./monkey-patch.js";
|
|
6
6
|
//#region src/utils/react.tsx
|
package/dist/lib/auth.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
3
2
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
4
3
|
let _hexclave_shared = require("@hexclave/shared");
|
|
4
|
+
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
5
5
|
let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
|
|
6
6
|
let ___utils_url_js = require("../utils/url.js");
|
|
7
7
|
let __cookie_js = require("./cookie.js");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-DB_M8H8-.js";
|
|
2
2
|
export { _HexclaveAdminAppImplIncomplete };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as stripBrowserActionQueryParam, r as _HexclaveClientAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { i as stripBrowserActionQueryParam, r as _HexclaveClientAppImplIncomplete } from "../../../../admin-app-impl-DB_M8H8-.js";
|
|
2
2
|
export { _HexclaveClientAppImplIncomplete, stripBrowserActionQueryParam };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../../../../rolldown-runtime-D6vf50IK.js");
|
|
3
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
|
-
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
5
3
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
4
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
6
5
|
let react = require("react");
|
|
7
6
|
react = require_rolldown_runtime.__toESM(react);
|
|
8
7
|
let _hexclave_shared = require("@hexclave/shared");
|
|
@@ -11,6 +10,7 @@ let _hexclave_shared_dist_utils_objects = require("@hexclave/shared/dist/utils/o
|
|
|
11
10
|
let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
|
|
12
11
|
let next_navigation = require("next/navigation");
|
|
13
12
|
next_navigation = require_rolldown_runtime.__toESM(next_navigation);
|
|
13
|
+
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
14
14
|
let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
|
|
15
15
|
let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
|
|
16
16
|
let __common_js = require("./common.js");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../../../../rolldown-runtime-D6vf50IK.js");
|
|
3
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
|
-
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
5
3
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
4
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
6
5
|
let react = require("react");
|
|
7
6
|
react = require_rolldown_runtime.__toESM(react);
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let _hexclave_shared_dist_utils_objects = require("@hexclave/shared/dist/utils/objects");
|
|
10
9
|
let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
|
|
11
10
|
let _hexclave_shared_dist_utils_caches = require("@hexclave/shared/dist/utils/caches");
|
|
11
|
+
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
12
12
|
let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
|
|
13
13
|
let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
|
|
14
14
|
let _hexclave_shared_dist_utils_globals = require("@hexclave/shared/dist/utils/globals");
|
|
@@ -18,8 +18,8 @@ let ____________generated_env_js = require("../../../../generated/env.js");
|
|
|
18
18
|
let ____________utils_react_js = require("../../../../utils/react.js");
|
|
19
19
|
let ______url_targets_js = require("../../url-targets.js");
|
|
20
20
|
//#region src/lib/hexclave-app/apps/implementations/common.ts
|
|
21
|
-
const clientVersion = "js @hexclave/next@1.0.
|
|
22
|
-
if ("js @hexclave/next@1.0.
|
|
21
|
+
const clientVersion = "js @hexclave/next@1.0.88";
|
|
22
|
+
if ("js @hexclave/next@1.0.88".startsWith("STACK_COMPILE_TIME"));
|
|
23
23
|
const replaceHexclavePortPrefix = (input) => {
|
|
24
24
|
if (!input) return input;
|
|
25
25
|
const prefix = ____________generated_env_js.envVars.HEXCLAVE_PORT_PREFIX;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
2
3
|
let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
|
|
3
4
|
let _hexclave_shared_dist_utils_dom = require("@hexclave/shared/dist/utils/dom");
|
|
4
5
|
let _hexclave_shared_dist_utils_elements_chain = require("@hexclave/shared/dist/utils/elements-chain");
|
|
5
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
6
6
|
let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
|
|
7
7
|
let __session_replay_js = require("./session-replay.js");
|
|
8
8
|
//#region src/lib/hexclave-app/apps/implementations/event-tracker.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _HexclaveServerAppImplIncomplete, r as _HexclaveClientAppImplIncomplete, t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { n as _HexclaveServerAppImplIncomplete, r as _HexclaveClientAppImplIncomplete, t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-DB_M8H8-.js";
|
|
2
2
|
|
|
3
3
|
//#region src/lib/hexclave-app/apps/implementations/index.d.ts
|
|
4
4
|
declare const _HexclaveAdminAppImpl: typeof _HexclaveAdminAppImplIncomplete, _HexclaveClientAppImpl: typeof _HexclaveClientAppImplIncomplete, _HexclaveServerAppImpl: typeof _HexclaveServerAppImplIncomplete;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _HexclaveServerAppImplIncomplete } from "../../../../admin-app-impl-
|
|
1
|
+
import { n as _HexclaveServerAppImplIncomplete } from "../../../../admin-app-impl-DB_M8H8-.js";
|
|
2
2
|
export { _HexclaveServerAppImplIncomplete };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
3
2
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
3
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let _hexclave_shared = require("@hexclave/shared");
|
|
6
6
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
3
2
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
3
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
4
|
let _hexclave_shared_dist_utils_results = require("@hexclave/shared/dist/utils/results");
|
|
5
5
|
let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
|
|
6
6
|
let _hexclave_shared_dist_known_errors = require("@hexclave/shared/dist/known-errors");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.js");
|
|
4
|
-
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
5
4
|
let _hexclave_ui = require("@hexclave/ui");
|
|
6
5
|
let react = require("react");
|
|
7
6
|
react = require_rolldown_runtime.__toESM(react);
|
|
8
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
8
|
let color = require("color");
|
|
10
9
|
color = require_rolldown_runtime.__toESM(color);
|
|
10
|
+
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
11
11
|
let ___generated_global_css_js = require("../generated/global-css.js");
|
|
12
12
|
let ___utils_browser_script_js = require("../utils/browser-script.js");
|
|
13
13
|
let ___utils_constants_js = require("../utils/constants.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
2
3
|
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
3
4
|
let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
|
|
4
|
-
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
5
5
|
let ___in_page_ui_dev_environment_js = require("../in-page-ui/dev-environment.js");
|
|
6
6
|
let ___in_page_ui_issue_card_js = require("../in-page-ui/issue-card.js");
|
|
7
7
|
//#region src/pushed-config-error-overlay/index.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
|
|
3
2
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
3
|
+
let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
|
|
4
4
|
let ___in_page_ui_dev_environment_js = require("../in-page-ui/dev-environment.js");
|
|
5
5
|
let ___in_page_ui_issue_card_js = require("../in-page-ui/issue-card.js");
|
|
6
6
|
//#region src/setup-error-overlay/index.ts
|
package/dist/utils/react.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
4
3
|
let next_navigation = require("next/navigation");
|
|
4
|
+
let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
|
|
5
5
|
let _hexclave_shared_dist_utils_env = require("@hexclave/shared/dist/utils/env");
|
|
6
6
|
let __monkey_patch_js = require("./monkey-patch.js");
|
|
7
7
|
//#region src/utils/react.tsx
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)",
|
|
3
3
|
"name": "@hexclave/next",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.88",
|
|
5
5
|
"repository": "https://github.com/hexclave/hexclave",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"tailwindcss-animate": "^1.0.7",
|
|
75
75
|
"rrweb": "^1.1.3",
|
|
76
76
|
"yup": "^1.7.1",
|
|
77
|
-
"@hexclave/sc": "1.0.
|
|
78
|
-
"@hexclave/
|
|
79
|
-
"@hexclave/
|
|
77
|
+
"@hexclave/sc": "1.0.88",
|
|
78
|
+
"@hexclave/ui": "1.0.88",
|
|
79
|
+
"@hexclave/shared": "1.0.88"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"@types/react": ">=18.0.0",
|