openmagic 0.7.0 → 0.8.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/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/toolbar/index.global.js +226 -643
- package/dist/toolbar/index.global.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1514,7 +1514,7 @@ function createOpenMagicServer(proxyPort, roots) {
|
|
|
1514
1514
|
"Content-Type": "application/json",
|
|
1515
1515
|
"Access-Control-Allow-Origin": "*"
|
|
1516
1516
|
});
|
|
1517
|
-
res.end(JSON.stringify({ status: "ok", version: "0.
|
|
1517
|
+
res.end(JSON.stringify({ status: "ok", version: "0.8.0" }));
|
|
1518
1518
|
return;
|
|
1519
1519
|
}
|
|
1520
1520
|
res.writeHead(404);
|
|
@@ -1572,7 +1572,7 @@ async function handleMessage(ws, msg, state, roots, _proxyPort) {
|
|
|
1572
1572
|
id: msg.id,
|
|
1573
1573
|
type: "handshake.ok",
|
|
1574
1574
|
payload: {
|
|
1575
|
-
version: "0.
|
|
1575
|
+
version: "0.8.0",
|
|
1576
1576
|
roots,
|
|
1577
1577
|
config: {
|
|
1578
1578
|
provider: config.provider,
|
|
@@ -1913,7 +1913,7 @@ process.on("uncaughtException", (err) => {
|
|
|
1913
1913
|
process.exit(1);
|
|
1914
1914
|
});
|
|
1915
1915
|
var childProcesses = [];
|
|
1916
|
-
var VERSION = "0.
|
|
1916
|
+
var VERSION = "0.8.0";
|
|
1917
1917
|
function ask(question) {
|
|
1918
1918
|
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
1919
1919
|
return new Promise((resolve3) => {
|