@tscircuit/runframe 0.0.1420 → 0.0.1422
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.
|
@@ -1715,7 +1715,7 @@ var useErrorTelemetry = ({
|
|
|
1715
1715
|
};
|
|
1716
1716
|
|
|
1717
1717
|
// package.json
|
|
1718
|
-
var version = "0.0.
|
|
1718
|
+
var version = "0.0.1421";
|
|
1719
1719
|
var package_default = {
|
|
1720
1720
|
name: "@tscircuit/runframe",
|
|
1721
1721
|
main: "dist/preview.js",
|
|
@@ -1766,7 +1766,7 @@ var package_default = {
|
|
|
1766
1766
|
"@tscircuit/3d-viewer": "^0.0.476",
|
|
1767
1767
|
"@tscircuit/assembly-viewer": "^0.0.5",
|
|
1768
1768
|
"@tscircuit/create-snippet-url": "^0.0.9",
|
|
1769
|
-
"@tscircuit/eval": "^0.0.
|
|
1769
|
+
"@tscircuit/eval": "^0.0.549",
|
|
1770
1770
|
"@tscircuit/fake-snippets": "^0.0.163",
|
|
1771
1771
|
"@tscircuit/file-server": "^0.0.32",
|
|
1772
1772
|
"@tscircuit/footprinter": "^0.0.236",
|
package/dist/preview.js
CHANGED
package/dist/runner.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
useRunFrameStore,
|
|
35
35
|
useRunnerStore,
|
|
36
36
|
useStyles
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-V5V5VRIM.js";
|
|
38
38
|
|
|
39
39
|
// lib/components/RunFrame/RunFrame.tsx
|
|
40
40
|
import { createCircuitWebWorker } from "@tscircuit/eval/worker";
|
|
@@ -326,6 +326,9 @@ var RunFrame = (props) => {
|
|
|
326
326
|
},
|
|
327
327
|
...window.TSCIRCUIT_USE_RUNFRAME_FOR_CLI && {
|
|
328
328
|
disableCdnLoading: true
|
|
329
|
+
},
|
|
330
|
+
...props.tscircuitSessionToken && {
|
|
331
|
+
tscircuitSessionToken: props.tscircuitSessionToken
|
|
329
332
|
}
|
|
330
333
|
});
|
|
331
334
|
if (cancelled) return;
|
|
@@ -344,7 +347,8 @@ var RunFrame = (props) => {
|
|
|
344
347
|
}, [
|
|
345
348
|
props.evalVersion,
|
|
346
349
|
props.evalWebWorkerBlobUrl,
|
|
347
|
-
props.forceLatestEvalVersion
|
|
350
|
+
props.forceLatestEvalVersion,
|
|
351
|
+
props.tscircuitSessionToken
|
|
348
352
|
]);
|
|
349
353
|
const [renderLog, setRenderLog] = useState(null);
|
|
350
354
|
const [autoroutingLog, setAutoroutingLog] = useState({});
|
|
@@ -408,7 +412,6 @@ var RunFrame = (props) => {
|
|
|
408
412
|
);
|
|
409
413
|
debug("resolvedEvalVersion", resolvedEvalVersion);
|
|
410
414
|
const worker = globalThis.runFrameWorker ?? await createCircuitWebWorker({
|
|
411
|
-
tscircuitSessionToken: props.tscircuitSessionToken,
|
|
412
415
|
evalVersion: resolvedEvalVersion,
|
|
413
416
|
webWorkerBlobUrl: props.evalWebWorkerBlobUrl,
|
|
414
417
|
verbose: true,
|
|
@@ -423,6 +426,9 @@ var RunFrame = (props) => {
|
|
|
423
426
|
},
|
|
424
427
|
...window.TSCIRCUIT_USE_RUNFRAME_FOR_CLI && {
|
|
425
428
|
disableCdnLoading: true
|
|
429
|
+
},
|
|
430
|
+
...props.tscircuitSessionToken && {
|
|
431
|
+
tscircuitSessionToken: props.tscircuitSessionToken
|
|
426
432
|
}
|
|
427
433
|
});
|
|
428
434
|
globalThis.runFrameWorker = worker;
|