@camstack/addon-smtp-nodemailer 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.
@@ -4665,7 +4665,7 @@ function _instanceof(cls, params = {}) {
4665
4665
  return inst;
4666
4666
  }
4667
4667
  //#endregion
4668
- //#region ../types/dist/sleep-D7JeS58T.mjs
4668
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4669
4669
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4670
4670
  EventCategory["SystemBoot"] = "system.boot";
4671
4671
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5639,7 +5639,7 @@ var BaseAddon = class {
5639
5639
  deviceSettingsSchema() {
5640
5640
  return null;
5641
5641
  }
5642
- async getGlobalSettings(overlay, cap) {
5642
+ async getGlobalSettings(overlay, cap, _nodeId) {
5643
5643
  const schema = this.globalSettingsSchema(cap);
5644
5644
  if (!schema) return { sections: [] };
5645
5645
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5648,7 +5648,7 @@ var BaseAddon = class {
5648
5648
  ...overlay
5649
5649
  } : raw);
5650
5650
  }
5651
- async updateGlobalSettings(patch) {
5651
+ async updateGlobalSettings(patch, _nodeId) {
5652
5652
  await this._ctx?.settings?.writeAddonStore(patch);
5653
5653
  await this.resolveConfig();
5654
5654
  await this.onConfigChanged();
@@ -4663,7 +4663,7 @@ function _instanceof(cls, params = {}) {
4663
4663
  return inst;
4664
4664
  }
4665
4665
  //#endregion
4666
- //#region ../types/dist/sleep-D7JeS58T.mjs
4666
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4667
4667
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4668
4668
  EventCategory["SystemBoot"] = "system.boot";
4669
4669
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5637,7 +5637,7 @@ var BaseAddon = class {
5637
5637
  deviceSettingsSchema() {
5638
5638
  return null;
5639
5639
  }
5640
- async getGlobalSettings(overlay, cap) {
5640
+ async getGlobalSettings(overlay, cap, _nodeId) {
5641
5641
  const schema = this.globalSettingsSchema(cap);
5642
5642
  if (!schema) return { sections: [] };
5643
5643
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5646,7 +5646,7 @@ var BaseAddon = class {
5646
5646
  ...overlay
5647
5647
  } : raw);
5648
5648
  }
5649
- async updateGlobalSettings(patch) {
5649
+ async updateGlobalSettings(patch, _nodeId) {
5650
5650
  await this._ctx?.settings?.writeAddonStore(patch);
5651
5651
  await this.resolveConfig();
5652
5652
  await this.onConfigChanged();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
5
5
  "keywords": [
6
6
  "camstack",