kromemo
Version:
Browser event capture SDK for Kromemo: batching, retries, dedupe, TypeScript-first.
20 lines • 594 B
TypeScript
export declare class ApiService {
private static axiosInstance;
private static apiKey;
/**
* Configures the server URL.
* @param url Server URL.
*/
static setServerUrl(url: string): void;
/**
* Configures the API Key for authentication.
* @param key API Key provided by the user.
*/
static setApiKey(key: string): void;
/**
* Sends a list of events to the server.
* @param events List of events to send.
*/
static sendEvents(events: any[]): Promise<void>;
}
//# sourceMappingURL=ApiService.d.ts.map