humanish 0.96.0 → 0.96.1

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/run.d.ts CHANGED
@@ -281,7 +281,7 @@ export interface RunDesktopGeometry {
281
281
  y: number;
282
282
  width: number;
283
283
  height: number;
284
- source: "cdp" | "xdotool";
284
+ source: "cdp" | "xdotool" | "xwininfo";
285
285
  };
286
286
  /** Browser CSS layout viewport measured from the running page, never copied from config. */
287
287
  viewport?: {
package/dist/run.js CHANGED
@@ -5636,7 +5636,7 @@ function isRunDesktopGeometry(value) {
5636
5636
  || !isFiniteNumber(browserWindow.y)
5637
5637
  || !isPositiveFiniteNumber(browserWindow.width)
5638
5638
  || !isPositiveFiniteNumber(browserWindow.height)
5639
- || (browserWindow.source !== "cdp" && browserWindow.source !== "xdotool"))) {
5639
+ || (browserWindow.source !== "cdp" && browserWindow.source !== "xdotool" && browserWindow.source !== "xwininfo"))) {
5640
5640
  return false;
5641
5641
  }
5642
5642
  const viewport = value.viewport;