diff --git a/src/types/index.d.ts b/src/types/index.d.ts index cc8f9279..d0df1e20 100644 --- a/src/types/index.d.ts +++ b/src/types/index.d.ts @@ -37,6 +37,11 @@ export interface IdOptions extends Record { session_id_storage_location?: string; } +export interface EventDispatcherOptions { + enabled?: boolean; + waitForBeacon?: boolean; +} + export interface ConstructorClientOptions { apiKey: string; version?: string; @@ -53,7 +58,7 @@ export interface ConstructorClientOptions { trackingSendDelay?: number; sendTrackingEvents?: boolean; sendReferrerWithTrackingEvents?: boolean; - eventDispatcher?: EventDispatcher; + eventDispatcher?: EventDispatcherOptions; beaconMode?: boolean; networkParameters?: NetworkParameters; }