itwillsync 1.7.0 → 1.7.1
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/hub/daemon.js +2 -2
- package/dist/hub/daemon.js.map +1 -1
- package/dist/index.js +68 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/hub/daemon.js
CHANGED
|
@@ -4147,7 +4147,7 @@ function createInternalApi(options) {
|
|
|
4147
4147
|
}
|
|
4148
4148
|
res.writeHead(404);
|
|
4149
4149
|
res.end(JSON.stringify({ error: "Not found" }));
|
|
4150
|
-
} catch
|
|
4150
|
+
} catch {
|
|
4151
4151
|
res.writeHead(500);
|
|
4152
4152
|
res.end(JSON.stringify({ error: "Internal server error" }));
|
|
4153
4153
|
}
|
|
@@ -4612,7 +4612,7 @@ var PreviewCollector = class extends EventEmitter2 {
|
|
|
4612
4612
|
this.scheduleReconnect(sessionId, session);
|
|
4613
4613
|
}
|
|
4614
4614
|
}
|
|
4615
|
-
scheduleReconnect(sessionId,
|
|
4615
|
+
scheduleReconnect(sessionId, _session) {
|
|
4616
4616
|
const conn = this.connections.get(sessionId);
|
|
4617
4617
|
if (!conn || conn.closed) return;
|
|
4618
4618
|
conn.ws = null;
|