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

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/cli.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  resolveNeatVersion,
10
10
  validateConnectorEntry,
11
11
  writeDaemonRecord
12
- } from "./chunk-V2HUBS5J.js";
12
+ } from "./chunk-AOLXZWRU.js";
13
13
  import {
14
14
  buildSearchIndex
15
15
  } from "./chunk-BIY46Q6U.js";
@@ -68,7 +68,7 @@ import {
68
68
  startPersistLoop,
69
69
  startStalenessLoop,
70
70
  upsertConnectorEntry
71
- } from "./chunk-N7HEYLOF.js";
71
+ } from "./chunk-6HPRD53A.js";
72
72
  import {
73
73
  startOtelGrpcReceiver
74
74
  } from "./chunk-I72HTUOG.js";
package/dist/index.cjs CHANGED
@@ -9471,9 +9471,11 @@ async function buildApi(opts) {
9471
9471
  trustProxy,
9472
9472
  publicRead
9473
9473
  });
9474
+ const requiresAuth = authToken !== void 0 && authToken.length > 0 && trustProxy !== true;
9474
9475
  app.get("/api/config", async () => ({
9475
9476
  publicRead: publicRead === true,
9476
- authProxy: trustProxy === true
9477
+ authProxy: trustProxy === true,
9478
+ requiresAuth
9477
9479
  }));
9478
9480
  const startedAt = opts.startedAt ?? Date.now();
9479
9481
  const registry = buildLegacyRegistry(opts);