@hira-core/sdk 1.0.10 → 1.0.12
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.
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -627,6 +627,15 @@ declare class BrowserUtils<TConfig extends IFlowConfig = IFlowConfig> {
|
|
|
627
627
|
/** Virtual cursor — Bézier movement + SVG visualization */
|
|
628
628
|
private readonly hiraCursor;
|
|
629
629
|
constructor(context: IScriptContext<TConfig>);
|
|
630
|
+
/** Promise for initial cursor inject — resolved when inject finishes or fails */
|
|
631
|
+
private _cursorInitPromise;
|
|
632
|
+
/** Error from initial cursor inject — thrown on first ensureCursorReady() call */
|
|
633
|
+
private _cursorInitError;
|
|
634
|
+
/**
|
|
635
|
+
* Await initial cursor inject. If inject failed, throw error to stop flow.
|
|
636
|
+
* Called once before the first action (goto, click, etc.).
|
|
637
|
+
*/
|
|
638
|
+
private ensureCursorReady;
|
|
630
639
|
/**
|
|
631
640
|
* CDP trick — Chromium thinks tab is always focused, not throttled
|
|
632
641
|
* when user switches to another tab or clicks elsewhere.
|