@hira-core/sdk 1.0.11 → 1.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.
package/dist/index.d.ts CHANGED
@@ -627,6 +627,19 @@ 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;
639
+ /**
640
+ * Get the current page URL.
641
+ */
642
+ getUrl(): string;
630
643
  /**
631
644
  * CDP trick — Chromium thinks tab is always focused, not throttled
632
645
  * when user switches to another tab or clicks elsewhere.