@midscene/core 1.7.10-beta-20260508024212.0 → 1.7.10

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.
@@ -35,7 +35,12 @@ export type AndroidDeviceOpt = {
35
35
  screenshotResizeScale?: number;
36
36
  /** Always fetch screen info on each call; if false, cache the first result */
37
37
  alwaysRefreshScreenInfo?: boolean;
38
- /** Minimum screenshot buffer size in bytes (default: 10240 = 10KB). Set to 0 to disable validation. */
38
+ /**
39
+ * Screenshot buffer size validation threshold in bytes. Buffers below this
40
+ * value are treated as failed or corrupted captures. Defaults to 1024 (1KB).
41
+ * Set to 0 to skip only this size check; empty-buffer and image-format
42
+ * validation still run.
43
+ */
39
44
  minScreenshotBufferSize?: number;
40
45
  /**
41
46
  * Scrcpy screenshot configuration for high-performance screen capture.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midscene/core",
3
3
  "description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.",
4
- "version": "1.7.10-beta-20260508024212.0",
4
+ "version": "1.7.10",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "main": "./dist/lib/index.js",
@@ -97,7 +97,7 @@
97
97
  "semver": "7.5.2",
98
98
  "undici": "^6.0.0",
99
99
  "zod": "^3.25.1",
100
- "@midscene/shared": "1.7.10-beta-20260508024212.0"
100
+ "@midscene/shared": "1.7.10"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@rslib/core": "^0.18.3",