@steadphast/connector-nextjs 0.5.4 → 0.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.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * App Router collector entry. Server-owned configuration enables rendering and supplies the
3
+ * destination; authenticated middleware context authorizes server-side beacon nonce minting.
4
+ * This entry is separate so middleware never imports next/headers or React.
5
+ */
6
+ import type { ReactElement } from "react";
7
+ import { type DiscoverNextConfig } from "./config.js";
8
+ export interface DiscoverCollectorProps {
9
+ /** Server-owned tenant settings shared with withDiscover. Missing settings fail closed. */
10
+ config?: DiscoverNextConfig;
11
+ /** Optional server-owned Content Security Policy nonce. Never copied from visitor headers. */
12
+ nonce?: string;
13
+ }
14
+ export declare function DiscoverCollector(props?: DiscoverCollectorProps): Promise<ReactElement | null>;