@tscircuit/runframe 0.0.441 → 0.0.442

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.
@@ -1092,7 +1092,7 @@ var RenderLogViewer = ({
1092
1092
  };
1093
1093
 
1094
1094
  // package.json
1095
- var version = "0.0.440";
1095
+ var version = "0.0.441";
1096
1096
 
1097
1097
  // lib/components/CircuitJsonPreview/CircuitJsonPreview.tsx
1098
1098
  import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
@@ -1900,8 +1900,7 @@ var InitialOrderScreen = ({
1900
1900
  const {
1901
1901
  mutate: createOrderQuote2,
1902
1902
  data: orderQuoteId,
1903
- error: createOrderQuoteError,
1904
- isError
1903
+ error: createOrderQuoteError
1905
1904
  } = useCreateOrderQuote(packageReleaseId);
1906
1905
  const { data: orderQuote } = useOrderQuotePolling(orderQuoteId);
1907
1906
  const redirectToStripeCheckout = async (orderQuoteId2) => {
@@ -1932,8 +1931,8 @@ var InitialOrderScreen = ({
1932
1931
  }
1933
1932
  return /* @__PURE__ */ jsxs15("div", { className: "rf-max-w-lg rf-mx-auto rf-bg-white rf-rounded-2xl rf-py-8 rf-flex rf-flex-col rf-gap-3", children: [
1934
1933
  /* @__PURE__ */ jsx19("h2", { className: "rf-text-3xl rf-font-bold rf-text-center", children: "Order PCB" }),
1935
- (!orderQuoteId || !orderQuote || !orderQuote?.is_completed) && !isError && /* @__PURE__ */ jsx19(LoadingMessage, { message: "Fetching quotes..." }),
1936
- (createOrderQuoteError || orderQuote?.error || isError) && /* @__PURE__ */ jsx19(
1934
+ (!orderQuoteId || !orderQuote || orderQuote?.is_processing && !orderQuote?.error) && /* @__PURE__ */ jsx19(LoadingMessage, { message: "Fetching quotes..." }),
1935
+ (createOrderQuoteError || orderQuote?.error) && /* @__PURE__ */ jsx19(
1937
1936
  ErrorMessage,
1938
1937
  {
1939
1938
  message: createOrderQuoteError?.message || orderQuote?.error?.message || "Failed to fetch quotes"
package/dist/preview.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  linkify,
9
9
  useOrderDialog,
10
10
  useOrderDialogCli
11
- } from "./chunk-B3RZ5F6N.js";
11
+ } from "./chunk-MP2RYG4Y.js";
12
12
  export {
13
13
  BomTable,
14
14
  CadViewer,
package/dist/runner.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  useOrderDialog,
27
27
  useOrderDialogCli,
28
28
  useRunFrameStore
29
- } from "./chunk-B3RZ5F6N.js";
29
+ } from "./chunk-MP2RYG4Y.js";
30
30
 
31
31
  // lib/components/RunFrame/RunFrame.tsx
32
32
  import { createCircuitWebWorker } from "@tscircuit/eval/worker";