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/cli/index.js
CHANGED
|
@@ -41103,9 +41103,10 @@ var init_server_connection = __esm({
|
|
|
41103
41103
|
const message = JSON.parse(text);
|
|
41104
41104
|
if (message.type === "auth_ok") {
|
|
41105
41105
|
this.reconnectAttempts = 0;
|
|
41106
|
-
|
|
41107
|
-
this.
|
|
41108
|
-
this.
|
|
41106
|
+
const payload = message.payload;
|
|
41107
|
+
this.userPlan = payload.plan || "free";
|
|
41108
|
+
this.iceServers = payload.iceServers || null;
|
|
41109
|
+
this.planLimits = payload.limits || null;
|
|
41109
41110
|
if (this.iceServers?.length) {
|
|
41110
41111
|
const hasTurn = this.iceServers.some((s) => JSON.stringify(s.urls || "").includes("turn"));
|
|
41111
41112
|
LOG.info("Server", `[ServerConn] ICE servers: ${this.iceServers.length} (TURN: ${hasTurn ? "\u2705" : "\u274C STUN only"})`);
|
|
@@ -49352,7 +49353,7 @@ var init_adhdev_daemon = __esm({
|
|
|
49352
49353
|
import_ws3 = require("ws");
|
|
49353
49354
|
import_chalk2 = __toESM(require("chalk"));
|
|
49354
49355
|
init_version();
|
|
49355
|
-
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.
|
|
49356
|
+
pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.34" });
|
|
49356
49357
|
AdhdevDaemon = class {
|
|
49357
49358
|
localHttpServer = null;
|
|
49358
49359
|
localWss = null;
|