@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/{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
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
touchLastSeen,
|
|
32
32
|
upsertObservedEdge,
|
|
33
33
|
writeAtomically
|
|
34
|
-
} from "./chunk-
|
|
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-
|
|
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);
|