authhero 5.5.0 → 5.7.0

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.
@@ -55935,13 +55935,13 @@ export interface AuthHeroConfig {
55935
55935
  * Handler for serving admin UI static files (JS, CSS, images) at /admin/*.
55936
55936
  *
55937
55937
  * This must be a platform-specific static file handler, similar to widgetHandler.
55938
- * The handler serves the built assets from @authhero/react-admin/dist.
55938
+ * The handler serves the built assets from @authhero/admin/dist.
55939
55939
  *
55940
55940
  * @example Node.js with @hono/node-server:
55941
55941
  * ```typescript
55942
55942
  * import { serveStatic } from "@hono/node-server/serve-static";
55943
55943
  *
55944
- * const adminDistPath = path.resolve(__dirname, "../node_modules/@authhero/react-admin/dist");
55944
+ * const adminDistPath = path.resolve(__dirname, "../node_modules/@authhero/admin/dist");
55945
55945
  *
55946
55946
  * const { app } = init({
55947
55947
  * dataAdapter,
@@ -55956,7 +55956,7 @@ export interface AuthHeroConfig {
55956
55956
  /**
55957
55957
  * Pre-configured index.html string for the admin UI SPA fallback.
55958
55958
  *
55959
- * Read from @authhero/react-admin/dist/index.html with runtime config
55959
+ * Read from @authhero/admin/dist/index.html with runtime config
55960
55960
  * injected via a `<script>window.__AUTHHERO_ADMIN_CONFIG__=...</script>` tag.
55961
55961
  *
55962
55962
  * When provided, all non-asset requests to /admin/* will return this HTML,
@@ -56582,10 +56582,10 @@ export declare class WebhookDestination implements EventDestination {
56582
56582
  }
56583
56583
  export interface CreateDefaultDestinationsConfig {
56584
56584
  /**
56585
- * Data adapter — only the `logs`, `hooks`, and `users` adapters are used
56586
- * by the built-in destinations.
56585
+ * Data adapter — only the `logs`, `hooks`, `users`, and `logStreams`
56586
+ * adapters are used by the built-in destinations.
56587
56587
  */
56588
- dataAdapter: Pick<DataAdapters, "logs" | "hooks" | "users">;
56588
+ dataAdapter: Pick<DataAdapters, "logs" | "hooks" | "users" | "logStreams">;
56589
56589
  /**
56590
56590
  * Produces a Bearer access token for the given tenant, used when POSTing
56591
56591
  * `hook.*` events to the configured webhook URLs.