@testsmith/api-spector-agent 0.9.5 → 0.9.6
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.cjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -81491,7 +81491,7 @@ var APP_URL = (process.env.APP_URL || "").replace(/\/+$/, "");
|
|
|
81491
81491
|
var AGENT_TOKEN = process.env.AGENT_TOKEN || "";
|
|
81492
81492
|
var RUNTIME_TOKEN = process.env.RUNTIME_TOKEN || "";
|
|
81493
81493
|
var POLL_MS = Number(process.env.POLL_INTERVAL_MS || 5e3);
|
|
81494
|
-
var VERSION = true ? "0.9.
|
|
81494
|
+
var VERSION = true ? "0.9.6" : "";
|
|
81495
81495
|
var authHeaders = AGENT_TOKEN ? { Authorization: `Bearer ${AGENT_TOKEN}` } : RUNTIME_TOKEN ? { "X-Runtime-Token": RUNTIME_TOKEN } : {};
|
|
81496
81496
|
async function postResult(m6, fields) {
|
|
81497
81497
|
await fetch(`${APP_URL}/api/monitor-runtime/${m6.id}/result`, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testsmith/api-spector-agent",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "API Spector private runner: monitor internal/local APIs the cloud cannot reach, with no inbound connections.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://api-spector.dev",
|