UNPKG

kromemo

Version:

Browser event capture SDK for Kromemo: batching, retries, dedupe, TypeScript-first.

15 lines 512 B
import { SenderResponseBody } from './types'; interface SendOptions { projectId: string; apiKey: string; endpointBase?: string; } export type SendTransport = 'fetch' | 'beacon'; export declare function sendBatchFetch(events: any[], opts: SendOptions, keepalive?: boolean): Promise<{ ok: boolean; status: number; body?: SenderResponseBody; }>; export declare function sendBatchBeacon(events: any[], opts: SendOptions): boolean; export {}; //# sourceMappingURL=sender.d.ts.map