alink-cli 0.1.2 → 0.1.3
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/daemon.js +1 -1
- package/package.json +1 -1
package/dist/daemon.js
CHANGED
|
@@ -4742,7 +4742,7 @@ function connect2() {
|
|
|
4742
4742
|
failures = 0;
|
|
4743
4743
|
armPingWatchdog();
|
|
4744
4744
|
console.log(`[daemon] hub says hello (protocol v${msg.v}, hub ${msg.hubVersion ?? "?"})`);
|
|
4745
|
-
send(ws, { type: "register", hostname: hostname(), daemonVersion: ownVersion(), dirs: DIRS, agents });
|
|
4745
|
+
send(ws, { type: "register", hostname: hostname(), daemonVersion: ownVersion(), dirs: DIRS, agents, e2e: CRED.enckey !== void 0 });
|
|
4746
4746
|
console.log(`[daemon] registered. Waiting for work pushed from the hub...`);
|
|
4747
4747
|
if (printedLink) return;
|
|
4748
4748
|
printedLink = true;
|
package/package.json
CHANGED