browser-pilot 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ interface CDPClientOptions extends TransportOptions {
29
29
  }
30
30
  interface CDPClient {
31
31
  /** Send a CDP command and wait for response */
32
- send<T = unknown>(method: string, params?: Record<string, unknown>, sessionId?: string): Promise<T>;
32
+ send<T = unknown>(method: string, params?: Record<string, unknown>, sessionId?: string | null): Promise<T>;
33
33
  /** Subscribe to a CDP event */
34
34
  on(event: string, handler: (params: Record<string, unknown>) => void): void;
35
35
  /** Unsubscribe from a CDP event */
@@ -29,7 +29,7 @@ interface CDPClientOptions extends TransportOptions {
29
29
  }
30
30
  interface CDPClient {
31
31
  /** Send a CDP command and wait for response */
32
- send<T = unknown>(method: string, params?: Record<string, unknown>, sessionId?: string): Promise<T>;
32
+ send<T = unknown>(method: string, params?: Record<string, unknown>, sessionId?: string | null): Promise<T>;
33
33
  /** Subscribe to a CDP event */
34
34
  on(event: string, handler: (params: Record<string, unknown>) => void): void;
35
35
  /** Unsubscribe from a CDP event */