@midscene/core 1.3.1-beta-20260128022631.0 → 1.3.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.
@@ -46,8 +46,12 @@ export type AndroidDeviceOpt = {
46
46
  *
47
47
  * @example
48
48
  * ```typescript
49
- * // Default configuration (enabled with auto-fallback)
50
- * const device = new AndroidDevice(deviceId);
49
+ * // Enable scrcpy for high-performance screenshots
50
+ * const device = new AndroidDevice(deviceId, {
51
+ * scrcpyConfig: {
52
+ * enabled: true,
53
+ * },
54
+ * });
51
55
  *
52
56
  * // Custom configuration
53
57
  * const device = new AndroidDevice(deviceId, {
@@ -58,17 +62,12 @@ export type AndroidDeviceOpt = {
58
62
  * videoBitRate: 8_000_000,
59
63
  * },
60
64
  * });
61
- *
62
- * // Disable scrcpy (force ADB mode)
63
- * const device = new AndroidDevice(deviceId, {
64
- * scrcpyConfig: { enabled: false },
65
- * });
66
65
  * ```
67
66
  */
68
67
  scrcpyConfig?: {
69
68
  /**
70
69
  * Enable scrcpy for high-performance screenshots.
71
- * @default true - Automatically enabled with fallback to ADB if unavailable
70
+ * @default false
72
71
  */
73
72
  enabled?: boolean;
74
73
  /**
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.3.1-beta-20260128022631.0",
4
+ "version": "1.3.1",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "main": "./dist/lib/index.js",
@@ -89,7 +89,7 @@
89
89
  "semver": "7.5.2",
90
90
  "undici": "^6.0.0",
91
91
  "zod": "3.24.3",
92
- "@midscene/shared": "1.3.1-beta-20260128022631.0"
92
+ "@midscene/shared": "1.3.1"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@rslib/core": "^0.18.3",