@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.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -9126,6 +9126,7 @@ function readCache(uid, now) {
|
|
|
9126
9126
|
}
|
|
9127
9127
|
async function getServerBinding(uid, options = {}) {
|
|
9128
9128
|
if (!uid || typeof uid !== "string") return void 0;
|
|
9129
|
+
uid = uid.toUpperCase();
|
|
9129
9130
|
const now = Date.now();
|
|
9130
9131
|
const cached = readCache(uid, now);
|
|
9131
9132
|
if (cached?.kind === "ok") return cached.response;
|
|
@@ -40977,7 +40978,7 @@ function selectViableUdpMethods(hasUid, methods = ALL_UDP_DISCOVERY_METHODS) {
|
|
|
40977
40978
|
return methods.filter((m) => m === "local-direct");
|
|
40978
40979
|
}
|
|
40979
40980
|
function normalizeUid(uid) {
|
|
40980
|
-
const v = uid?.trim();
|
|
40981
|
+
const v = uid?.trim().toUpperCase();
|
|
40981
40982
|
return v ? v : void 0;
|
|
40982
40983
|
}
|
|
40983
40984
|
function maskUid(uid) {
|