adhdev 0.6.26 → 0.6.29
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 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -30457,13 +30457,13 @@ ${e?.stack || ""}`);
|
|
|
30457
30457
|
const transport = url2.includes("transport=tcp") ? "tcp" : "udp";
|
|
30458
30458
|
const isTls = url2.startsWith("turns:");
|
|
30459
30459
|
const parts = cleanUrl.replace(/^turns?:/, "").split(":");
|
|
30460
|
-
const
|
|
30460
|
+
const hostname5 = parts[0];
|
|
30461
30461
|
const port = parseInt(parts[1]) || (isTls ? 5349 : 3478);
|
|
30462
30462
|
let relayType = "TurnUdp";
|
|
30463
30463
|
if (isTls) relayType = "TurnTls";
|
|
30464
30464
|
else if (transport === "tcp") relayType = "TurnTcp";
|
|
30465
30465
|
converted.push({
|
|
30466
|
-
hostname:
|
|
30466
|
+
hostname: hostname5,
|
|
30467
30467
|
port,
|
|
30468
30468
|
username: server.username,
|
|
30469
30469
|
password: server.credential,
|
|
@@ -31188,7 +31188,7 @@ var init_adhdev_daemon = __esm({
|
|
|
31188
31188
|
fs11 = __toESM(require("fs"));
|
|
31189
31189
|
path14 = __toESM(require("path"));
|
|
31190
31190
|
import_chalk2 = __toESM(require("chalk"));
|
|
31191
|
-
pkgVersion = "0.6.
|
|
31191
|
+
pkgVersion = "0.6.29";
|
|
31192
31192
|
if (pkgVersion === "unknown") {
|
|
31193
31193
|
try {
|
|
31194
31194
|
const possiblePaths = [
|
|
@@ -31316,6 +31316,8 @@ ${err?.stack || ""}`);
|
|
|
31316
31316
|
type: "adhdev-daemon",
|
|
31317
31317
|
version: pkgVersion,
|
|
31318
31318
|
platform: os16.platform(),
|
|
31319
|
+
hostname: os16.hostname(),
|
|
31320
|
+
machineId: config2.machineId,
|
|
31319
31321
|
instanceId
|
|
31320
31322
|
}
|
|
31321
31323
|
});
|