@camstack/addon-cloudflare 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.
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
4627
4627
  return inst;
4628
4628
  }
4629
4629
  //#endregion
4630
- //#region ../types/dist/sleep-D7JeS58T.mjs
4630
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4631
4631
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4632
4632
  EventCategory["SystemBoot"] = "system.boot";
4633
4633
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5601,7 +5601,7 @@ var BaseAddon = class {
5601
5601
  deviceSettingsSchema() {
5602
5602
  return null;
5603
5603
  }
5604
- async getGlobalSettings(overlay, cap) {
5604
+ async getGlobalSettings(overlay, cap, _nodeId) {
5605
5605
  const schema = this.globalSettingsSchema(cap);
5606
5606
  if (!schema) return { sections: [] };
5607
5607
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5610,7 +5610,7 @@ var BaseAddon = class {
5610
5610
  ...overlay
5611
5611
  } : raw);
5612
5612
  }
5613
- async updateGlobalSettings(patch) {
5613
+ async updateGlobalSettings(patch, _nodeId) {
5614
5614
  await this._ctx?.settings?.writeAddonStore(patch);
5615
5615
  await this.resolveConfig();
5616
5616
  await this.onConfigChanged();
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
4627
4627
  return inst;
4628
4628
  }
4629
4629
  //#endregion
4630
- //#region ../types/dist/sleep-D7JeS58T.mjs
4630
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4631
4631
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4632
4632
  EventCategory["SystemBoot"] = "system.boot";
4633
4633
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5601,7 +5601,7 @@ var BaseAddon = class {
5601
5601
  deviceSettingsSchema() {
5602
5602
  return null;
5603
5603
  }
5604
- async getGlobalSettings(overlay, cap) {
5604
+ async getGlobalSettings(overlay, cap, _nodeId) {
5605
5605
  const schema = this.globalSettingsSchema(cap);
5606
5606
  if (!schema) return { sections: [] };
5607
5607
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5610,7 +5610,7 @@ var BaseAddon = class {
5610
5610
  ...overlay
5611
5611
  } : raw);
5612
5612
  }
5613
- async updateGlobalSettings(patch) {
5613
+ async updateGlobalSettings(patch, _nodeId) {
5614
5614
  await this._ctx?.settings?.writeAddonStore(patch);
5615
5615
  await this.resolveConfig();
5616
5616
  await this.onConfigChanged();
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
21
21
  enumerable: true
22
22
  }) : target, mod));
23
23
  //#endregion
24
- const require_dist = require("../dist-CBFH0-P0.js");
24
+ const require_dist = require("../dist-CAXcZxkm.js");
25
25
  let node_path = require("node:path");
26
26
  node_path = __toESM(node_path);
27
27
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { a as BaseAddon, c as array, d as literal, f as number, l as boolean, m as string, n as defineCustomActions, o as EventCategory, p as object, r as networkAccessCapability, s as _enum, t as customAction } from "../dist-5ytN8ITb.mjs";
1
+ import { a as BaseAddon, c as array, d as literal, f as number, l as boolean, m as string, n as defineCustomActions, o as EventCategory, p as object, r as networkAccessCapability, s as _enum, t as customAction } from "../dist-hY6chXo_.mjs";
2
2
  import * as path from "node:path";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { spawn } from "node:child_process";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("../dist-CBFH0-P0.js");
2
+ const require_dist = require("../dist-CAXcZxkm.js");
3
3
  //#region src/turn/cloudflare-turn.ts
4
4
  /**
5
5
  * Cloudflare returns ICE servers in several flavours depending on which
@@ -1,4 +1,4 @@
1
- import { a as BaseAddon, d as literal, f as number, i as turnProviderCapability, l as boolean, m as string, n as defineCustomActions, p as object, t as customAction, u as discriminatedUnion } from "../dist-5ytN8ITb.mjs";
1
+ import { a as BaseAddon, d as literal, f as number, i as turnProviderCapability, l as boolean, m as string, n as defineCustomActions, p as object, t as customAction, u as discriminatedUnion } from "../dist-hY6chXo_.mjs";
2
2
  //#region src/turn/cloudflare-turn.ts
3
3
  /**
4
4
  * Cloudflare returns ICE servers in several flavours depending on which
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-cloudflare",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Cloudflare bundle — Tunnel (network-access) + TURN relay (turn-provider). Multi-entry npm package shipping 2 addons under a single bundle.",
5
5
  "keywords": [
6
6
  "camstack",