@midscene/android 0.22.1 → 0.22.2-beta-20250721085213.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/index.js +4 -1
- package/dist/lib/index.js +4 -1
- package/package.json +6 -5
package/dist/es/index.js
CHANGED
|
@@ -94,7 +94,10 @@ ${Object.keys(size).filter((key) => size[key]).map(
|
|
|
94
94
|
return async (...args) => {
|
|
95
95
|
try {
|
|
96
96
|
debugPage(`adb ${String(prop)} ${args.join(" ")}`);
|
|
97
|
-
return originalMethod.apply(
|
|
97
|
+
return originalMethod.apply(
|
|
98
|
+
target,
|
|
99
|
+
args
|
|
100
|
+
);
|
|
98
101
|
} catch (error) {
|
|
99
102
|
const methodName = String(prop);
|
|
100
103
|
const deviceId = this.deviceId;
|
package/dist/lib/index.js
CHANGED
|
@@ -129,7 +129,10 @@ ${Object.keys(size).filter((key) => size[key]).map(
|
|
|
129
129
|
return async (...args) => {
|
|
130
130
|
try {
|
|
131
131
|
debugPage(`adb ${String(prop)} ${args.join(" ")}`);
|
|
132
|
-
return originalMethod.apply(
|
|
132
|
+
return originalMethod.apply(
|
|
133
|
+
target,
|
|
134
|
+
args
|
|
135
|
+
);
|
|
133
136
|
} catch (error) {
|
|
134
137
|
const methodName = String(prop);
|
|
135
138
|
const deviceId = this.deviceId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/android",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2-beta-20250721085213.0",
|
|
4
4
|
"description": "Android automation library for Midscene",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Android UI automation",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"appium-adb": "12.12.1",
|
|
27
|
-
"@midscene/core": "0.22.
|
|
28
|
-
"@midscene/
|
|
29
|
-
"@midscene/
|
|
27
|
+
"@midscene/core": "0.22.2-beta-20250721085213.0",
|
|
28
|
+
"@midscene/shared": "0.22.2-beta-20250721085213.0",
|
|
29
|
+
"@midscene/web": "0.22.2-beta-20250721085213.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@modern-js/module-tools": "2.60.6",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"build:watch": "modern build -w -c ./modern.config.ts",
|
|
43
43
|
"test": "vitest --run",
|
|
44
44
|
"test:u": "vitest --run -u",
|
|
45
|
-
"test:ai": "
|
|
45
|
+
"test:ai": "AI_TEST_TYPE=android npm run test",
|
|
46
|
+
"test:ai:cache": "MIDSCENE_CACHE=true AI_TEST_TYPE=android npm run test"
|
|
46
47
|
}
|
|
47
48
|
}
|