@testsmith/api-spector-agent 0.8.5 → 0.8.7

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -74333,7 +74333,7 @@ async function resolveInlineSecretRefs(text) {
74333
74333
  }
74334
74334
  function mergeVars(envVars, collectionVars, globals2, localVars = {}, dynamicVars = {}, folderVars = {}) {
74335
74335
  const out = {};
74336
- for (const src of [dynamicVars, globals2, collectionVars, folderVars, envVars, localVars]) {
74336
+ for (const src of [dynamicVars, globals2, collectionVars, envVars, folderVars, localVars]) {
74337
74337
  for (const [k2, v3] of Object.entries(src ?? {})) {
74338
74338
  if (v3 == null) continue;
74339
74339
  out[k2] = v3;
@@ -81434,7 +81434,7 @@ var APP_URL = (process.env.APP_URL || "").replace(/\/+$/, "");
81434
81434
  var AGENT_TOKEN = process.env.AGENT_TOKEN || "";
81435
81435
  var RUNTIME_TOKEN = process.env.RUNTIME_TOKEN || "";
81436
81436
  var POLL_MS = Number(process.env.POLL_INTERVAL_MS || 5e3);
81437
- var VERSION = true ? "0.8.5" : "";
81437
+ var VERSION = true ? "0.8.7" : "";
81438
81438
  var authHeaders = AGENT_TOKEN ? { Authorization: `Bearer ${AGENT_TOKEN}` } : RUNTIME_TOKEN ? { "X-Runtime-Token": RUNTIME_TOKEN } : {};
81439
81439
  async function postResult(m6, fields) {
81440
81440
  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.8.5",
3
+ "version": "0.8.7",
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",