@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 +5 -1
- package/dist/es/index.mjs +5 -1
- package/dist/lib/bin.js +5 -1
- package/dist/lib/index.js +5 -1
- package/package.json +5 -5
- package/static/index.html +1 -1
- package/static/static/js/{index.87b3a796.js → index.f66fa36a.js} +3 -3
- package/static/static/js/index.f66fa36a.js.map +1 -0
- package/static/static/js/index.87b3a796.js.map +0 -1
- /package/static/static/js/{index.87b3a796.js.LICENSE.txt → index.f66fa36a.js.LICENSE.txt} +0 -0
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
42
|
-
"@midscene/shared": "0.30.
|
|
43
|
-
"@midscene/webdriver": "0.30.
|
|
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.
|
|
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.
|
|
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>
|