@midscene/core 1.7.6 → 1.7.7-beta-20260428092036.0

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.
@@ -111,6 +111,13 @@ export type IOSDeviceInputOpt = {
111
111
  export type IOSDeviceOpt = {
112
112
  /** Device ID (UDID) to connect to */
113
113
  deviceId?: string;
114
+ /**
115
+ * Optional npm module path used to override the default iOS device implementation.
116
+ * The target module must export an `IOSDevice` class (or default export) compatible with Midscene's iOS device interface.
117
+ */
118
+ iOSDeviceClassOverride?: string;
119
+ /** Alias of `iOSDeviceClassOverride` for lower-case acronym style. */
120
+ iosDeviceClassOverride?: string;
114
121
  /** Custom device actions to register */
115
122
  customActions?: DeviceAction<any>[];
116
123
  /** WebDriverAgent port (default: 8100) */
@@ -530,6 +530,7 @@ export interface DeviceAction<TParam = any, TReturn = any> {
530
530
  interfaceAlias?: string;
531
531
  paramSchema?: z.ZodType<TParam>;
532
532
  call: (param: TParam, context: ExecutorContext) => Promise<TReturn> | TReturn;
533
+ delayBeforeRunner?: number;
533
534
  delayAfterRunner?: number;
534
535
  /**
535
536
  * An example param object for this action.
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.6",
4
+ "version": "1.7.7-beta-20260428092036.0",
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.6"
100
+ "@midscene/shared": "1.7.7-beta-20260428092036.0"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@rslib/core": "^0.18.3",