@riddix/hamh 2.1.0-alpha.507 → 2.1.0-alpha.508

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.
@@ -151568,17 +151568,17 @@ import { createRequire } from "node:module";
151568
151568
  import os4 from "node:os";
151569
151569
  import path9 from "node:path";
151570
151570
  function resolveAppVersion() {
151571
- if (process.env.APP_VERSION) {
151572
- return process.env.APP_VERSION;
151573
- }
151574
151571
  try {
151575
151572
  const require2 = createRequire(import.meta.url);
151576
151573
  const pkg = require2("home-assistant-matter-hub/package.json");
151577
- if (pkg.version) {
151574
+ if (pkg.version && pkg.version !== "0.0.0") {
151578
151575
  return pkg.version;
151579
151576
  }
151580
151577
  } catch {
151581
151578
  }
151579
+ if (process.env.APP_VERSION) {
151580
+ return process.env.APP_VERSION;
151581
+ }
151582
151582
  return "0.0.0-dev";
151583
151583
  }
151584
151584
  var Options = class {