@runsec/mcp 1.0.65 → 1.0.68
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/index.js +2 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5619,6 +5619,8 @@ async function uploadScanResultsToHub(payload, apiKey) {
|
|
|
5619
5619
|
method: "POST",
|
|
5620
5620
|
headers: {
|
|
5621
5621
|
Authorization: `Bearer ${trimmedKey}`,
|
|
5622
|
+
// Cloudflare/tunnel may strip Authorization on POST; Hub accepts this duplicate.
|
|
5623
|
+
"X-RunSec-Api-Key": trimmedKey,
|
|
5622
5624
|
"Content-Type": "application/json",
|
|
5623
5625
|
Accept: "application/json"
|
|
5624
5626
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runsec/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.68",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"prepublishOnly": "npm run build && node scripts/verify-thin-pack.cjs",
|
|
17
|
+
"prepublishOnly": "node scripts/ensure-build-deps.cjs && npm run build && node scripts/verify-thin-pack.cjs",
|
|
18
|
+
"build": "node scripts/ensure-build-deps.cjs && tsup src/index.ts --format cjs --clean && node -e \"require('fs').cpSync('src/rules/data', 'dist/data', {recursive: true})\"",
|
|
18
19
|
"verify:thin-pack": "node scripts/verify-thin-pack.cjs",
|
|
19
|
-
"build": "tsup src/index.ts --format cjs --clean && node -e \"require('fs').cpSync('src/rules/data', 'dist/data', {recursive: true})\"",
|
|
20
20
|
"generate:binary-packages": "node scripts/generate-binary-packages.cjs",
|
|
21
21
|
"download:engine-binaries": "node scripts/download-binaries.cjs",
|
|
22
22
|
"download:engine-binaries:local": "node scripts/download-binaries.cjs --only-current",
|