UNPKG

@shopana/ga

Version:

Type-safe Google Analytics 4 (GA4) tracking library for React and Next.js with ecommerce support, event batching, and SSR compatibility

14 lines 462 B
export declare class TransactionRegistry { private readonly transactions; private readonly ttlMs; private cleanupTimer?; private isCleared; constructor(ttlMs?: number); has(transactionId: string): boolean; add(transactionId: string): void; clear(): void; guard(transactionId: string, warn?: (message: string) => void): void; private scheduleCleanup; private cleanup; } //# sourceMappingURL=TransactionRegistry.d.ts.map