simvyn 2.6.4 → 2.6.5

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.
@@ -44060,13 +44060,13 @@ function AppActions({ app, deviceId, onRefresh }) {
44060
44060
  });
44061
44061
  if (!res.ok) {
44062
44062
  const data = await res.json().catch(() => ({ error: "Action failed" }));
44063
- console.error(`${action} failed:`, data.error);
44063
+ toast.error(data.error || "Action failed");
44064
44064
  }
44065
44065
  if (action === "uninstall" || action === "clear-data") {
44066
44066
  onRefresh();
44067
44067
  }
44068
- } catch (err) {
44069
- console.error(`${action} failed:`, err);
44068
+ } catch {
44069
+ toast.error("Action failed");
44070
44070
  } finally {
44071
44071
  setLoading(null);
44072
44072
  }
@@ -52519,7 +52519,7 @@ function ToolSettingsPanel() {
52519
52519
  const [copied, setCopied] = reactExports.useState(false);
52520
52520
  const devices = useDeviceStore((s) => s.devices);
52521
52521
  const modules = useModuleStore((s) => s.modules);
52522
- const version = "2.6.4";
52522
+ const version = "2.6.5";
52523
52523
  const fetchStorage = reactExports.useCallback(() => {
52524
52524
  fetch("/api/tool-settings/storage").then((r) => r.json()).then((data) => setStorage(data)).catch(() => {
52525
52525
  });
@@ -53868,4 +53868,4 @@ function App() {
53868
53868
  clientExports.createRoot(document.getElementById("root")).render(
53869
53869
  /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.StrictMode, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(App, {}) })
53870
53870
  );
53871
- //# sourceMappingURL=index-C84olC1W.js.map
53871
+ //# sourceMappingURL=index-By3-ogT3.js.map