browser-pilot 0.0.14 → 0.0.15

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.
@@ -39,6 +39,8 @@ interface CDPClient {
39
39
  attachToTarget(targetId: string): Promise<string>;
40
40
  /** Get the current session ID (after attaching to target) */
41
41
  readonly sessionId: string | undefined;
42
+ /** Override the current session ID when reusing an existing attached target */
43
+ setSessionId(sessionId: string | undefined): void;
42
44
  /** Check if connection is open */
43
45
  readonly isConnected: boolean;
44
46
  }
@@ -39,6 +39,8 @@ interface CDPClient {
39
39
  attachToTarget(targetId: string): Promise<string>;
40
40
  /** Get the current session ID (after attaching to target) */
41
41
  readonly sessionId: string | undefined;
42
+ /** Override the current session ID when reusing an existing attached target */
43
+ setSessionId(sessionId: string | undefined): void;
42
44
  /** Check if connection is open */
43
45
  readonly isConnected: boolean;
44
46
  }
@@ -1,8 +1,10 @@
1
1
  import {
2
- CDPError,
3
2
  createCDPClient,
4
3
  createCDPClientFromTransport
5
- } from "./chunk-SPSZZH22.mjs";
4
+ } from "./chunk-LCNFBXB5.mjs";
5
+ import {
6
+ CDPError
7
+ } from "./chunk-DTVRFXKI.mjs";
6
8
  export {
7
9
  CDPError,
8
10
  createCDPClient,