@midscene/ios 0.30.5 → 0.30.6-beta-20251021115636.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.
package/dist/es/bin.mjs CHANGED
@@ -12161,7 +12161,11 @@ class device_IOSDevice {
12161
12161
  }),
12162
12162
  defineActionKeyboardPress(async (param)=>{
12163
12163
  const key = param.keyName;
12164
- await this.pressKey(key);
12164
+ if (Array.isArray(key)) {
12165
+ const keyToPress = key[key.length - 1];
12166
+ console.warn(`[iOS] Key combinations are not supported. Using last key: "${keyToPress}"`, "Original input:", key);
12167
+ await this.pressKey(keyToPress);
12168
+ } else await this.pressKey(key);
12165
12169
  }),
12166
12170
  defineAction({
12167
12171
  name: 'IOSHomeButton',
package/dist/es/index.mjs CHANGED
@@ -355,7 +355,11 @@ class IOSDevice {
355
355
  }),
356
356
  defineActionKeyboardPress(async (param)=>{
357
357
  const key = param.keyName;
358
- await this.pressKey(key);
358
+ if (Array.isArray(key)) {
359
+ const keyToPress = key[key.length - 1];
360
+ console.warn(`[iOS] Key combinations are not supported. Using last key: "${keyToPress}"`, "Original input:", key);
361
+ await this.pressKey(keyToPress);
362
+ } else await this.pressKey(key);
359
363
  }),
360
364
  defineAction({
361
365
  name: 'IOSHomeButton',
package/dist/lib/bin.js CHANGED
@@ -12299,7 +12299,11 @@ var __webpack_exports__ = {};
12299
12299
  }),
12300
12300
  (0, device_namespaceObject.defineActionKeyboardPress)(async (param)=>{
12301
12301
  const key = param.keyName;
12302
- await this.pressKey(key);
12302
+ if (Array.isArray(key)) {
12303
+ const keyToPress = key[key.length - 1];
12304
+ console.warn(`[iOS] Key combinations are not supported. Using last key: "${keyToPress}"`, "Original input:", key);
12305
+ await this.pressKey(keyToPress);
12306
+ } else await this.pressKey(key);
12303
12307
  }),
12304
12308
  (0, device_namespaceObject.defineAction)({
12305
12309
  name: 'IOSHomeButton',
package/dist/lib/index.js CHANGED
@@ -393,7 +393,11 @@ class IOSDevice {
393
393
  }),
394
394
  (0, device_namespaceObject.defineActionKeyboardPress)(async (param)=>{
395
395
  const key = param.keyName;
396
- await this.pressKey(key);
396
+ if (Array.isArray(key)) {
397
+ const keyToPress = key[key.length - 1];
398
+ console.warn(`[iOS] Key combinations are not supported. Using last key: "${keyToPress}"`, "Original input:", key);
399
+ await this.pressKey(keyToPress);
400
+ } else await this.pressKey(key);
397
401
  }),
398
402
  (0, device_namespaceObject.defineAction)({
399
403
  name: 'IOSHomeButton',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/ios",
3
- "version": "0.30.5",
3
+ "version": "0.30.6-beta-20251021115636.0",
4
4
  "description": "iOS automation library for Midscene",
5
5
  "keywords": [
6
6
  "iOS UI automation",
@@ -38,9 +38,9 @@
38
38
  "dependencies": {
39
39
  "@inquirer/prompts": "^7.8.6",
40
40
  "open": "10.1.0",
41
- "@midscene/core": "0.30.5",
42
- "@midscene/shared": "0.30.5",
43
- "@midscene/webdriver": "0.30.5"
41
+ "@midscene/core": "0.30.6-beta-20251021115636.0",
42
+ "@midscene/shared": "0.30.6-beta-20251021115636.0",
43
+ "@midscene/webdriver": "0.30.6-beta-20251021115636.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@rslib/core": "^0.11.2",
@@ -49,7 +49,7 @@
49
49
  "typescript": "^5.8.3",
50
50
  "tsx": "^4.19.2",
51
51
  "vitest": "3.0.5",
52
- "@midscene/playground": "0.30.5"
52
+ "@midscene/playground": "0.30.6-beta-20251021115636.0"
53
53
  },
54
54
  "license": "MIT",
55
55
  "scripts": {
package/static/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.f566a9ed.js"></script><script defer src="/static/js/657.5a5fe47b.js"></script><script defer src="/static/js/index.87b3a796.js"></script><link href="/static/css/index.44466eb4.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1
+ <!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.f566a9ed.js"></script><script defer src="/static/js/657.5a5fe47b.js"></script><script defer src="/static/js/index.f66fa36a.js"></script><link href="/static/css/index.44466eb4.css" rel="stylesheet"></head><body><div id="root"></div></body></html>