UNPKG

@carpetai/rrweb-recorder

Version:

A React component for recording user sessions using rrweb. Meant to be used with CarpetAI's Analytics Agent.

21 lines (20 loc) 665 B
import { SessionData } from './types'; export declare const defaultSaveSessionData: (sessionData: SessionData, apiKey: string, apiUrl?: string) => Promise<void>; export declare const getOrCreateSessionId: (providedSessionId?: string) => string; export declare const shouldExcludePath: (excludePaths?: string[]) => boolean; export declare const createMetaEvent: () => { type: number; timestamp: number; data: { href: string; url: string; width: number; height: number; title: string; userAgent: string; viewport: { width: number; height: number; }; }; } | null;