@infersec/conduit 1.17.3 → 1.17.5
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
|
@@ -6,7 +6,7 @@ const __dirname = __pathDirname(__filename);
|
|
|
6
6
|
|
|
7
7
|
import { parseArgs } from 'node:util';
|
|
8
8
|
import 'node:crypto';
|
|
9
|
-
import { a as asError, s as startInferenceAgent } from './start-
|
|
9
|
+
import { a as asError, s as startInferenceAgent } from './start-BDCrsqSt.js';
|
|
10
10
|
import 'argon2';
|
|
11
11
|
import 'node:child_process';
|
|
12
12
|
import 'node:stream';
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
5
5
|
const __dirname = __pathDirname(__filename);
|
|
6
6
|
|
|
7
7
|
import 'node:crypto';
|
|
8
|
-
import { s as startInferenceAgent, a as asError } from './start-
|
|
8
|
+
import { s as startInferenceAgent, a as asError } from './start-BDCrsqSt.js';
|
|
9
9
|
import 'argon2';
|
|
10
10
|
import 'node:child_process';
|
|
11
11
|
import 'node:stream';
|
|
@@ -97798,7 +97798,9 @@ function containsStatusOnly(payload) {
|
|
|
97798
97798
|
}
|
|
97799
97799
|
function implementSingleEndpoint({ endpoint, handler, method, mount, route }) {
|
|
97800
97800
|
const expressRoute = getHTTPMethod(mount, method);
|
|
97801
|
-
expressRoute(route, ...(endpoint.body
|
|
97801
|
+
expressRoute(route, ...(endpoint.body
|
|
97802
|
+
? [express.json({ limit: "50mb" }), express.text({ limit: "50mb" })]
|
|
97803
|
+
: []), (async (req, res) => {
|
|
97802
97804
|
res.locals.requestID = ulid$2();
|
|
97803
97805
|
try {
|
|
97804
97806
|
console.log("HANDLE REQ", method, route, req.params);
|