@stackframe/react 2.8.74 → 2.8.77

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 (46) hide show
  1. package/README.md +1 -1
  2. package/dist/components/elements/sidebar-layout.js +1 -1
  3. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  4. package/dist/components-page/account-settings/api-keys/api-keys-page.js +2 -2
  5. package/dist/components-page/account-settings/teams/team-api-keys-section.js +2 -2
  6. package/dist/components-page/stack-handler-client.js +1 -1
  7. package/dist/esm/components/elements/sidebar-layout.js +1 -1
  8. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  9. package/dist/esm/components-page/account-settings/api-keys/api-keys-page.js +2 -2
  10. package/dist/esm/components-page/account-settings/teams/team-api-keys-section.js +2 -2
  11. package/dist/esm/components-page/stack-handler-client.js +1 -1
  12. package/dist/esm/generated/quetzal-translations.d.ts +2 -2
  13. package/dist/esm/lib/stack-app/apps/implementations/admin-app-impl.d.ts +1 -22
  14. package/dist/esm/lib/stack-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  15. package/dist/esm/lib/stack-app/apps/implementations/admin-app-impl.js +1 -6
  16. package/dist/esm/lib/stack-app/apps/implementations/admin-app-impl.js.map +1 -1
  17. package/dist/esm/lib/stack-app/apps/implementations/client-app-impl.d.ts.map +1 -1
  18. package/dist/esm/lib/stack-app/apps/implementations/client-app-impl.js +2 -2
  19. package/dist/esm/lib/stack-app/apps/implementations/client-app-impl.js.map +1 -1
  20. package/dist/esm/lib/stack-app/apps/implementations/common.js +2 -2
  21. package/dist/esm/lib/stack-app/apps/implementations/server-app-impl.d.ts +1 -1
  22. package/dist/esm/lib/stack-app/apps/interfaces/admin-app.d.ts +0 -22
  23. package/dist/esm/lib/stack-app/apps/interfaces/admin-app.d.ts.map +1 -1
  24. package/dist/esm/lib/stack-app/apps/interfaces/admin-app.js.map +1 -1
  25. package/dist/esm/lib/stack-app/projects/index.d.ts +3 -0
  26. package/dist/esm/lib/stack-app/projects/index.d.ts.map +1 -1
  27. package/dist/esm/lib/stack-app/projects/index.js +1 -0
  28. package/dist/esm/lib/stack-app/projects/index.js.map +1 -1
  29. package/dist/generated/quetzal-translations.d.ts +2 -2
  30. package/dist/lib/stack-app/apps/implementations/admin-app-impl.d.ts +1 -22
  31. package/dist/lib/stack-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  32. package/dist/lib/stack-app/apps/implementations/admin-app-impl.js +1 -6
  33. package/dist/lib/stack-app/apps/implementations/admin-app-impl.js.map +1 -1
  34. package/dist/lib/stack-app/apps/implementations/client-app-impl.d.ts.map +1 -1
  35. package/dist/lib/stack-app/apps/implementations/client-app-impl.js +2 -2
  36. package/dist/lib/stack-app/apps/implementations/client-app-impl.js.map +1 -1
  37. package/dist/lib/stack-app/apps/implementations/common.js +2 -2
  38. package/dist/lib/stack-app/apps/implementations/server-app-impl.d.ts +1 -1
  39. package/dist/lib/stack-app/apps/interfaces/admin-app.d.ts +0 -22
  40. package/dist/lib/stack-app/apps/interfaces/admin-app.d.ts.map +1 -1
  41. package/dist/lib/stack-app/apps/interfaces/admin-app.js.map +1 -1
  42. package/dist/lib/stack-app/projects/index.d.ts +3 -0
  43. package/dist/lib/stack-app/projects/index.d.ts.map +1 -1
  44. package/dist/lib/stack-app/projects/index.js +1 -0
  45. package/dist/lib/stack-app/projects/index.js.map +1 -1
  46. package/package.json +3 -3
package/README.md CHANGED
@@ -12,7 +12,7 @@ We support Next.js frontends, along with any backend that can use our [REST API]
12
12
 
13
13
  1. Run Stack Auth's installation wizard with the following command:
14
14
  ```bash
15
- npx @stackframe/init-stack@latest
15
+ npx @stackframe/stack-cli@latest init
16
16
  ```
17
17
  2. Then, create an account on the [Stack Auth dashboard](https://app.stack-auth.com/projects), create a new project with an API key, and copy its environment variables into the .env.local file of your Next.js project:
18
18
  ```
@@ -7,8 +7,8 @@ let react = require("react");
7
7
  react = require_chunk.__toESM(react);
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let lucide_react = require("lucide-react");
10
- let ______index_js = require("../../index.js");
11
10
  let _stackframe_stack_shared_dist_hooks_use_hash = require("@stackframe/stack-shared/dist/hooks/use-hash");
11
+ let ______index_js = require("../../index.js");
12
12
 
13
13
  //#region src/components/elements/sidebar-layout.tsx
14
14
  function SidebarLayout(props) {
@@ -5,10 +5,10 @@ let _stackframe_stack_shared_dist_utils_promises = require("@stackframe/stack-sh
5
5
  let _stackframe_stack_ui = require("@stackframe/stack-ui");
6
6
  let react = require("react");
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
8
+ let _stackframe_stack_shared_dist_utils_dates = require("@stackframe/stack-shared/dist/utils/dates");
8
9
  let _________lib_hooks_js = require("../../../lib/hooks.js");
9
10
  let _________lib_translations_js = require("../../../lib/translations.js");
10
11
  let ___page_layout_js = require("../page-layout.js");
11
- let _stackframe_stack_shared_dist_utils_dates = require("@stackframe/stack-shared/dist/utils/dates");
12
12
 
13
13
  //#region src/components-page/account-settings/active-sessions/active-sessions-page.tsx
14
14
  function ActiveSessionsPage(props) {
@@ -3,11 +3,11 @@ const require_chunk = require('../../../chunk-BE-pF4vm.js');
3
3
  let _stackframe_stack_ui = require("@stackframe/stack-ui");
4
4
  let react = require("react");
5
5
  let react_jsx_runtime = require("react/jsx-runtime");
6
- let _________components_api_key_dialogs_js = require("../../../components/api-key-dialogs.js");
7
- let _________components_api_key_table_js = require("../../../components/api-key-table.js");
8
6
  let _________lib_hooks_js = require("../../../lib/hooks.js");
9
7
  let _________lib_translations_js = require("../../../lib/translations.js");
10
8
  let ___page_layout_js = require("../page-layout.js");
9
+ let _________components_api_key_dialogs_js = require("../../../components/api-key-dialogs.js");
10
+ let _________components_api_key_table_js = require("../../../components/api-key-table.js");
11
11
 
12
12
  //#region src/components-page/account-settings/api-keys/api-keys-page.tsx
13
13
  function ApiKeysPage(props) {
@@ -4,10 +4,10 @@ let _stackframe_stack_shared_dist_utils_errors = require("@stackframe/stack-shar
4
4
  let _stackframe_stack_ui = require("@stackframe/stack-ui");
5
5
  let react = require("react");
6
6
  let react_jsx_runtime = require("react/jsx-runtime");
7
- let _________components_api_key_dialogs_js = require("../../../components/api-key-dialogs.js");
8
- let _________components_api_key_table_js = require("../../../components/api-key-table.js");
9
7
  let _________lib_hooks_js = require("../../../lib/hooks.js");
10
8
  let _________lib_translations_js = require("../../../lib/translations.js");
9
+ let _________components_api_key_dialogs_js = require("../../../components/api-key-dialogs.js");
10
+ let _________components_api_key_table_js = require("../../../components/api-key-table.js");
11
11
  let ___section_js = require("../section.js");
12
12
 
13
13
  //#region src/components-page/account-settings/teams/team-api-keys-section.tsx
@@ -7,8 +7,8 @@ let react = require("react");
7
7
  let ___index_js = require("../index.js");
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let ___lib_hooks_js = require("../lib/hooks.js");
10
- let _stackframe_stack_shared_dist_utils_objects = require("@stackframe/stack-shared/dist/utils/objects");
11
10
  let ___components_message_cards_message_card_js = require("../components/message-cards/message-card.js");
11
+ let _stackframe_stack_shared_dist_utils_objects = require("@stackframe/stack-shared/dist/utils/objects");
12
12
  let _stackframe_stack_shared_dist_utils_urls = require("@stackframe/stack-shared/dist/utils/urls");
13
13
  let __account_settings_js = require("./account-settings.js");
14
14
  let __cli_auth_confirm_js = require("./cli-auth-confirm.js");
@@ -4,8 +4,8 @@ import { Button, Typography, cn } from "@stackframe/stack-ui";
4
4
  import React from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { XIcon } from "lucide-react";
7
- import { useStackApp } from "../../index.js";
8
7
  import { useHash } from "@stackframe/stack-shared/dist/hooks/use-hash";
8
+ import { useStackApp } from "../../index.js";
9
9
 
10
10
  //#region src/components/elements/sidebar-layout.tsx
11
11
  function SidebarLayout(props) {
@@ -3,10 +3,10 @@ import { runAsynchronously } from "@stackframe/stack-shared/dist/utils/promises"
3
3
  import { ActionCell, Badge, Button, Skeleton, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@stackframe/stack-ui";
4
4
  import { useEffect, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { fromNow } from "@stackframe/stack-shared/dist/utils/dates";
6
7
  import { useUser } from "../../../lib/hooks.js";
7
8
  import { useTranslation } from "../../../lib/translations.js";
8
9
  import { PageLayout } from "../page-layout.js";
9
- import { fromNow } from "@stackframe/stack-shared/dist/utils/dates";
10
10
 
11
11
  //#region src/components-page/account-settings/active-sessions/active-sessions-page.tsx
12
12
  function ActiveSessionsPage(props) {
@@ -1,11 +1,11 @@
1
1
  import { Button } from "@stackframe/stack-ui";
2
2
  import { useState } from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
5
- import { ApiKeyTable } from "../../../components/api-key-table.js";
6
4
  import { useUser } from "../../../lib/hooks.js";
7
5
  import { useTranslation } from "../../../lib/translations.js";
8
6
  import { PageLayout } from "../page-layout.js";
7
+ import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
8
+ import { ApiKeyTable } from "../../../components/api-key-table.js";
9
9
 
10
10
  //#region src/components-page/account-settings/api-keys/api-keys-page.tsx
11
11
  function ApiKeysPage(props) {
@@ -2,10 +2,10 @@ import { StackAssertionError } from "@stackframe/stack-shared/dist/utils/errors"
2
2
  import { Button } from "@stackframe/stack-ui";
3
3
  import { useState } from "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
6
- import { ApiKeyTable } from "../../../components/api-key-table.js";
7
5
  import { useStackApp, useUser } from "../../../lib/hooks.js";
8
6
  import { useTranslation } from "../../../lib/translations.js";
7
+ import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
8
+ import { ApiKeyTable } from "../../../components/api-key-table.js";
9
9
  import { Section } from "../section.js";
10
10
 
11
11
  //#region src/components-page/account-settings/teams/team-api-keys-section.tsx
@@ -5,8 +5,8 @@ import { useMemo } from "react";
5
5
  import { SignIn, SignUp } from "../index.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import { useStackApp as useStackApp$1 } from "../lib/hooks.js";
8
- import { filterUndefined } from "@stackframe/stack-shared/dist/utils/objects";
9
8
  import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
9
+ import { filterUndefined } from "@stackframe/stack-shared/dist/utils/objects";
10
10
  import { getRelativePart } from "@stackframe/stack-shared/dist/utils/urls";
11
11
  import { AccountSettings } from "./account-settings.js";
12
12
  import { CliAuthConfirmation } from "./cli-auth-confirm.js";