@tscircuit/runframe 0.0.786 → 0.0.788

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.
@@ -1333,7 +1333,7 @@ var useErrorTelemetry = ({
1333
1333
  };
1334
1334
 
1335
1335
  // package.json
1336
- var version = "0.0.785";
1336
+ var version = "0.0.787";
1337
1337
 
1338
1338
  // lib/hooks/use-eval-versions.ts
1339
1339
  import { useEffect as useEffect5, useMemo as useMemo2, useState as useState6 } from "react";
package/dist/preview.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  linkify,
9
9
  useOrderDialog,
10
10
  useOrderDialogCli
11
- } from "./chunk-VFIZWCC3.js";
11
+ } from "./chunk-HVQYOYON.js";
12
12
  export {
13
13
  BomTable,
14
14
  CadViewer,
package/dist/runner.d.ts CHANGED
@@ -125,6 +125,7 @@ interface RunFrameWithApiProps {
125
125
  showToggleFullScreen?: boolean;
126
126
  showFilesSwitch?: boolean;
127
127
  workerBlobUrl?: string;
128
+ evalWebWorkerBlobUrl?: string;
128
129
  }
129
130
  declare const RunFrameWithApi: (props: RunFrameWithApiProps) => react_jsx_runtime.JSX.Element;
130
131
 
package/dist/runner.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  useOrderDialogCli,
40
40
  useRunFrameStore,
41
41
  useRunnerStore
42
- } from "./chunk-VFIZWCC3.js";
42
+ } from "./chunk-HVQYOYON.js";
43
43
 
44
44
  // lib/components/RunFrame/RunFrame.tsx
45
45
  import { createCircuitWebWorker } from "@tscircuit/eval/worker";
@@ -918,7 +918,7 @@ var RunFrameWithApi = (props) => {
918
918
  fsMap,
919
919
  evalVersion: props.evalVersion,
920
920
  forceLatestEvalVersion: props.forceLatestEvalVersion,
921
- evalWebWorkerBlobUrl: props.workerBlobUrl,
921
+ evalWebWorkerBlobUrl: props.evalWebWorkerBlobUrl ?? props.workerBlobUrl,
922
922
  leftHeaderContent: /* @__PURE__ */ jsxs4("div", { className: "rf-flex rf-items-center rf-justify-between rf-w-full", children: [
923
923
  props.leftHeaderContent,
924
924
  props.showFilesSwitch && /* @__PURE__ */ jsx5("div", { className: "rf-absolute rf-left-1/2 rf-transform rf--translate-x-1/2", children: /* @__PURE__ */ jsx5(
@@ -927,7 +927,7 @@ var RunFrameWithApi = (props) => {
927
927
  currentFile: componentPath,
928
928
  files: Array.from(fsMap.keys()),
929
929
  onFileChange: (value) => {
930
- if (typeof fsMap.get(value) == "string") {
930
+ if (typeof fsMap.get(value) === "string") {
931
931
  setComponentPath(value);
932
932
  }
933
933
  }