@push.rocks/smartpuppeteer 2.6.0 → 2.7.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.6.0',
6
+ version: '2.7.0',
7
7
  description: 'Provides simplified access to Puppeteer for automation and testing purposes.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSw0QkFBNEI7SUFDbEMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLDhFQUE4RTtDQUM1RixDQUFBIn0=
@@ -1,4 +1,4 @@
1
- import type { ILiveBrowserClickOptions, ILiveBrowserCreateTabOptions, ILiveBrowserEvaluateOptions, ILiveBrowserFillOptions, ILiveBrowserFrameAcknowledgement, ILiveBrowserFrameAcknowledgementRequest, ILiveBrowserFrameIdentity, ILiveBrowserInsertTextInput, ILiveBrowserKeyInput, ILiveBrowserMouseInput, ILiveBrowserNavigateOptions, ILiveBrowserNavigationOptions, ILiveBrowserObservation, ILiveBrowserObserveOptions, ILiveBrowserOperationOptions, ILiveBrowserPressOptions, ILiveBrowserProcessState, ILiveBrowserSessionOptions, ILiveBrowserSnapshot, ILiveBrowserSnapshotOptions, ILiveBrowserState, ILiveBrowserTabState, ILiveBrowserTerminationOptions, ILiveBrowserTerminationResult, ILiveBrowserViewport, ILiveBrowserWheelInput, TLiveBrowserEventListener, TLiveBrowserJsonValue } from './smartpuppeteer.interfaces.livebrowser.js';
1
+ import type { ILiveBrowserClickOptions, ILiveBrowserCreateTabOptions, ILiveBrowserEvaluateOptions, ILiveBrowserFillOptions, ILiveBrowserFrameAcknowledgement, ILiveBrowserFrameAcknowledgementRequest, ILiveBrowserFrameIdentity, ILiveBrowserInsertTextInput, ILiveBrowserKeyInput, ILiveBrowserMouseInput, ILiveBrowserNavigateOptions, ILiveBrowserNavigationOptions, ILiveBrowserObservation, ILiveBrowserObserveOptions, ILiveBrowserOperationOptions, ILiveBrowserPressOptions, ILiveBrowserProcessState, ILiveBrowserScreencastUpdateOptions, ILiveBrowserSessionOptions, ILiveBrowserSnapshot, ILiveBrowserSnapshotOptions, ILiveBrowserState, ILiveBrowserTabState, ILiveBrowserTerminationOptions, ILiveBrowserTerminationResult, ILiveBrowserViewport, ILiveBrowserWheelInput, TLiveBrowserEventListener, TLiveBrowserJsonValue } from './smartpuppeteer.interfaces.livebrowser.js';
2
2
  export declare class LiveBrowserSession {
3
3
  private readonly options;
4
4
  private readonly eventListeners;
@@ -56,6 +56,9 @@ export declare class LiveBrowserSession {
56
56
  stop(): Promise<void>;
57
57
  acknowledgeFrame(acknowledgement: ILiveBrowserFrameAcknowledgementRequest): Promise<ILiveBrowserFrameAcknowledgement>;
58
58
  refreshScreencast(operationOptions?: ILiveBrowserOperationOptions): Promise<ILiveBrowserFrameIdentity>;
59
+ updateScreencastOptions(optionsArg: ILiveBrowserScreencastUpdateOptions, operationOptions?: ILiveBrowserOperationOptions): Promise<ILiveBrowserFrameIdentity | null>;
60
+ private restartActiveScreencast;
61
+ private abandonScreencastRestart;
59
62
  createTab(optionsArg?: ILiveBrowserCreateTabOptions, operationOptions?: ILiveBrowserOperationOptions): Promise<ILiveBrowserTabState>;
60
63
  activateTab(tabId: string, operationOptions?: ILiveBrowserOperationOptions): Promise<void>;
61
64
  closeTab(tabId: string, operationOptions?: ILiveBrowserOperationOptions): Promise<void>;
@@ -68,6 +71,9 @@ export declare class LiveBrowserSession {
68
71
  dispatchWheel(input: ILiveBrowserWheelInput): Promise<void>;
69
72
  dispatchKey(input: ILiveBrowserKeyInput): Promise<void>;
70
73
  insertText(input: ILiveBrowserInsertTextInput): Promise<void>;
74
+ private dispatchTabInput;
75
+ private pumpTabInput;
76
+ private performWheelDispatch;
71
77
  captureSnapshot(optionsArg?: ILiveBrowserSnapshotOptions, operationOptions?: ILiveBrowserOperationOptions): Promise<ILiveBrowserSnapshot>;
72
78
  observe(optionsArg?: ILiveBrowserObserveOptions, operationOptions?: ILiveBrowserOperationOptions): Promise<ILiveBrowserObservation>;
73
79
  evaluate(expressionArg: string, optionsArg?: ILiveBrowserEvaluateOptions, operationOptions?: ILiveBrowserOperationOptions): Promise<TLiveBrowserJsonValue>;
@@ -155,5 +161,4 @@ export declare class LiveBrowserSession {
155
161
  private createEvaluationExpression;
156
162
  private validateTimeout;
157
163
  private validateWaitUntil;
158
- private validateScreencastOptions;
159
164
  }