@2l/ewa-analytics-web-sdk
Version:
A lightweight TypeScript SDK for tracking user events and analytics data in web applications. Provides real-time event tracking with support for both WebSocket and HTTP transport methods.
11 lines • 367 B
TypeScript
export interface RequestOptions extends RequestInit {
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
headers?: Record<string, string>;
queryParameters?: Record<string, string>;
body?: BodyInit | null | undefined;
}
export interface ClientConfig {
baseURL?: string;
headers?: Record<string, string>;
}
//# sourceMappingURL=types.d.ts.map