@neat.is/core 0.4.28-dev.20260713 → 0.4.28

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.
@@ -31,7 +31,7 @@ import {
31
31
  touchLastSeen,
32
32
  upsertObservedEdge,
33
33
  writeAtomically
34
- } from "./chunk-N7HEYLOF.js";
34
+ } from "./chunk-6HPRD53A.js";
35
35
  import {
36
36
  assertBindAuthority,
37
37
  buildOtelReceiver,
@@ -2454,4 +2454,4 @@ export {
2454
2454
  resolveHost,
2455
2455
  startDaemon
2456
2456
  };
2457
- //# sourceMappingURL=chunk-V2HUBS5J.js.map
2457
+ //# sourceMappingURL=chunk-AOLXZWRU.js.map
package/dist/cli.cjs CHANGED
@@ -9828,9 +9828,11 @@ async function buildApi(opts) {
9828
9828
  trustProxy,
9829
9829
  publicRead
9830
9830
  });
9831
+ const requiresAuth = authToken !== void 0 && authToken.length > 0 && trustProxy !== true;
9831
9832
  app.get("/api/config", async () => ({
9832
9833
  publicRead: publicRead === true,
9833
- authProxy: trustProxy === true
9834
+ authProxy: trustProxy === true,
9835
+ requiresAuth
9834
9836
  }));
9835
9837
  const startedAt = opts.startedAt ?? Date.now();
9836
9838
  const registry = buildLegacyRegistry(opts);