@apocaliss92/nodelink-js 0.6.3 → 0.6.4
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/{chunk-Q4AXRV2G.js → chunk-UL34MR4L.js} +3 -2
- package/dist/chunk-UL34MR4L.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +2 -1
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-Q4AXRV2G.js.map +0 -1
package/dist/cli/rtsp-server.cjs
CHANGED
|
@@ -11340,6 +11340,7 @@ function readCache(uid, now) {
|
|
|
11340
11340
|
}
|
|
11341
11341
|
async function getServerBinding(uid, options = {}) {
|
|
11342
11342
|
if (!uid || typeof uid !== "string") return void 0;
|
|
11343
|
+
uid = uid.toUpperCase();
|
|
11343
11344
|
const now = Date.now();
|
|
11344
11345
|
const cached = readCache(uid, now);
|
|
11345
11346
|
if (cached?.kind === "ok") return cached.response;
|
|
@@ -31927,7 +31928,7 @@ function selectViableUdpMethods(hasUid, methods = ALL_UDP_DISCOVERY_METHODS) {
|
|
|
31927
31928
|
return methods.filter((m) => m === "local-direct");
|
|
31928
31929
|
}
|
|
31929
31930
|
function normalizeUid(uid) {
|
|
31930
|
-
const v = uid?.trim();
|
|
31931
|
+
const v = uid?.trim().toUpperCase();
|
|
31931
31932
|
return v ? v : void 0;
|
|
31932
31933
|
}
|
|
31933
31934
|
function maskUid(uid) {
|