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/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
- this.userPlan = message.payload.plan || "free";
40610
- this.iceServers = message.payload.iceServers || null;
40611
- this.planLimits = message.payload.limits || null;
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.33" });
48807
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.34" });
48807
48808
  AdhdevDaemon = class {
48808
48809
  localHttpServer = null;
48809
48810
  localWss = null;