@hexclave/next 1.0.107 → 1.0.109

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 (81) hide show
  1. package/dist/{admin-app-impl-BmZQrPYN.d.ts → admin-app-impl-CV2m_S_f.d.ts} +7 -7
  2. package/dist/{admin-app-impl-BmZQrPYN.d.ts.map → admin-app-impl-CV2m_S_f.d.ts.map} +1 -1
  3. package/dist/components/api-key-dialogs.js +4 -4
  4. package/dist/components/credential-sign-in.js +3 -3
  5. package/dist/components/credential-sign-up.js +5 -5
  6. package/dist/components/elements/sidebar-layout.js +1 -1
  7. package/dist/components/elements/user-avatar.js +1 -1
  8. package/dist/components/magic-link-sign-in.js +5 -5
  9. package/dist/components/message-cards/no-auth-methods-message-card.js +2 -2
  10. package/dist/components/message-cards/predefined-message-card.js +1 -1
  11. package/dist/components/passkey-button.js +1 -1
  12. package/dist/components/profile-image-editor.js +1 -1
  13. package/dist/components/team-icon.js +1 -1
  14. package/dist/components/team-switcher.js +1 -1
  15. package/dist/components/user-button.js +1 -1
  16. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +2 -2
  17. package/dist/components-page/account-settings/api-keys/api-keys-page.js +1 -1
  18. package/dist/components-page/account-settings/editable-text.js +1 -1
  19. package/dist/components-page/account-settings/email-and-auth/emails-section.js +5 -5
  20. package/dist/components-page/account-settings/email-and-auth/password-section.js +4 -4
  21. package/dist/components-page/account-settings/notifications/notifications-page.js +1 -1
  22. package/dist/components-page/account-settings/payments/payments-page.js +1 -1
  23. package/dist/components-page/account-settings/profile-page/profile-page.js +1 -1
  24. package/dist/components-page/account-settings/teams/team-api-keys-section.js +1 -1
  25. package/dist/components-page/account-settings/teams/team-creation-page.js +5 -5
  26. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +5 -5
  27. package/dist/components-page/account-settings.js +3 -3
  28. package/dist/components-page/auth-page.js +1 -1
  29. package/dist/components-page/cli-auth-confirm.js +1 -1
  30. package/dist/components-page/forgot-password.js +5 -5
  31. package/dist/components-page/hexclave-handler-client.js +1 -1
  32. package/dist/components-page/mfa.js +3 -3
  33. package/dist/components-page/oauth-callback.js +1 -1
  34. package/dist/components-page/onboarding.js +4 -4
  35. package/dist/components-page/password-reset.js +8 -8
  36. package/dist/components-page/team-creation.js +5 -5
  37. package/dist/esm/components/api-key-dialogs.js +4 -4
  38. package/dist/esm/components/credential-sign-in.js +3 -3
  39. package/dist/esm/components/credential-sign-up.js +5 -5
  40. package/dist/esm/components/elements/sidebar-layout.js +1 -1
  41. package/dist/esm/components/elements/user-avatar.js +1 -1
  42. package/dist/esm/components/magic-link-sign-in.js +5 -5
  43. package/dist/esm/components/message-cards/no-auth-methods-message-card.js +2 -2
  44. package/dist/esm/components/message-cards/predefined-message-card.js +1 -1
  45. package/dist/esm/components/passkey-button.js +1 -1
  46. package/dist/esm/components/profile-image-editor.js +1 -1
  47. package/dist/esm/components/team-icon.js +1 -1
  48. package/dist/esm/components/team-switcher.js +1 -1
  49. package/dist/esm/components/user-button.js +1 -1
  50. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +2 -2
  51. package/dist/esm/components-page/account-settings/api-keys/api-keys-page.js +1 -1
  52. package/dist/esm/components-page/account-settings/editable-text.js +1 -1
  53. package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +5 -5
  54. package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +4 -4
  55. package/dist/esm/components-page/account-settings/notifications/notifications-page.js +1 -1
  56. package/dist/esm/components-page/account-settings/payments/payments-page.js +1 -1
  57. package/dist/esm/components-page/account-settings/profile-page/profile-page.js +1 -1
  58. package/dist/esm/components-page/account-settings/teams/team-api-keys-section.js +1 -1
  59. package/dist/esm/components-page/account-settings/teams/team-creation-page.js +5 -5
  60. package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +5 -5
  61. package/dist/esm/components-page/account-settings.js +3 -3
  62. package/dist/esm/components-page/auth-page.js +1 -1
  63. package/dist/esm/components-page/cli-auth-confirm.js +1 -1
  64. package/dist/esm/components-page/forgot-password.js +5 -5
  65. package/dist/esm/components-page/hexclave-handler-client.js +1 -1
  66. package/dist/esm/components-page/mfa.js +3 -3
  67. package/dist/esm/components-page/oauth-callback.js +1 -1
  68. package/dist/esm/components-page/onboarding.js +4 -4
  69. package/dist/esm/components-page/password-reset.js +7 -7
  70. package/dist/esm/components-page/team-creation.js +5 -5
  71. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +5 -5
  72. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +3 -3
  73. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
  74. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
  75. package/dist/esm/lib/hexclave-app/users/index.d.ts +1 -1
  76. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
  77. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  78. package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
  79. package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
  80. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
  81. package/package.json +4 -4
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { Button, InputOTP, InputOTPGroup, InputOTPSlot, Spinner, Typography, cn } from "@hexclave/ui";
3
- import { CheckIcon } from "lucide-react";
4
3
  import { useEffect, useMemo, useRef, useState } from "react";
5
4
  import { useStackApp } from "../index.js";
6
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
5
+ import { FormWarningText } from "../components/elements/form-warning.js";
7
6
  import { useTranslation } from "../lib/translations.js";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { KnownErrors } from "@hexclave/shared";
10
- import { FormWarningText } from "../components/elements/form-warning.js";
9
+ import { CheckIcon } from "lucide-react";
10
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
11
11
  //#region src/components-page/mfa.tsx
12
12
  function MfaForm({ onSuccess, onCancel }) {
13
13
  const hexclaveApp = useStackApp();
@@ -5,9 +5,9 @@ import { captureError } from "@hexclave/shared/dist/utils/errors";
5
5
  import { Spinner, cn } from "@hexclave/ui";
6
6
  import { useEffect, useRef, useState } from "react";
7
7
  import { useStackApp } from "../index.js";
8
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
8
  import { jsx } from "react/jsx-runtime";
10
9
  import { KnownError } from "@hexclave/shared";
10
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
11
11
  import { ErrorPage } from "./error-page.js";
12
12
  //#region src/components-page/oauth-callback.tsx
13
13
  function OAuthCallback({ fullPage }) {
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
+ import { yupResolver } from "@hookform/resolvers/yup";
4
+ import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
3
5
  import { Button, Input, Typography } from "@hexclave/ui";
4
6
  import { useState } from "react";
7
+ import { useForm } from "react-hook-form";
5
8
  import { useStackApp, useUser } from "../index.js";
9
+ import { FormWarningText } from "../components/elements/form-warning.js";
6
10
  import { useTranslation } from "../lib/translations.js";
7
11
  import { jsx, jsxs } from "react/jsx-runtime";
8
12
  import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
9
- import { yupResolver } from "@hookform/resolvers/yup";
10
- import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
11
- import { useForm } from "react-hook-form";
12
- import { FormWarningText } from "../components/elements/form-warning.js";
13
13
  //#region src/components-page/onboarding.tsx
14
14
  function Onboarding(props) {
15
15
  const { t } = useTranslation();
@@ -1,22 +1,22 @@
1
1
  "use client";
2
2
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
+ import { yupResolver } from "@hookform/resolvers/yup";
4
+ import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
5
  import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
4
6
  import { useState } from "react";
7
+ import { useForm } from "react-hook-form";
5
8
  import { useStackApp } from "../index.js";
6
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
+ import { FormWarningText } from "../components/elements/form-warning.js";
7
10
  import { useTranslation } from "../lib/translations.js";
8
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
+ import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
13
+ import * as yup from "yup";
9
14
  import { KnownErrors } from "@hexclave/shared";
15
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
10
16
  import { use } from "@hexclave/shared/dist/utils/react";
11
17
  import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
12
18
  import { PredefinedMessageCard } from "../components/message-cards/predefined-message-card.js";
13
- import { yupResolver } from "@hookform/resolvers/yup";
14
- import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
15
- import { useForm } from "react-hook-form";
16
- import { FormWarningText } from "../components/elements/form-warning.js";
17
19
  import { cacheFunction } from "@hexclave/shared/dist/utils/caches";
18
- import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
19
- import * as yup from "yup";
20
20
  //#region src/components-page/password-reset.tsx
21
21
  function PasswordResetForm(props) {
22
22
  const { t } = useTranslation();
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { yupResolver } from "@hookform/resolvers/yup";
4
+ import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
5
  import { Button, Input, Label, Typography } from "@hexclave/ui";
4
6
  import { useState } from "react";
7
+ import { useForm } from "react-hook-form";
5
8
  import { MessageCard, useStackApp, useUser } from "../index.js";
6
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
+ import { FormWarningText } from "../components/elements/form-warning.js";
7
10
  import { useTranslation } from "../lib/translations.js";
8
11
  import { jsx, jsxs } from "react/jsx-runtime";
9
- import { yupResolver } from "@hookform/resolvers/yup";
10
- import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
11
- import { useForm } from "react-hook-form";
12
- import { FormWarningText } from "../components/elements/form-warning.js";
12
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
13
13
  //#region src/components-page/team-creation.tsx
14
14
  function TeamCreation(props) {
15
15
  const { t } = useTranslation();
@@ -1,6 +1,6 @@
1
1
  import { AnalyticsClickmapOptions, AnalyticsClickmapResponse, AnalyticsClickmapTokenResponse, MetricsResponse, MetricsUserCounts, UserActivityResponse } from "@hexclave/shared/dist/interface/admin-metrics";
2
- import { HexclaveAdminInterface } from "@hexclave/shared";
3
2
  import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
3
+ import { HexclaveAdminInterface } from "@hexclave/shared";
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";
@@ -204,7 +204,7 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
204
204
  } & {
205
205
  uniqueIdentifier: string;
206
206
  };
207
- setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-BBoN3hsn").t["Client"]["Read"] | null>) => void;
207
+ setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-yKG-BuFC").t["Client"]["Read"] | null>) => void;
208
208
  getConstructorOptions: () => {
209
209
  baseUrl?: string | {
210
210
  browser: string;
@@ -237,11 +237,11 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
237
237
  sendAnalyticsEventBatch: (body: string, options: {
238
238
  keepalive: boolean;
239
239
  }) => Promise<Result<Response, Error>>;
240
- addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-CgV2q_i1").a) => () => void;
240
+ addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-C0bnp2IJ").a) => () => void;
241
241
  sendRequest: (path: string, requestOptions: RequestInit, requestType?: "client" | "server" | "admin") => Promise<Response & {
242
242
  usedTokens: {
243
- accessToken: import("@hexclave/shared/dist/sessions-dY5utarP").t;
244
- refreshToken: import("@hexclave/shared/dist/sessions-dY5utarP").i | null;
243
+ accessToken: import("@hexclave/shared/dist/sessions-BSRS1EbE").t;
244
+ refreshToken: import("@hexclave/shared/dist/sessions-BSRS1EbE").i | null;
245
245
  } | null;
246
246
  }>;
247
247
  getUrls: () => Readonly<import("@hexclave/shared/dist/handler-urls-BHt3v8Ai").s>;
@@ -1,5 +1,5 @@
1
- import { HexclaveClientInterface, KnownError, KnownErrors } from "@hexclave/shared";
2
1
  import * as yup from "yup";
2
+ import { HexclaveClientInterface, KnownError, KnownErrors } from "@hexclave/shared";
3
3
  import { Result } from "@hexclave/shared/dist/utils/results";
4
4
  import { TokenObject } from "./common.js";
5
5
  import { ConvexCtx, GetCurrentPartialUserOptions, GetCurrentUserOptions, HandlerUrlOptions as HandlerUrlOptions$1, HandlerUrls, OAuthScopesOnSignIn, RedirectMethod, RedirectToOptions, RequestLike, ResolvedHandlerUrls as ResolvedHandlerUrls$1, TokenStoreInit, hexclaveAppInternalsSymbol } from "../../common.js";
@@ -596,8 +596,8 @@ declare class _HexclaveClientAppImplIncomplete<HasTokenStore extends boolean, Pr
596
596
  addRequestListener: (listener: RequestListener) => () => void;
597
597
  sendRequest: (path: string, requestOptions: RequestInit, requestType?: "client" | "server" | "admin") => Promise<Response & {
598
598
  usedTokens: {
599
- accessToken: import("@hexclave/shared/dist/sessions-dY5utarP").t;
600
- refreshToken: import("@hexclave/shared/dist/sessions-dY5utarP").i | null;
599
+ accessToken: import("@hexclave/shared/dist/sessions-BSRS1EbE").t;
600
+ refreshToken: import("@hexclave/shared/dist/sessions-BSRS1EbE").i | null;
601
601
  } | null;
602
602
  }>;
603
603
  getUrls: () => Readonly<ResolvedHandlerUrls$1>;
@@ -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.107";
19
- if ("js @hexclave/next@1.0.107".startsWith("STACK_COMPILE_TIME"));
18
+ const clientVersion = "js @hexclave/next@1.0.109";
19
+ if ("js @hexclave/next@1.0.109".startsWith("STACK_COMPILE_TIME"));
20
20
  const replaceHexclavePortPrefix = (input) => {
21
21
  if (!input) return input;
22
22
  const prefix = envVars.HEXCLAVE_PORT_PREFIX;
@@ -1,5 +1,5 @@
1
- import { HexclaveServerInterface, KnownErrors } from "@hexclave/shared";
2
1
  import * as yup from "yup";
2
+ import { HexclaveServerInterface, KnownErrors } from "@hexclave/shared";
3
3
  import { Result } from "@hexclave/shared/dist/utils/results";
4
4
  import { ConvexCtx, GetCurrentUserOptions } from "../../common.js";
5
5
  import { AdminProjectPermissionDefinition, AdminTeamPermission, AdminTeamPermissionDefinition } from "../../permissions/index.js";
@@ -1,5 +1,5 @@
1
- import { KnownErrors } from "@hexclave/shared";
2
1
  import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
2
+ import { KnownErrors } from "@hexclave/shared";
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,2 +1,2 @@
1
- import { t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-BmZQrPYN.js";
1
+ import { t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-CV2m_S_f.js";
2
2
  export { _HexclaveAdminAppImplIncomplete };
@@ -1,2 +1,2 @@
1
- import { i as stripBrowserActionQueryParam, r as _HexclaveClientAppImplIncomplete } from "../../../../admin-app-impl-BmZQrPYN.js";
1
+ import { i as stripBrowserActionQueryParam, r as _HexclaveClientAppImplIncomplete } from "../../../../admin-app-impl-CV2m_S_f.js";
2
2
  export { _HexclaveClientAppImplIncomplete, stripBrowserActionQueryParam };
@@ -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.107";
22
- if ("js @hexclave/next@1.0.107".startsWith("STACK_COMPILE_TIME"));
21
+ const clientVersion = "js @hexclave/next@1.0.109";
22
+ if ("js @hexclave/next@1.0.109".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,4 +1,4 @@
1
- import { n as _HexclaveServerAppImplIncomplete, r as _HexclaveClientAppImplIncomplete, t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-BmZQrPYN.js";
1
+ import { n as _HexclaveServerAppImplIncomplete, r as _HexclaveClientAppImplIncomplete, t as _HexclaveAdminAppImplIncomplete } from "../../../../admin-app-impl-CV2m_S_f.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-BmZQrPYN.js";
1
+ import { n as _HexclaveServerAppImplIncomplete } from "../../../../admin-app-impl-CV2m_S_f.js";
2
2
  export { _HexclaveServerAppImplIncomplete };
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.107",
4
+ "version": "1.0.109",
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.107",
78
- "@hexclave/shared": "1.0.107",
79
- "@hexclave/ui": "1.0.107"
77
+ "@hexclave/sc": "1.0.109",
78
+ "@hexclave/shared": "1.0.109",
79
+ "@hexclave/ui": "1.0.109"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@types/react": ">=18.0.0",