@midscene/android-playground 0.27.5 → 0.27.6
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 +2 -2
- package/dist/lib/index.js +2 -3
- package/package.json +4 -4
- package/static/index.html +1 -1
- package/static/static/js/{index.99f85954.js → index.96438618.js} +5 -5
- package/static/static/js/index.96438618.js.map +1 -0
- package/static/static/js/index.99f85954.js.map +0 -1
- /package/static/static/js/{index.99f85954.js.LICENSE.txt → index.96438618.js.LICENSE.txt} +0 -0
package/dist/es/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import node_path from "node:path";
|
|
2
2
|
import { AndroidAgent, AndroidDevice } from "@midscene/android";
|
|
3
|
+
import { PlaygroundServer } from "@midscene/playground";
|
|
3
4
|
import { PLAYGROUND_SERVER_PORT, SCRCPY_SERVER_PORT } from "@midscene/shared/constants";
|
|
4
|
-
import midscene_server from "@midscene/web/midscene-server";
|
|
5
5
|
import { exec } from "node:child_process";
|
|
6
6
|
import { createReadStream } from "node:fs";
|
|
7
7
|
import { createServer } from "node:http";
|
|
@@ -361,7 +361,7 @@ class ScrcpyServer {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
const staticDir = node_path.join(__dirname, '../../static');
|
|
364
|
-
const playgroundServer = new
|
|
364
|
+
const playgroundServer = new PlaygroundServer(AndroidDevice, AndroidAgent, staticDir);
|
|
365
365
|
const scrcpyServer = new ScrcpyServer();
|
|
366
366
|
const main = async ()=>{
|
|
367
367
|
const { default: open } = await import("open");
|
package/dist/lib/index.js
CHANGED
|
@@ -66,9 +66,8 @@ var __webpack_exports__ = {};
|
|
|
66
66
|
const external_node_path_namespaceObject = require("node:path");
|
|
67
67
|
var external_node_path_default = /*#__PURE__*/ __webpack_require__.n(external_node_path_namespaceObject);
|
|
68
68
|
const android_namespaceObject = require("@midscene/android");
|
|
69
|
+
const playground_namespaceObject = require("@midscene/playground");
|
|
69
70
|
const constants_namespaceObject = require("@midscene/shared/constants");
|
|
70
|
-
const midscene_server_namespaceObject = require("@midscene/web/midscene-server");
|
|
71
|
-
var midscene_server_default = /*#__PURE__*/ __webpack_require__.n(midscene_server_namespaceObject);
|
|
72
71
|
const external_node_child_process_namespaceObject = require("node:child_process");
|
|
73
72
|
const external_node_fs_namespaceObject = require("node:fs");
|
|
74
73
|
const external_node_http_namespaceObject = require("node:http");
|
|
@@ -430,7 +429,7 @@ var __webpack_exports__ = {};
|
|
|
430
429
|
}
|
|
431
430
|
}
|
|
432
431
|
const staticDir = external_node_path_default().join(__dirname, '../../static');
|
|
433
|
-
const playgroundServer = new (
|
|
432
|
+
const playgroundServer = new playground_namespaceObject.PlaygroundServer(android_namespaceObject.AndroidDevice, android_namespaceObject.AndroidAgent, staticDir);
|
|
434
433
|
const scrcpyServer = new ScrcpyServer();
|
|
435
434
|
const main = async ()=>{
|
|
436
435
|
const { default: open } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "open"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/android-playground",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.6",
|
|
4
4
|
"description": "Android playground for Midscene",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"express": "^4.21.2",
|
|
26
26
|
"open": "10.1.0",
|
|
27
27
|
"socket.io": "^4.8.1",
|
|
28
|
-
"@midscene/android": "0.27.
|
|
29
|
-
"@midscene/
|
|
30
|
-
"@midscene/
|
|
28
|
+
"@midscene/android": "0.27.6",
|
|
29
|
+
"@midscene/shared": "0.27.6",
|
|
30
|
+
"@midscene/playground": "0.27.6"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@microsoft/api-extractor": "^7.52.10",
|
package/static/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Midscene Android Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.c74a0742.js"></script><script defer src="/static/js/763.40f17c2d.js"></script><script defer src="/static/js/index.
|
|
1
|
+
<!doctype html><html><head><title>Midscene Android Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.c74a0742.js"></script><script defer src="/static/js/763.40f17c2d.js"></script><script defer src="/static/js/index.96438618.js"></script><link href="/static/css/index.f652fe09.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|