@midscene/android 1.0.1-beta-20251208075922.0 → 1.0.1-beta-20251208085324.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.mjs +0 -1
- package/dist/lib/index.js +2 -3
- package/package.json +5 -5
package/dist/es/index.mjs
CHANGED
|
@@ -997,7 +997,6 @@ class AndroidAgent extends Agent {
|
|
|
997
997
|
async function agentFromAdbDevice(deviceId, opts) {
|
|
998
998
|
if (!deviceId) {
|
|
999
999
|
const devices = await getConnectedDevices();
|
|
1000
|
-
if (0 === devices.length) throw new Error('No Android devices found. Please connect an Android device and ensure ADB is properly configured. Run `adb devices` to verify device connection.');
|
|
1001
1000
|
deviceId = devices[0].udid;
|
|
1002
1001
|
debugAgent('deviceId not specified, will use the first device (id = %s)', deviceId);
|
|
1003
1002
|
}
|
package/dist/lib/index.js
CHANGED
|
@@ -1044,7 +1044,6 @@ class AndroidAgent extends agent_namespaceObject.Agent {
|
|
|
1044
1044
|
async function agentFromAdbDevice(deviceId, opts) {
|
|
1045
1045
|
if (!deviceId) {
|
|
1046
1046
|
const devices = await getConnectedDevices();
|
|
1047
|
-
if (0 === devices.length) throw new Error('No Android devices found. Please connect an Android device and ensure ADB is properly configured. Run `adb devices` to verify device connection.');
|
|
1048
1047
|
deviceId = devices[0].udid;
|
|
1049
1048
|
debugAgent('deviceId not specified, will use the first device (id = %s)', deviceId);
|
|
1050
1049
|
}
|
|
@@ -1057,13 +1056,13 @@ exports.AndroidDevice = __webpack_exports__.AndroidDevice;
|
|
|
1057
1056
|
exports.agentFromAdbDevice = __webpack_exports__.agentFromAdbDevice;
|
|
1058
1057
|
exports.getConnectedDevices = __webpack_exports__.getConnectedDevices;
|
|
1059
1058
|
exports.overrideAIConfig = __webpack_exports__.overrideAIConfig;
|
|
1060
|
-
for(var
|
|
1059
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
1061
1060
|
"AndroidAgent",
|
|
1062
1061
|
"AndroidDevice",
|
|
1063
1062
|
"agentFromAdbDevice",
|
|
1064
1063
|
"getConnectedDevices",
|
|
1065
1064
|
"overrideAIConfig"
|
|
1066
|
-
].indexOf(
|
|
1065
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
1067
1066
|
Object.defineProperty(exports, '__esModule', {
|
|
1068
1067
|
value: true
|
|
1069
1068
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/android",
|
|
3
|
-
"version": "1.0.1-beta-
|
|
3
|
+
"version": "1.0.1-beta-20251208085324.0",
|
|
4
4
|
"description": "Android automation library for Midscene",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Android UI automation",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"appium-adb": "12.12.1",
|
|
30
|
-
"@midscene/core": "1.0.1-beta-
|
|
31
|
-
"@midscene/shared": "1.0.1-beta-
|
|
30
|
+
"@midscene/core": "1.0.1-beta-20251208085324.0",
|
|
31
|
+
"@midscene/shared": "1.0.1-beta-20251208085324.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@rslib/core": "^0.18.
|
|
34
|
+
"@rslib/core": "^0.18.2",
|
|
35
35
|
"@types/node": "^18.0.0",
|
|
36
36
|
"dotenv": "^16.4.5",
|
|
37
37
|
"typescript": "^5.8.3",
|
|
38
38
|
"tsx": "^4.19.2",
|
|
39
39
|
"vitest": "3.0.5",
|
|
40
40
|
"zod": "3.24.3",
|
|
41
|
-
"@midscene/playground": "1.0.1-beta-
|
|
41
|
+
"@midscene/playground": "1.0.1-beta-20251208085324.0"
|
|
42
42
|
},
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"scripts": {
|