@hexclave/tanstack-start 1.0.27 → 1.0.29

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 (88) hide show
  1. package/dist/clickmap/clickmap-core.js +1 -1
  2. package/dist/clickmap/index.js +2 -2
  3. package/dist/components/api-key-dialogs.d.ts +1 -1
  4. package/dist/components/api-key-dialogs.js +2 -2
  5. package/dist/components/credential-sign-in.js +1 -1
  6. package/dist/components/credential-sign-up.js +1 -1
  7. package/dist/components/magic-link-sign-in.js +1 -1
  8. package/dist/components/team-switcher.js +1 -1
  9. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  10. package/dist/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  11. package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  12. package/dist/components-page/account-settings/email-and-auth/password-section.js +1 -1
  13. package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
  14. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  15. package/dist/components-page/auth-page.js +1 -1
  16. package/dist/components-page/cli-auth-confirm.js +1 -1
  17. package/dist/components-page/cli-auth-confirm.test.js +1 -1
  18. package/dist/components-page/forgot-password.js +1 -1
  19. package/dist/components-page/oauth-callback.js +1 -1
  20. package/dist/components-page/onboarding.js +1 -1
  21. package/dist/components-page/password-reset.js +1 -1
  22. package/dist/components-page/team-creation.js +1 -1
  23. package/dist/dev-tool/dev-tool-core.js +2 -2
  24. package/dist/dev-tool/dev-tool-core.js.map +1 -1
  25. package/dist/dev-tool/index.js +1 -1
  26. package/dist/esm/clickmap/clickmap-core.js +1 -1
  27. package/dist/esm/clickmap/index.js +2 -2
  28. package/dist/esm/components/api-key-dialogs.d.ts +1 -1
  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 +1 -1
  45. package/dist/esm/components-page/onboarding.js +1 -1
  46. package/dist/esm/components-page/password-reset.js +1 -1
  47. package/dist/esm/components-page/team-creation.js +1 -1
  48. package/dist/esm/dev-tool/dev-tool-core.js +2 -2
  49. package/dist/esm/dev-tool/dev-tool-core.js.map +1 -1
  50. package/dist/esm/dev-tool/index.js +1 -1
  51. package/dist/esm/generated/quetzal-translations.d.ts +2 -2
  52. package/dist/esm/lib/auth.js +1 -1
  53. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
  54. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  55. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +6 -1
  56. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  57. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  58. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
  59. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  60. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  61. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  62. package/dist/esm/providers/theme-provider.js +1 -1
  63. package/dist/esm/pushed-config-error-overlay/index.js +2 -2
  64. package/dist/esm/pushed-config-error-overlay/index.js.map +1 -1
  65. package/dist/esm/pushed-config-error-overlay/index.test.d.ts +1 -0
  66. package/dist/esm/pushed-config-error-overlay/index.test.js +67 -0
  67. package/dist/esm/pushed-config-error-overlay/index.test.js.map +1 -0
  68. package/dist/generated/quetzal-translations.d.ts +2 -2
  69. package/dist/lib/auth.js +1 -1
  70. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  71. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +6 -1
  72. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  73. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  74. package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
  75. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  76. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  77. package/dist/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  78. package/dist/providers/theme-provider.js +1 -1
  79. package/dist/pushed-config-error-overlay/index.js +2 -2
  80. package/dist/pushed-config-error-overlay/index.js.map +1 -1
  81. package/dist/pushed-config-error-overlay/index.test.d.ts +1 -0
  82. package/dist/pushed-config-error-overlay/index.test.js +67 -0
  83. package/dist/pushed-config-error-overlay/index.test.js.map +1 -0
  84. package/package.json +4 -4
  85. package/src/dev-tool/dev-tool-core.ts +1 -1
  86. package/src/lib/hexclave-app/apps/implementations/admin-app-impl.ts +2 -1
  87. package/src/pushed-config-error-overlay/index.test.ts +76 -0
  88. package/src/pushed-config-error-overlay/index.ts +4 -1
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
3
4
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
5
  let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
5
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
6
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
7
7
  let ___generated_env_js = require("../generated/env.js");
8
8
 
@@ -1,9 +1,9 @@
1
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
1
2
  import { AnalyticsClickmapResponseBodySchema } from "@hexclave/shared/dist/interface/admin-metrics";
2
3
  import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
3
4
  import { CLICKMAP_ROOT_ID, DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
4
5
  import { cssEscapeIdent } from "@hexclave/shared/dist/utils/dom";
5
6
  import { buildElementsChain, parseElementsChain } from "@hexclave/shared/dist/utils/elements-chain";
6
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
7
7
  import { stringCompare } from "@hexclave/shared/dist/utils/strings";
8
8
  import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
9
9
  import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
@@ -1,7 +1,7 @@
1
- import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
1
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
2
2
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
3
4
  import { canMountIntoDom } from "../in-page-ui/dom.js";
4
- import { captureError } from "@hexclave/shared/dist/utils/errors";
5
5
 
6
6
  //#region src/clickmap/index.ts
7
7
  function consumeResumeSentinel() {
@@ -4,7 +4,7 @@ import { ApiKey, ApiKeyCreationOptions, ApiKeyType } from "../lib/hexclave-app/a
4
4
  //#region src/components/api-key-dialogs.d.ts
5
5
  declare const neverInMs: number;
6
6
  declare const expiresInOptions: {
7
- readonly [x: number]: "Never" | "1 day" | "7 days" | "30 days" | "90 days" | "1 year";
7
+ readonly [x: number]: "1 day" | "7 days" | "30 days" | "90 days" | "1 year" | "Never";
8
8
  };
9
9
  /**
10
10
  * Dialog for creating a new API key
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
- import { captureError } from "@hexclave/shared/dist/utils/errors";
5
3
  import { yupResolver } from "@hookform/resolvers/yup";
6
4
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
5
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
6
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
7
7
  import { ActionDialog, Button, CopyField, Input, Label, Typography } from "@hexclave/ui";
8
8
  import { useState } from "react";
9
9
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
3
  import { yupResolver } from "@hookform/resolvers/yup";
5
4
  import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
7
7
  import { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
3
  import { yupResolver } from "@hookform/resolvers/yup";
5
4
  import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
7
7
  import React, { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
3
  import { yupResolver } from "@hookform/resolvers/yup";
5
4
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, InputOTP, InputOTPGroup, InputOTPSlot, Label, Typography } from "@hexclave/ui";
7
7
  import { useEffect, useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
3
  import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
4
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Skeleton, Typography, cn } from "@hexclave/ui";
6
6
  import { Suspense, useMemo } from "react";
7
7
  import { useStackApp, useUser } from "../index.js";
@@ -1,5 +1,5 @@
1
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
1
  import { captureError } from "@hexclave/shared/dist/utils/errors";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
3
  import { ActionCell, Badge, Button, Skeleton, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
4
4
  import { useEffect, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { runAsynchronously } 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 { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
4
  import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
5
5
  import { useEffect, useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,5 +1,5 @@
1
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
1
  import { throwErr } from "@hexclave/shared/dist/utils/errors";
2
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
3
  import { Button, Input, Typography } from "@hexclave/ui";
4
4
  import { useEffect, useState } from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
1
  import { yupResolver } from "@hookform/resolvers/yup";
3
2
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,6 +1,6 @@
1
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
1
  import { yupResolver } from "@hookform/resolvers/yup";
3
2
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -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,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
3
  import { captureError } from "@hexclave/shared/dist/utils/errors";
4
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
6
6
  import { Suspense, useMemo } from "react";
7
7
  import { useStackApp, useUser } from "../index.js";
@@ -1,12 +1,12 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
5
4
  import { Typography } from "@hexclave/ui";
6
5
  import { useCallback, useEffect, useRef, useState } from "react";
7
6
  import { useTranslation } from "../lib/translations.js";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { useStackApp } from "../lib/hooks.js";
9
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
10
10
  import { MessageCard } from "../components/message-cards/message-card.js";
11
11
 
12
12
  //#region src/components-page/cli-auth-confirm.tsx
@@ -1,7 +1,7 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
3
2
  import React, { act } from "react";
4
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
5
5
  import { createRoot } from "react-dom/client";
6
6
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
7
7
  import { HexclaveContext } from "../providers/hexclave-context.js";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
3
  import { yupResolver } from "@hookform/resolvers/yup";
5
4
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
7
7
  import { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
3
  import { captureError } from "@hexclave/shared/dist/utils/errors";
4
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Spinner, cn } from "@hexclave/ui";
6
6
  import { useEffect, useRef, useState } from "react";
7
7
  import { useStackApp } from "../index.js";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
3
  import { yupResolver } from "@hookform/resolvers/yup";
5
4
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, Typography } from "@hexclave/ui";
7
7
  import { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
3
  import { yupResolver } from "@hookform/resolvers/yup";
5
4
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
5
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
7
7
  import { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
3
  import { yupResolver } from "@hookform/resolvers/yup";
5
4
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
5
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, Label, Typography } from "@hexclave/ui";
7
7
  import { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,5 +1,5 @@
1
- import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
2
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
+ import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
3
3
  import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
4
4
  import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
5
5
  import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
@@ -179,7 +179,7 @@ function generateRandomEmail() {
179
179
  const chars = "abcdefghijklmnopqrstuvwxyz0123456789";
180
180
  let id = "";
181
181
  for (let i = 0; i < 8; i++) id += chars[Math.floor(Math.random() * 36)];
182
- return `dev-${id}@test.hexclave.com`;
182
+ return `dev-${id}@devtool-quick-sign-up.example.com`;
183
183
  }
184
184
  function appendInlineMarkdown(container, text) {
185
185
  const tokenPattern = /(\[[^\]]+\]\([^)]+\)|`[^`\n]+`|\*\*[^*\n]+\*\*|__[^_\n]+__|\*[^*\n]+\*|_[^_\n]+_)/g;