@apocaliss92/nodelink-js 0.3.9 → 0.4.1

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.
@@ -144,7 +144,7 @@ import {
144
144
  talkTraceLog,
145
145
  traceLog,
146
146
  xmlEscape
147
- } from "./chunk-6Q6MK4WG.js";
147
+ } from "./chunk-DUHWTZ7U.js";
148
148
 
149
149
  // src/protocol/framing.ts
150
150
  function encodeHeader(h) {
@@ -7555,7 +7555,7 @@ function computeDeviceCapabilities(params) {
7555
7555
  const ptzControlRaw = supportItem ? supportItem.ptzControl : void 0;
7556
7556
  const supportExplicitlyDefinesPtz = ptzTypeRaw !== void 0 || ptzControlRaw !== void 0;
7557
7557
  const ptzExplicitlyDisabledBySupportItem = supportExplicitlyDefinesPtz && !isTruthyNumberLike(ptzTypeRaw) && !isTruthyNumberLike(ptzControlRaw);
7558
- const hasPtzFromSupportItem = isTruthyNumberLike(ptzTypeRaw) || isTruthyNumberLike(ptzControlRaw) || isTruthyNumberLike(supportItem?.ptzPreset);
7558
+ const hasPtzFromSupportItem = isTruthyNumberLike(ptzTypeRaw);
7559
7559
  const ptzDisabledBySupport = (ptzMode === "none" || ptzMode === "0") && !hasPtzFromSupportItem;
7560
7560
  const hasBatteryFromSupport = supportItem ? isTruthyNumberLike(supportItem.battery) : false;
7561
7561
  const ptzPresetRaw = supportItem ? supportItem.ptzPreset : void 0;
@@ -17818,7 +17818,7 @@ ${xml}`
17818
17818
  * @returns Test results for all stream types and profiles
17819
17819
  */
17820
17820
  async testChannelStreams(channel, logger) {
17821
- const { testChannelStreams } = await import("./DiagnosticsTools-DQDDBRM6.js");
17821
+ const { testChannelStreams } = await import("./DiagnosticsTools-XIIYZDXL.js");
17822
17822
  return await testChannelStreams({
17823
17823
  api: this,
17824
17824
  channel: this.normalizeChannel(channel),
@@ -17834,7 +17834,7 @@ ${xml}`
17834
17834
  * @returns Complete diagnostics for all channels and streams
17835
17835
  */
17836
17836
  async collectMultifocalDiagnostics(logger) {
17837
- const { collectMultifocalDiagnostics } = await import("./DiagnosticsTools-DQDDBRM6.js");
17837
+ const { collectMultifocalDiagnostics } = await import("./DiagnosticsTools-XIIYZDXL.js");
17838
17838
  return await collectMultifocalDiagnostics({
17839
17839
  api: this,
17840
17840
  logger
@@ -21516,4 +21516,4 @@ export {
21516
21516
  isTcpFailureThatShouldFallbackToUdp,
21517
21517
  autoDetectDeviceType
21518
21518
  };
21519
- //# sourceMappingURL=chunk-OGIKBDON.js.map
21519
+ //# sourceMappingURL=chunk-SDRNJQ5U.js.map