UNPKG

highlight.run

Version:

Open source, fullstack monitoring. Capture frontend errors, record server side logs, and visualize what broke with session replay.

18 lines (17 loc) 734 B
type Mode = 'localStorage' | 'sessionStorage'; export declare class CookieStorage { getItem(key: string): string; setItem(key: string, value: string): void; removeItem(key: string): void; } export declare const cookieStorage: CookieStorage; export declare const setStorageMode: (m: Mode) => void; export declare const setCookieWriteEnabled: (enabled: boolean) => void; export declare const getItem: (key: string) => string | null; export declare const setItem: (key: string, value: string) => void; export declare const removeItem: (key: string) => void; export declare const monkeyPatchLocalStorage: (onSetItemHandler: ({ keyName, keyValue, }: { keyName: string; keyValue: string; }) => void) => void; export {};