@hexclave/next 1.0.12 → 1.0.14
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/api-key-dialogs.js +5 -5
- package/dist/components/credential-sign-in.js +3 -3
- package/dist/components/credential-sign-up.js +5 -5
- package/dist/components/elements/sidebar-layout.js +1 -1
- package/dist/components/elements/user-avatar.js +1 -1
- package/dist/components/magic-link-sign-in.js +5 -5
- package/dist/components/message-cards/predefined-message-card.js +1 -1
- package/dist/components/passkey-button.js +1 -1
- package/dist/components/profile-image-editor.js +1 -1
- package/dist/components/team-icon.js +1 -1
- package/dist/components/team-switcher.js +2 -2
- package/dist/components/user-button.js +1 -1
- package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
- package/dist/components-page/account-settings/editable-text.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/emails-section.js +3 -3
- 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 +3 -3
- package/dist/components-page/account-settings/teams/team-api-keys-section.js +1 -1
- package/dist/components-page/account-settings/teams/team-creation-page.js +3 -3
- package/dist/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
- package/dist/components-page/account-settings.js +3 -3
- package/dist/components-page/auth-page.js +2 -2
- package/dist/components-page/cli-auth-confirm.js +1 -1
- package/dist/components-page/email-verification.js +1 -1
- package/dist/components-page/forgot-password.js +5 -5
- package/dist/components-page/hexclave-handler-client.js +2 -2
- package/dist/components-page/magic-link-callback.js +1 -1
- package/dist/components-page/mfa.js +3 -3
- package/dist/components-page/oauth-callback.js +2 -2
- package/dist/components-page/onboarding.js +4 -4
- package/dist/components-page/password-reset.js +8 -8
- package/dist/components-page/team-creation.js +5 -5
- package/dist/dev-tool/index.js +1 -1
- package/dist/esm/components/api-key-dialogs.js +5 -5
- package/dist/esm/components/credential-sign-in.js +3 -3
- package/dist/esm/components/credential-sign-up.js +5 -5
- package/dist/esm/components/elements/sidebar-layout.js +1 -1
- package/dist/esm/components/elements/user-avatar.js +1 -1
- package/dist/esm/components/magic-link-sign-in.js +5 -5
- package/dist/esm/components/message-cards/predefined-message-card.js +1 -1
- package/dist/esm/components/passkey-button.js +1 -1
- package/dist/esm/components/profile-image-editor.js +1 -1
- package/dist/esm/components/team-icon.js +1 -1
- package/dist/esm/components/team-switcher.js +2 -2
- package/dist/esm/components/user-button.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/editable-text.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +3 -3
- 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 +3 -3
- package/dist/esm/components-page/account-settings/teams/team-api-keys-section.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-creation-page.js +3 -3
- package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
- package/dist/esm/components-page/account-settings.d.ts +1 -1
- package/dist/esm/components-page/account-settings.js +3 -3
- package/dist/esm/components-page/auth-page.js +2 -2
- package/dist/esm/components-page/cli-auth-confirm.js +1 -1
- package/dist/esm/components-page/email-verification.js +1 -1
- package/dist/esm/components-page/forgot-password.js +5 -5
- package/dist/esm/components-page/hexclave-handler-client.js +2 -2
- package/dist/esm/components-page/magic-link-callback.js +1 -1
- package/dist/esm/components-page/mfa.js +3 -3
- package/dist/esm/components-page/oauth-callback.js +2 -2
- package/dist/esm/components-page/onboarding.js +4 -4
- package/dist/esm/components-page/password-reset.js +7 -7
- package/dist/esm/components-page/team-creation.js +5 -5
- package/dist/esm/dev-tool/index.js +1 -1
- package/dist/esm/generated/quetzal-translations.d.ts +2 -2
- package/dist/esm/lib/auth.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +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/lib/hexclave-app/users/index.d.ts +1 -1
- package/dist/esm/providers/translation-provider.js +1 -1
- package/dist/generated/quetzal-translations.d.ts +2 -2
- package/dist/lib/auth.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
- 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/translation-provider.js +1 -1
- package/package.json +4 -4
package/dist/esm/lib/auth.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HexclaveAssertionError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
1
|
import { KnownError } from "@hexclave/shared";
|
|
2
|
+
import { HexclaveAssertionError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import { deindent } from "@hexclave/shared/dist/utils/strings";
|
|
5
5
|
import { constructRedirectUrl } from "../utils/url.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
2
1
|
import { HexclaveAdminInterface } from "@hexclave/shared";
|
|
2
|
+
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import * as _hexclave_shared_dist_interface_handler_urls0 from "@hexclave/shared/dist/interface/handler-urls";
|
|
5
5
|
import * as _hexclave_shared_dist_sessions0 from "@hexclave/shared/dist/sessions";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HexclaveAssertionError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
1
|
import { useMemo } from "react";
|
|
3
2
|
import { HexclaveAdminInterface, KnownErrors } from "@hexclave/shared";
|
|
3
|
+
import { HexclaveAssertionError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
4
4
|
import { pick, typedEntries, typedValues } from "@hexclave/shared/dist/utils/objects";
|
|
5
5
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
6
6
|
import { clientVersion, createCache, getDefaultExtraRequestHeaders, getDefaultProjectId, getDefaultPublishableClientKey, getDefaultSecretServerKey, getDefaultSuperSecretAdminKey, resolveApiUrls, resolveConstructorOptions, useAsyncCache } from "./common.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as yup from "yup";
|
|
2
1
|
import { HexclaveClientInterface, KnownErrors } from "@hexclave/shared";
|
|
2
|
+
import * as yup from "yup";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import * as _hexclave_shared_dist_sessions0 from "@hexclave/shared/dist/sessions";
|
|
5
5
|
import { InternalSession } from "@hexclave/shared/dist/sessions";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
1
|
import { neverResolve, runAsynchronously, wait } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import React, { useCallback, useMemo } from "react";
|
|
4
3
|
import { HexclaveClientInterface, KnownErrors } from "@hexclave/shared";
|
|
4
|
+
import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
5
5
|
import { suspend, suspendIfSsr, use } from "@hexclave/shared/dist/utils/react";
|
|
6
6
|
import { deepPlainEquals, omit } from "@hexclave/shared/dist/utils/objects";
|
|
7
7
|
import { createUrlIfValid, getRelativePart, isRelative } from "@hexclave/shared/dist/utils/urls";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HexclaveAssertionError, captureError, concatStacktraces, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
1
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import React, { useCallback } from "react";
|
|
3
|
+
import { HexclaveAssertionError, captureError, concatStacktraces, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
4
4
|
import { suspendIfSsr, use } from "@hexclave/shared/dist/utils/react";
|
|
5
5
|
import { filterUndefined, omit } from "@hexclave/shared/dist/utils/objects";
|
|
6
6
|
import { getDefaultApiUrls } from "@hexclave/shared/dist/utils/urls";
|
|
@@ -14,7 +14,7 @@ import { envVars } from "../../../../generated/env.js";
|
|
|
14
14
|
import { resolveHandlerUrls } from "../../url-targets.js";
|
|
15
15
|
|
|
16
16
|
//#region src/lib/hexclave-app/apps/implementations/common.ts
|
|
17
|
-
const clientVersion = "js @hexclave/next@1.0.
|
|
17
|
+
const clientVersion = "js @hexclave/next@1.0.14";
|
|
18
18
|
if (clientVersion.startsWith("STACK_COMPILE_TIME")) throw new HexclaveAssertionError("Client version was not replaced. Something went wrong during build!");
|
|
19
19
|
const replaceHexclavePortPrefix = (input) => {
|
|
20
20
|
if (!input) return input;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as yup from "yup";
|
|
2
1
|
import { HexclaveServerInterface, KnownErrors } from "@hexclave/shared";
|
|
2
|
+
import * as yup from "yup";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import { InternalSession } from "@hexclave/shared/dist/sessions";
|
|
5
5
|
import { TeamApiKeysCrud, UserApiKeysCrud, teamApiKeysCreateOutputSchema, userApiKeysCreateOutputSchema } from "@hexclave/shared/dist/interface/crud/project-api-keys";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
1
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { useMemo } from "react";
|
|
4
3
|
import { HexclaveServerInterface, KnownErrors } from "@hexclave/shared";
|
|
4
|
+
import { HexclaveAssertionError, captureError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
5
5
|
import { suspend } from "@hexclave/shared/dist/utils/react";
|
|
6
6
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
7
7
|
import { clientVersion, createCache, createCacheBySession, getDefaultExtraRequestHeaders, getDefaultProjectId, getDefaultPublishableClientKey, getDefaultSecretServerKey, resolveApiUrls, resolveConstructorOptions, useAsyncCache } from "./common.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { captureWarning } from "@hexclave/shared/dist/utils/errors";
|
|
2
1
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
+
import { captureWarning } from "@hexclave/shared/dist/utils/errors";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import { isBrowserLike } from "@hexclave/shared/dist/utils/env";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
2
1
|
import { KnownErrors } from "@hexclave/shared";
|
|
2
|
+
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
3
3
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
4
4
|
import { InternalSession } from "@hexclave/shared/dist/sessions";
|
|
5
5
|
import { ReadonlyJson } from "@hexclave/shared/dist/utils/json";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
3
3
|
import { quetzalKeys, quetzalLocales } from "../generated/quetzal-translations.js";
|
|
4
4
|
import { TranslationProviderClient } from "./translation-provider-client.js";
|
|
5
5
|
|