@tscircuit/runframe 0.0.787 → 0.0.789
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/dist/{chunk-5SUGIXDW.js → chunk-CJR4JQ2D.js} +1 -1
- package/dist/preview.js +1 -1
- package/dist/runner.d.ts +1 -0
- package/dist/runner.js +3 -3
- package/dist/standalone-preview.min.js +406 -406
- package/dist/standalone.min.js +511 -511
- package/package.json +2 -2
|
@@ -1333,7 +1333,7 @@ var useErrorTelemetry = ({
|
|
|
1333
1333
|
};
|
|
1334
1334
|
|
|
1335
1335
|
// package.json
|
|
1336
|
-
var version = "0.0.
|
|
1336
|
+
var version = "0.0.788";
|
|
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
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-
|
|
42
|
+
} from "./chunk-CJR4JQ2D.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)
|
|
930
|
+
if (typeof fsMap.get(value) === "string") {
|
|
931
931
|
setComponentPath(value);
|
|
932
932
|
}
|
|
933
933
|
}
|