@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.
- package/dist/{chunk-N7HEYLOF.js → chunk-6HPRD53A.js} +4 -2
- package/dist/{chunk-N7HEYLOF.js.map → chunk-6HPRD53A.js.map} +1 -1
- package/dist/{chunk-V2HUBS5J.js → chunk-AOLXZWRU.js} +2 -2
- package/dist/cli.cjs +3 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/neatd.cjs +3 -1
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.js +2 -2
- package/dist/server.cjs +3 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-V2HUBS5J.js.map → chunk-AOLXZWRU.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeSpanToProject,
|
|
3
3
|
startDaemon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AOLXZWRU.js";
|
|
5
5
|
import {
|
|
6
6
|
ProjectNameCollisionError,
|
|
7
7
|
addProject,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
thresholdForEdgeType,
|
|
38
38
|
touchLastSeen,
|
|
39
39
|
writeAtomically
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6HPRD53A.js";
|
|
41
41
|
import {
|
|
42
42
|
startOtelGrpcReceiver
|
|
43
43
|
} from "./chunk-I72HTUOG.js";
|
package/dist/neatd.cjs
CHANGED
|
@@ -9373,9 +9373,11 @@ async function buildApi(opts) {
|
|
|
9373
9373
|
trustProxy,
|
|
9374
9374
|
publicRead
|
|
9375
9375
|
});
|
|
9376
|
+
const requiresAuth = authToken !== void 0 && authToken.length > 0 && trustProxy !== true;
|
|
9376
9377
|
app.get("/api/config", async () => ({
|
|
9377
9378
|
publicRead: publicRead === true,
|
|
9378
|
-
authProxy: trustProxy === true
|
|
9379
|
+
authProxy: trustProxy === true,
|
|
9380
|
+
requiresAuth
|
|
9379
9381
|
}));
|
|
9380
9382
|
const startedAt = opts.startedAt ?? Date.now();
|
|
9381
9383
|
const registry = buildLegacyRegistry(opts);
|