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/index.js
CHANGED
|
@@ -30017,13 +30017,13 @@ ${e?.stack || ""}`);
|
|
|
30017
30017
|
const transport = url2.includes("transport=tcp") ? "tcp" : "udp";
|
|
30018
30018
|
const isTls = url2.startsWith("turns:");
|
|
30019
30019
|
const parts = cleanUrl.replace(/^turns?:/, "").split(":");
|
|
30020
|
-
const
|
|
30020
|
+
const hostname5 = parts[0];
|
|
30021
30021
|
const port = parseInt(parts[1]) || (isTls ? 5349 : 3478);
|
|
30022
30022
|
let relayType = "TurnUdp";
|
|
30023
30023
|
if (isTls) relayType = "TurnTls";
|
|
30024
30024
|
else if (transport === "tcp") relayType = "TurnTcp";
|
|
30025
30025
|
converted.push({
|
|
30026
|
-
hostname:
|
|
30026
|
+
hostname: hostname5,
|
|
30027
30027
|
port,
|
|
30028
30028
|
username: server.username,
|
|
30029
30029
|
password: server.credential,
|
|
@@ -30748,7 +30748,7 @@ var init_adhdev_daemon = __esm({
|
|
|
30748
30748
|
fs11 = __toESM(require("fs"));
|
|
30749
30749
|
path14 = __toESM(require("path"));
|
|
30750
30750
|
import_chalk2 = __toESM(require("chalk"));
|
|
30751
|
-
pkgVersion = "0.6.
|
|
30751
|
+
pkgVersion = "0.6.29";
|
|
30752
30752
|
if (pkgVersion === "unknown") {
|
|
30753
30753
|
try {
|
|
30754
30754
|
const possiblePaths = [
|
|
@@ -30876,6 +30876,8 @@ ${err?.stack || ""}`);
|
|
|
30876
30876
|
type: "adhdev-daemon",
|
|
30877
30877
|
version: pkgVersion,
|
|
30878
30878
|
platform: os16.platform(),
|
|
30879
|
+
hostname: os16.hostname(),
|
|
30880
|
+
machineId: config2.machineId,
|
|
30879
30881
|
instanceId
|
|
30880
30882
|
}
|
|
30881
30883
|
});
|