openmagic 0.8.1 → 0.8.2
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
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.8.
|
|
1517
|
+
res.end(JSON.stringify({ status: "ok", version: "0.8.2" }));
|
|
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.8.
|
|
1575
|
+
version: "0.8.2",
|
|
1576
1576
|
roots,
|
|
1577
1577
|
config: {
|
|
1578
1578
|
provider: config.provider,
|
|
@@ -1903,7 +1903,7 @@ process.on("uncaughtException", (err) => {
|
|
|
1903
1903
|
process.exit(1);
|
|
1904
1904
|
});
|
|
1905
1905
|
var childProcesses = [];
|
|
1906
|
-
var VERSION = "0.8.
|
|
1906
|
+
var VERSION = "0.8.2";
|
|
1907
1907
|
function ask(question) {
|
|
1908
1908
|
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
1909
1909
|
return new Promise((resolve3) => {
|