@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.
@@ -3,7 +3,7 @@ import {
3
3
  BaichuanRtspServer,
4
4
  ReolinkBaichuanApi,
5
5
  autoDetectDeviceType
6
- } from "../chunk-Q4AXRV2G.js";
6
+ } from "../chunk-UL34MR4L.js";
7
7
  import "../chunk-IQVVVSXO.js";
8
8
  import {
9
9
  __require
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) {