@testsmith/api-spector 0.5.7 → 0.5.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.
package/build/icon.ico ADDED
Binary file
package/out/main/index.js CHANGED
@@ -5941,7 +5941,7 @@ function isNewer(a, b) {
5941
5941
  return a2 > b2;
5942
5942
  }
5943
5943
  async function checkForUpdate() {
5944
- const current = "0.5.7";
5944
+ const current = "0.5.8";
5945
5945
  try {
5946
5946
  const res = await fetch(REGISTRY_URL, { signal: AbortSignal.timeout(4e3) });
5947
5947
  if (!res.ok) return null;
@@ -402,7 +402,7 @@ async function main() {
402
402
  } else if (!envName && workspace.settings?.defaultEnvironment && !env) {
403
403
  console.warn(cliCommon.color(`Warning: default environment "${workspace.settings.defaultEnvironment}" not found. Running without environment.`, cliCommon.C.yellow));
404
404
  }
405
- const version = `v${"0.5.7"}`;
405
+ const version = `v${"0.5.8"}`;
406
406
  console.log("");
407
407
  console.log(cliCommon.color(" API Test Runner" + (version ? ` ${version}` : ""), cliCommon.C.bold, cliCommon.C.white));
408
408
  console.log(cliCommon.color(` Workspace: ${wsPath}`, cliCommon.C.gray));
@@ -1,4 +1,4 @@
1
- import { l as linter, E as EditorView, L as LanguageSupport, a as LRLanguage, s as styleTags, i as indentNodeProp, d as delimitedIndent, f as foldNodeProp, b as foldInside, S as StateField, c as LRParser, e as StateEffect, t as tags, u as useT, r as reactExports, g as useStore, h as useActiveEnvironment, j as jsxRuntimeExports, R as ReactCodeMirror, o as oneDark, k as json } from "./index-BNnHEhKx.js";
1
+ import { l as linter, E as EditorView, L as LanguageSupport, a as LRLanguage, s as styleTags, i as indentNodeProp, d as delimitedIndent, f as foldNodeProp, b as foldInside, S as StateField, c as LRParser, e as StateEffect, t as tags, u as useT, r as reactExports, g as useStore, h as useActiveEnvironment, j as jsxRuntimeExports, R as ReactCodeMirror, o as oneDark, k as json } from "./index-DlMu33Zh.js";
2
2
  function devAssert(condition, message) {
3
3
  const booleanCondition = Boolean(condition);
4
4
  if (!booleanCondition) {
@@ -1,4 +1,4 @@
1
- import { u as useT, r as reactExports, j as jsxRuntimeExports, R as ReactCodeMirror, m as commentKeymap, o as oneDark, x as xml } from "./index-BNnHEhKx.js";
1
+ import { u as useT, r as reactExports, j as jsxRuntimeExports, R as ReactCodeMirror, m as commentKeymap, o as oneDark, x as xml } from "./index-DlMu33Zh.js";
2
2
  const SOAP_11_CONTENT_TYPE = "text/xml; charset=utf-8";
3
3
  const SOAP_12_CONTENT_TYPE = "application/soap+xml; charset=utf-8";
4
4
  function contentTypeForSoap(version) {
@@ -52982,8 +52982,8 @@ function jsonWithComments() {
52982
52982
  function xmlWithComments() {
52983
52983
  return [xml(), commentKeymap];
52984
52984
  }
52985
- const GraphQLEditor = reactExports.lazy(() => __vitePreload(() => import("./GraphQLEditor-BPCaARWr.js"), true ? [] : void 0, import.meta.url).then((m) => ({ default: m.GraphQLEditor })));
52986
- const SoapEditor = reactExports.lazy(() => __vitePreload(() => import("./SoapEditor-C7Jo_dLW.js"), true ? [] : void 0, import.meta.url).then((m) => ({ default: m.SoapEditor })));
52985
+ const GraphQLEditor = reactExports.lazy(() => __vitePreload(() => import("./GraphQLEditor-CkrzU3x2.js"), true ? [] : void 0, import.meta.url).then((m) => ({ default: m.GraphQLEditor })));
52986
+ const SoapEditor = reactExports.lazy(() => __vitePreload(() => import("./SoapEditor-KEOZCmWl.js"), true ? [] : void 0, import.meta.url).then((m) => ({ default: m.SoapEditor })));
52987
52987
  function BodyTab({ request: request2, onChange }) {
52988
52988
  const t2 = useT();
52989
52989
  const editorFallback = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-4 text-xs text-surface-500", children: t2("Loading editor…") });
@@ -64285,7 +64285,7 @@ function WelcomeScreen() {
64285
64285
  )
64286
64286
  ] }),
64287
64287
  /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-surface-400 text-sm max-w-sm", children: t2("Local-first API testing with Robot Framework & Playwright code generation. Secrets stay on your machine.") }),
64288
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-[11px] mt-3", style: { color: "var(--text-muted)" }, children: t2("version :version", { version: "0.5.7" }) })
64288
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-[11px] mt-3", style: { color: "var(--text-muted)" }, children: t2("version :version", { version: "0.5.8" }) })
64289
64289
  ] }),
64290
64290
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-3 w-64", children: [
64291
64291
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -72665,7 +72665,7 @@ function App() {
72665
72665
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "#6aa3c8" }, children: "Spector" }),
72666
72666
  /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "ml-2 text-[10px] font-normal opacity-50", children: [
72667
72667
  "v",
72668
- "0.5.7"
72668
+ "0.5.8"
72669
72669
  ] }),
72670
72670
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "mx-2 opacity-30", children: "·" }),
72671
72671
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -5,7 +5,7 @@
5
5
  <meta charset="UTF-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>API Spector</title>
8
- <script type="module" crossorigin src="./assets/index-BNnHEhKx.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-DlMu33Zh.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-CMI5gtcx.css">
10
10
  </head>
11
11
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@testsmith/api-spector",
3
3
  "productName": "API Spector",
4
- "version": "0.5.7",
4
+ "version": "0.5.8",
5
5
  "description": "Local-first API testing tool to inspect, test and mock APIs",
6
6
  "repository": {
7
7
  "type": "git",
@@ -25,7 +25,8 @@
25
25
  "out/",
26
26
  "bin/",
27
27
  "resources/splash.html",
28
- "build/icon.png"
28
+ "build/icon.png",
29
+ "build/icon.ico"
29
30
  ],
30
31
  "scripts": {
31
32
  "dev": "electron-vite dev",