bug-reporterjs-lib
Version:
A lightweight and framework-agnostic JavaScript bug reporter with screenshot capture, error logging, and Axios error tracking. Designed to work seamlessly in Vue, React, and plain JavaScript projects.
16 lines (15 loc) • 497 B
TypeScript
import { BugReporterOptions, Locale, ModalProps } from '../types';
export declare class BugReporter {
private project;
private isJiraCredsRequired;
locale?: Locale;
constructor(options: BugReporterOptions);
private setupErrorListeners;
private isHttpError;
private setupGlobalErrorListeners;
private storeNetworkError;
private storeConsoleError;
openModal({ callback, locale }: ModalProps): Promise<void>;
private collectData;
private sendReport;
}