@camstack/addon-export-hap 1.2.20 → 1.2.24

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.js CHANGED
@@ -2,10 +2,10 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_export_hap_addon = require("./export-hap.addon.js");
6
- exports.ExportHapAddon = require_export_hap_addon.ExportHapAddon;
7
- exports.default = require_export_hap_addon.ExportHapAddon;
8
- exports.deriveUsername = require_export_hap_addon.deriveUsername;
9
- exports.initHapStorage = require_export_hap_addon.initHapStorage;
10
- exports.publishStandalone = require_export_hap_addon.publishStandalone;
11
- exports.unpublishAccessory = require_export_hap_addon.unpublishAccessory;
5
+ const require_hap_export_addon = require("./hap-export.addon.js");
6
+ exports.ExportHapAddon = require_hap_export_addon.ExportHapAddon;
7
+ exports.default = require_hap_export_addon.ExportHapAddon;
8
+ exports.deriveUsername = require_hap_export_addon.deriveUsername;
9
+ exports.initHapStorage = require_hap_export_addon.initHapStorage;
10
+ exports.publishStandalone = require_hap_export_addon.publishStandalone;
11
+ exports.unpublishAccessory = require_hap_export_addon.unpublishAccessory;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { ExportHapAddon, i as unpublishAccessory, n as initHapStorage, r as publishStandalone, t as deriveUsername } from "./export-hap.addon.mjs";
1
+ import { ExportHapAddon, i as unpublishAccessory, n as initHapStorage, r as publishStandalone, t as deriveUsername } from "./hap-export.addon.mjs";
2
2
  export { ExportHapAddon, ExportHapAddon as default, deriveUsername, initHapStorage, publishStandalone, unpublishAccessory };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-hap",
3
- "version": "1.2.20",
3
+ "version": "1.2.24",
4
4
  "description": "HomeKit (HAP) bridge exporter for CamStack devices. Publishes a bridged accessory per exposed device — MotionSensor in this MVP; Camera/Doorbell/Switch/Light follow.",
5
5
  "keywords": [
6
6
  "camstack",
@@ -22,6 +22,7 @@
22
22
  },
23
23
  "./package.json": "./package.json"
24
24
  },
25
+ "_entryRenameNote": "camstack.addons[0].entry was renamed export-hap.addon.js -> hap-export.addon.js on 2026-08-12. AddonLoader.importAddonModuleFresh busts Node's ESM cache with `?v=<mtimeMs>`, but `npm pack` stamps EVERY file in a tarball with the fixed mtime 499162500000 — so the module URL is byte-identical for every version of every addon, and hub-main replays the cached module record, including a cached REJECTION, forever. This addon's first load failed for real (Cannot find module '@homebridge/hap-nodejs'); that rejection was then replayed 126 times over ~10.5h and survived a redeploy whose dist provably no longer references hap-nodejs. A new entry filename is a new module URL — the only way to clear it without restarting hub-main. Fix the loader's cache-buster (an mtime is not a version) and this rename can be reverted.",
25
26
  "camstack": {
26
27
  "displayName": "HomeKit Export",
27
28
  "addons": [
@@ -30,7 +31,7 @@
30
31
  "category": "exports",
31
32
  "name": "HomeKit Export",
32
33
  "description": "Publishes a HomeKit (HAP) bridge so iOS Home can pair with exposed CamStack devices. MVP supports MotionSensor; Camera / Doorbell / Switch / Light land next.",
33
- "entry": "./dist/export-hap.addon.js",
34
+ "entry": "./dist/hap-export.addon.js",
34
35
  "execution": {
35
36
  "placement": "hub-only"
36
37
  },
@@ -42,9 +43,6 @@
42
43
  "icon": "assets/icon.svg",
43
44
  "color": "#000000"
44
45
  }
45
- ],
46
- "runtimeDependencies": [
47
- "@homebridge/hap-nodejs"
48
46
  ]
49
47
  },
50
48
  "files": [