@easyflow/pixel
Version:
Easyflow client-side pixel SDK
9 lines (8 loc) • 320 B
TypeScript
type EfSession = {
id: string;
lastActivity: number;
};
export declare function getOrCreateSession(storageKey?: string, ttlMs?: number): EfSession;
export declare function touchSession(storageKey?: string): EfSession | null;
export declare function readSession(storageKey?: string): EfSession | null;
export {};