adhdev 0.8.33 → 0.8.34
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/index.js +5 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40606,9 +40606,10 @@ var init_server_connection = __esm({
|
|
|
40606
40606
|
const message = JSON.parse(text);
|
|
40607
40607
|
if (message.type === "auth_ok") {
|
|
40608
40608
|
this.reconnectAttempts = 0;
|
|
40609
|
-
|
|
40610
|
-
this.
|
|
40611
|
-
this.
|
|
40609
|
+
const payload = message.payload;
|
|
40610
|
+
this.userPlan = payload.plan || "free";
|
|
40611
|
+
this.iceServers = payload.iceServers || null;
|
|
40612
|
+
this.planLimits = payload.limits || null;
|
|
40612
40613
|
if (this.iceServers?.length) {
|
|
40613
40614
|
const hasTurn = this.iceServers.some((s) => JSON.stringify(s.urls || "").includes("turn"));
|
|
40614
40615
|
LOG.info("Server", `[ServerConn] ICE servers: ${this.iceServers.length} (TURN: ${hasTurn ? "\u2705" : "\u274C STUN only"})`);
|
|
@@ -48803,7 +48804,7 @@ var init_adhdev_daemon = __esm({
|
|
|
48803
48804
|
import_ws3 = require("ws");
|
|
48804
48805
|
import_chalk2 = __toESM(require("chalk"));
|
|
48805
48806
|
init_version();
|
|
48806
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.
|
|
48807
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.34" });
|
|
48807
48808
|
AdhdevDaemon = class {
|
|
48808
48809
|
localHttpServer = null;
|
|
48809
48810
|
localWss = null;
|