@tscircuit/runframe 0.0.1307 → 0.0.1308

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/runner.d.ts CHANGED
@@ -131,6 +131,9 @@ interface RunFrameProps {
131
131
 
132
132
  declare global {
133
133
  var runFrameWorker: any;
134
+ interface Window {
135
+ TSCIRCUIT_USE_RUNFRAME_FOR_CLI?: boolean;
136
+ }
134
137
  }
135
138
 
136
139
  declare const RunFrame: (props: RunFrameProps) => react_jsx_runtime.JSX.Element;
package/dist/runner.js CHANGED
@@ -240,6 +240,9 @@ var RunFrame = (props) => {
240
240
  verbose: true,
241
241
  ...props.enableFetchProxy && {
242
242
  enableFetchProxy: props.enableFetchProxy
243
+ },
244
+ ...window.TSCIRCUIT_USE_RUNFRAME_FOR_CLI && {
245
+ disableCdnLoading: true
243
246
  }
244
247
  });
245
248
  if (cancelled) return;
@@ -331,6 +334,9 @@ var RunFrame = (props) => {
331
334
  },
332
335
  ...props.enableFetchProxy && {
333
336
  enableFetchProxy: props.enableFetchProxy
337
+ },
338
+ ...window.TSCIRCUIT_USE_RUNFRAME_FOR_CLI && {
339
+ disableCdnLoading: true
334
340
  }
335
341
  });
336
342
  globalThis.runFrameWorker = worker;