@push.rocks/smartpuppeteer 2.3.0 → 2.4.0

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartpuppeteer',
6
- version: '2.3.0',
6
+ version: '2.4.0',
7
7
  description: 'Provides simplified access to Puppeteer for automation and testing purposes.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSw0QkFBNEI7SUFDbEMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLDhFQUE4RTtDQUM1RixDQUFBIn0=
@@ -5,6 +5,8 @@ export declare class LiveBrowserSession {
5
5
  private readonly tabs;
6
6
  private readonly tabIdsByPage;
7
7
  private readonly outstandingFrames;
8
+ private readonly cdpFramesBeingAcknowledged;
9
+ private readonly maxOutstandingFrames;
8
10
  private browser?;
9
11
  private browserContext?;
10
12
  private browserLifetimeController?;
@@ -29,6 +31,7 @@ export declare class LiveBrowserSession {
29
31
  private admittedPublicOperations;
30
32
  private admittedInternalOperations;
31
33
  private shutdownPromise?;
34
+ private shutdownFrameDrainPromise?;
32
35
  private status;
33
36
  private activeTabId;
34
37
  private viewport;
@@ -118,6 +121,7 @@ export declare class LiveBrowserSession {
118
121
  private acknowledgeCdpFrameInBackground;
119
122
  private handleFrameAcknowledgementFailure;
120
123
  private retireOutstandingFrames;
124
+ private waitForCdpFrameAcknowledgements;
121
125
  private handlePossibleCdpDisconnection;
122
126
  private requireRawInputTarget;
123
127
  private requireSemanticActionTarget;