@apocaliss92/nodedreame 1.12.1 → 1.12.2

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/index.cjs CHANGED
@@ -132,7 +132,7 @@ module.exports = __toCommonJS(index_exports);
132
132
 
133
133
  // src/support/version.ts
134
134
  var LIBRARY_NAME = "nodedreame";
135
- var LIBRARY_VERSION = "1.12.0";
135
+ var LIBRARY_VERSION = "1.12.2";
136
136
 
137
137
  // src/transport/errors.ts
138
138
  var DreameError = class extends Error {
@@ -2741,8 +2741,11 @@ function explainNoCameraChannel(profile) {
2741
2741
  if (!profile.online) {
2742
2742
  return `${who} is a camera but is OFFLINE. The video binding is published by the device itself, so there is nothing to read until it connects \u2014 this is not a provisioning fault.`;
2743
2743
  }
2744
- const on = profile.currentVendor ?? "none";
2745
2744
  const supports = profile.supportedVendors.length > 0 ? profile.supportedVendors.join(", ") : "none";
2745
+ if (profile.currentVendor === "tx") {
2746
+ return `${who} is a camera and online, but is provisioned on the TENCENT video vendor (vendor: tx; supports: ${supports}), and this library implements only the Aliyun LinkVisual path \u2014 the channel id it needs lives on Aliyun and a tx device has none. Re-pairing or re-opening the camera in the app will not change this.`;
2747
+ }
2748
+ const on = profile.currentVendor ?? "none";
2746
2749
  return `${who} is a camera and online, but has no video channel yet (vendor: ${on}; supports: ${supports}). The device has not bound to the video service \u2014 open its camera once in the Dreame app to create the binding, then retry.`;
2747
2750
  }
2748
2751