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