@camstack/addon-export-alexa 1.0.6 → 1.1.0

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.
@@ -4655,7 +4655,7 @@ function _instanceof(cls, params = {}) {
4655
4655
  return inst;
4656
4656
  }
4657
4657
  //#endregion
4658
- //#region ../types/dist/sleep-D7JeS58T.mjs
4658
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4659
4659
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4660
4660
  EventCategory["SystemBoot"] = "system.boot";
4661
4661
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5629,7 +5629,7 @@ var BaseAddon = class {
5629
5629
  deviceSettingsSchema() {
5630
5630
  return null;
5631
5631
  }
5632
- async getGlobalSettings(overlay, cap) {
5632
+ async getGlobalSettings(overlay, cap, _nodeId) {
5633
5633
  const schema = this.globalSettingsSchema(cap);
5634
5634
  if (!schema) return { sections: [] };
5635
5635
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5638,7 +5638,7 @@ var BaseAddon = class {
5638
5638
  ...overlay
5639
5639
  } : raw);
5640
5640
  }
5641
- async updateGlobalSettings(patch) {
5641
+ async updateGlobalSettings(patch, _nodeId) {
5642
5642
  await this._ctx?.settings?.writeAddonStore(patch);
5643
5643
  await this.resolveConfig();
5644
5644
  await this.onConfigChanged();
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
4629
4629
  return inst;
4630
4630
  }
4631
4631
  //#endregion
4632
- //#region ../types/dist/sleep-D7JeS58T.mjs
4632
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4633
4633
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4634
4634
  EventCategory["SystemBoot"] = "system.boot";
4635
4635
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5603,7 +5603,7 @@ var BaseAddon = class {
5603
5603
  deviceSettingsSchema() {
5604
5604
  return null;
5605
5605
  }
5606
- async getGlobalSettings(overlay, cap) {
5606
+ async getGlobalSettings(overlay, cap, _nodeId) {
5607
5607
  const schema = this.globalSettingsSchema(cap);
5608
5608
  if (!schema) return { sections: [] };
5609
5609
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5612,7 +5612,7 @@ var BaseAddon = class {
5612
5612
  ...overlay
5613
5613
  } : raw);
5614
5614
  }
5615
- async updateGlobalSettings(patch) {
5615
+ async updateGlobalSettings(patch, _nodeId) {
5616
5616
  await this._ctx?.settings?.writeAddonStore(patch);
5617
5617
  await this.resolveConfig();
5618
5618
  await this.onConfigChanged();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",