@apocaliss92/nodedreame 1.7.0 → 1.7.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.
package/dist/index.cjs CHANGED
@@ -67,6 +67,7 @@ __export(index_exports, {
67
67
  encodeAiFeatureWrite: () => encodeAiFeatureWrite,
68
68
  getMowerCapabilities: () => getMowerCapabilities,
69
69
  getVacuumCapabilities: () => getVacuumCapabilities,
70
+ isDreameConsumableKey: () => isDreameConsumableKey,
70
71
  renderMowerSvg: () => renderMowerSvg,
71
72
  renderVacuumPng: () => renderVacuumPng,
72
73
  resolveCapabilities: () => resolveCapabilities
@@ -75,7 +76,7 @@ module.exports = __toCommonJS(index_exports);
75
76
 
76
77
  // src/support/version.ts
77
78
  var LIBRARY_NAME = "nodedreame";
78
- var LIBRARY_VERSION = "1.7.0";
79
+ var LIBRARY_VERSION = "1.7.1";
79
80
 
80
81
  // src/transport/errors.ts
81
82
  var DreameError = class extends Error {
@@ -1661,6 +1662,9 @@ var VACUUM_CONSUMABLES = [
1661
1662
  function consumableSpec(key2) {
1662
1663
  return VACUUM_CONSUMABLES.find((c) => c.key === key2);
1663
1664
  }
1665
+ function isDreameConsumableKey(key2) {
1666
+ return VACUUM_CONSUMABLES.some((c) => c.key === key2);
1667
+ }
1664
1668
 
1665
1669
  // src/models/vacuum/capabilities.ts
1666
1670
  var X50_AI_FEATURES = [
@@ -4905,6 +4909,7 @@ function createClientDumper(client, options) {
4905
4909
  encodeAiFeatureWrite,
4906
4910
  getMowerCapabilities,
4907
4911
  getVacuumCapabilities,
4912
+ isDreameConsumableKey,
4908
4913
  renderMowerSvg,
4909
4914
  renderVacuumPng,
4910
4915
  resolveCapabilities