UNPKG

admesh-ui-sdk

Version:

Beautiful, modern React components for displaying AI-powered product recommendations with citation-based conversation ads, auto-triggered widgets, floating chat, conversational interfaces, persistent sidebar, and built-in tracking. Includes zero-code SDK

30 lines 1.02 kB
/** * AdMesh Session Manager * * IMPORTANT: This manager is STATELESS regarding session storage. * It only generates session IDs. Session storage and lifecycle management * are the responsibility of the integrating application. * * The SDK does NOT store sessions in localStorage. Third-party applications * (like Perplexica) are responsible for storing and managing session IDs * in their own storage layer. * * This design ensures: * - The SDK remains stateless and portable * - Applications have full control over session management * - No conflicts with application-level session management * - Better separation of concerns */ export declare class AdMeshSessionManager { constructor(); /** * Generate a unique session ID * * This is the ONLY responsibility of this manager. * The generated ID should be stored by the integrating application. * * @returns A unique session ID */ createSession(): string; } //# sourceMappingURL=AdMeshSessionManager.d.ts.map