@camstack/addon-advanced-notifier 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.
package/dist/addon.js CHANGED
@@ -4632,7 +4632,7 @@ function _instanceof(cls, params = {}) {
4632
4632
  return inst;
4633
4633
  }
4634
4634
  //#endregion
4635
- //#region ../types/dist/sleep-D7JeS58T.mjs
4635
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4636
4636
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4637
4637
  EventCategory["SystemBoot"] = "system.boot";
4638
4638
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5606,7 +5606,7 @@ var BaseAddon = class {
5606
5606
  deviceSettingsSchema() {
5607
5607
  return null;
5608
5608
  }
5609
- async getGlobalSettings(overlay, cap) {
5609
+ async getGlobalSettings(overlay, cap, _nodeId) {
5610
5610
  const schema = this.globalSettingsSchema(cap);
5611
5611
  if (!schema) return { sections: [] };
5612
5612
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5615,7 +5615,7 @@ var BaseAddon = class {
5615
5615
  ...overlay
5616
5616
  } : raw);
5617
5617
  }
5618
- async updateGlobalSettings(patch) {
5618
+ async updateGlobalSettings(patch, _nodeId) {
5619
5619
  await this._ctx?.settings?.writeAddonStore(patch);
5620
5620
  await this.resolveConfig();
5621
5621
  await this.onConfigChanged();
package/dist/addon.mjs CHANGED
@@ -4628,7 +4628,7 @@ function _instanceof(cls, params = {}) {
4628
4628
  return inst;
4629
4629
  }
4630
4630
  //#endregion
4631
- //#region ../types/dist/sleep-D7JeS58T.mjs
4631
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4632
4632
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4633
4633
  EventCategory["SystemBoot"] = "system.boot";
4634
4634
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5602,7 +5602,7 @@ var BaseAddon = class {
5602
5602
  deviceSettingsSchema() {
5603
5603
  return null;
5604
5604
  }
5605
- async getGlobalSettings(overlay, cap) {
5605
+ async getGlobalSettings(overlay, cap, _nodeId) {
5606
5606
  const schema = this.globalSettingsSchema(cap);
5607
5607
  if (!schema) return { sections: [] };
5608
5608
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5611,7 +5611,7 @@ var BaseAddon = class {
5611
5611
  ...overlay
5612
5612
  } : raw);
5613
5613
  }
5614
- async updateGlobalSettings(patch) {
5614
+ async updateGlobalSettings(patch, _nodeId) {
5615
5615
  await this._ctx?.settings?.writeAddonStore(patch);
5616
5616
  await this.resolveConfig();
5617
5617
  await this.onConfigChanged();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-advanced-notifier",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Rules-based notification engine for CamStack",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",