@tscircuit/runframe 0.0.260 → 0.0.262

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.
@@ -988,7 +988,7 @@ var RenderLogViewer = ({
988
988
  };
989
989
 
990
990
  // package.json
991
- var version = "0.0.259";
991
+ var version = "0.0.261";
992
992
 
993
993
  // lib/components/CircuitJsonPreview/CircuitJsonPreview.tsx
994
994
  import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
package/dist/preview.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CircuitJsonPreview
3
- } from "./chunk-2LRDDXOT.js";
3
+ } from "./chunk-D2U7QK3D.js";
4
4
  export {
5
5
  CircuitJsonPreview
6
6
  };
package/dist/runner.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  DropdownMenuTrigger,
12
12
  buttonVariants,
13
13
  cn
14
- } from "./chunk-2LRDDXOT.js";
14
+ } from "./chunk-D2U7QK3D.js";
15
15
 
16
16
  // lib/components/RunFrame/RunFrame.tsx
17
17
  import { createCircuitWebWorker } from "@tscircuit/eval/worker";
@@ -448,7 +448,7 @@ var RunFrame = (props) => {
448
448
  return { success: true };
449
449
  }).catch((e) => {
450
450
  console.log("error", e);
451
- const message = e.message.includes(":") ? e.message.replace(/[^:]+:/, "") : e.message;
451
+ const message = e.message.replace("Error: ", "");
452
452
  props.onError?.(e);
453
453
  setError({ error: message, stack: e.stack });
454
454
  console.error(e);