@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
|
@@ -9032,9 +9032,11 @@ async function buildApi(opts) {
|
|
|
9032
9032
|
trustProxy,
|
|
9033
9033
|
publicRead
|
|
9034
9034
|
});
|
|
9035
|
+
const requiresAuth = authToken !== void 0 && authToken.length > 0 && trustProxy !== true;
|
|
9035
9036
|
app.get("/api/config", async () => ({
|
|
9036
9037
|
publicRead: publicRead === true,
|
|
9037
|
-
authProxy: trustProxy === true
|
|
9038
|
+
authProxy: trustProxy === true,
|
|
9039
|
+
requiresAuth
|
|
9038
9040
|
}));
|
|
9039
9041
|
const startedAt = opts.startedAt ?? Date.now();
|
|
9040
9042
|
const registry = buildLegacyRegistry(opts);
|
|
@@ -9231,4 +9233,4 @@ export {
|
|
|
9231
9233
|
recordConnectorPoll,
|
|
9232
9234
|
buildApi
|
|
9233
9235
|
};
|
|
9234
|
-
//# sourceMappingURL=chunk-
|
|
9236
|
+
//# sourceMappingURL=chunk-6HPRD53A.js.map
|