@camstack/addon-export-hap 1.0.6 → 1.0.7

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.
@@ -4664,7 +4664,7 @@ function _instanceof(cls, params = {}) {
4664
4664
  return inst;
4665
4665
  }
4666
4666
  //#endregion
4667
- //#region ../types/dist/sleep-D7JeS58T.mjs
4667
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4668
4668
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4669
4669
  EventCategory["SystemBoot"] = "system.boot";
4670
4670
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5638,7 +5638,7 @@ var BaseAddon = class {
5638
5638
  deviceSettingsSchema() {
5639
5639
  return null;
5640
5640
  }
5641
- async getGlobalSettings(overlay, cap) {
5641
+ async getGlobalSettings(overlay, cap, _nodeId) {
5642
5642
  const schema = this.globalSettingsSchema(cap);
5643
5643
  if (!schema) return { sections: [] };
5644
5644
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5647,7 +5647,7 @@ var BaseAddon = class {
5647
5647
  ...overlay
5648
5648
  } : raw);
5649
5649
  }
5650
- async updateGlobalSettings(patch) {
5650
+ async updateGlobalSettings(patch, _nodeId) {
5651
5651
  await this._ctx?.settings?.writeAddonStore(patch);
5652
5652
  await this.resolveConfig();
5653
5653
  await this.onConfigChanged();
@@ -4639,7 +4639,7 @@ function _instanceof(cls, params = {}) {
4639
4639
  return inst;
4640
4640
  }
4641
4641
  //#endregion
4642
- //#region ../types/dist/sleep-D7JeS58T.mjs
4642
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4643
4643
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4644
4644
  EventCategory["SystemBoot"] = "system.boot";
4645
4645
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5613,7 +5613,7 @@ var BaseAddon = class {
5613
5613
  deviceSettingsSchema() {
5614
5614
  return null;
5615
5615
  }
5616
- async getGlobalSettings(overlay, cap) {
5616
+ async getGlobalSettings(overlay, cap, _nodeId) {
5617
5617
  const schema = this.globalSettingsSchema(cap);
5618
5618
  if (!schema) return { sections: [] };
5619
5619
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5622,7 +5622,7 @@ var BaseAddon = class {
5622
5622
  ...overlay
5623
5623
  } : raw);
5624
5624
  }
5625
- async updateGlobalSettings(patch) {
5625
+ async updateGlobalSettings(patch, _nodeId) {
5626
5626
  await this._ctx?.settings?.writeAddonStore(patch);
5627
5627
  await this.resolveConfig();
5628
5628
  await this.onConfigChanged();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-hap",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
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",