@testsmith/api-spector-agent 0.4.7 → 0.4.8

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.
Files changed (2) hide show
  1. package/dist/index.cjs +1 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -47423,7 +47423,7 @@ var APP_URL = (process.env.APP_URL || "").replace(/\/+$/, "");
47423
47423
  var AGENT_TOKEN = process.env.AGENT_TOKEN || "";
47424
47424
  var RUNTIME_TOKEN = process.env.RUNTIME_TOKEN || "";
47425
47425
  var POLL_MS = Number(process.env.POLL_INTERVAL_MS || 5e3);
47426
- var VERSION = true ? "0.4.7" : "";
47426
+ var VERSION = true ? "0.4.8" : "";
47427
47427
  var authHeaders = AGENT_TOKEN ? { Authorization: `Bearer ${AGENT_TOKEN}` } : RUNTIME_TOKEN ? { "X-Runtime-Token": RUNTIME_TOKEN } : {};
47428
47428
  async function postResult(m75, fields) {
47429
47429
  await fetch(`${APP_URL}/api/monitor-runtime/${m75.id}/result`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testsmith/api-spector-agent",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
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",