research-agent-ui 0.1.63 → 0.1.65

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.
@@ -12,10 +12,17 @@ interface SessionContextType {
12
12
  signIn: () => void;
13
13
  signOut: () => Promise<void>;
14
14
  }
15
- export declare function SessionProvider({ children, authClient, }: {
15
+ export declare function SessionProvider({ children, authClient, enableGoogleOneTap, }: {
16
16
  children: React.ReactNode;
17
17
  /** Configured better-auth (or compatible) client used to manage the session. */
18
18
  authClient: ResearchAgentAuthClient;
19
+ /**
20
+ * Whether to prompt Google One Tap for unauthenticated users. Callers whose
21
+ * backend doesn't have the Google provider configured should pass `false`
22
+ * to avoid triggering a One Tap prompt that can only fail (the app has no
23
+ * way to resolve the resulting sign-in). Defaults to `true`.
24
+ */
25
+ enableGoogleOneTap?: boolean;
19
26
  }): import("react").JSX.Element;
20
27
  export declare function useSession(): SessionContextType;
21
28
  export {};