@workflow/web 5.0.0-beta.49 → 5.0.0-beta.50

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.
@@ -61107,7 +61107,7 @@ function replaceEncryptedAndExpiredWithMarkers(resource) {
61107
61107
  }
61108
61108
  async function hydrateResourceIOAsync(resource, key) {
61109
61109
  const { hydrateDataWithKey: hydrateDataWithKey2, deriveRunPayloadKeys: deriveRunPayloadKeys2 } = await Promise.resolve().then(() => serializationFormat);
61110
- const { ensureZstdDecoderRegistered } = await import("./zstd-browser-decoder-BhzrSkhl.js");
61110
+ const { ensureZstdDecoderRegistered } = await import("./zstd-browser-decoder-Coywki2m.js");
61111
61111
  ensureZstdDecoderRegistered();
61112
61112
  const cryptoKey = key ? await deriveRunPayloadKeys2(key) : void 0;
61113
61113
  const revivers = getRevivers();
@@ -92046,7 +92046,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
92046
92046
  var et = ({ className: e, language: t, style: o, isIncomplete: n, ...s2 }) => jsxRuntimeExports.jsx("div", { className: f("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2", e), "data-incomplete": n || void 0, "data-language": t, "data-streamdown": "code-block", style: { contentVisibility: "auto", containIntrinsicSize: "auto 200px", ...o }, ...s2 });
92047
92047
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
92048
92048
  var ot = ({ language: e }) => jsxRuntimeExports.jsx("div", { className: "flex h-8 items-center text-muted-foreground text-xs", "data-language": e, "data-streamdown": "code-block-header", children: jsxRuntimeExports.jsx("span", { className: "ml-1 font-mono lowercase", children: e }) });
92049
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-B3n-nCiA.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
92049
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-BjGiR49i.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
92050
92050
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
92051
92051
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
92052
92052
  return jsxRuntimeExports.jsx(Se.Provider, { value: { code: e }, children: jsxRuntimeExports.jsxs(et, { isIncomplete: s2, language: t, children: [jsxRuntimeExports.jsx(ot, { language: t }), n ? jsxRuntimeExports.jsx("div", { className: "pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end", children: jsxRuntimeExports.jsx("div", { className: "pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur", "data-streamdown": "code-block-actions", children: n }) }) : null, jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(Qe, { className: o, language: t, result: c, ...r2 }), children: jsxRuntimeExports.jsx(dn, { className: o, code: i, language: t, raw: c, ...r2 }) })] }) });
@@ -92368,7 +92368,7 @@ var Dt = ({ children: e, className: t, onDownload: o, onError: n }) => {
92368
92368
  }, []), jsxRuntimeExports.jsxs("div", { className: "relative", ref: i, children: [jsxRuntimeExports.jsx("button", { className: f("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50", t), disabled: c, onClick: () => r2(!s2), title: "Download table", type: "button", children: e != null ? e : jsxRuntimeExports.jsx(Z, { size: 14 }) }), s2 ? jsxRuntimeExports.jsxs("div", { className: "absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg", children: [jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("csv"), title: "Download table as CSV", type: "button", children: "CSV" }), jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("markdown"), title: "Download table as Markdown", type: "button", children: "Markdown" })] }) : null] });
92369
92369
  };
92370
92370
  var Vt = ({ children: e, className: t, showControls: o, ...n }) => jsxRuntimeExports.jsxs("div", { className: "my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2", "data-streamdown": "table-wrapper", children: [o ? jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-end gap-1", children: [jsxRuntimeExports.jsx(Ht, {}), jsxRuntimeExports.jsx(Dt, {})] }) : null, jsxRuntimeExports.jsx("div", { className: "border-collapse overflow-x-auto overscroll-y-auto rounded-md border border-border bg-background", children: jsxRuntimeExports.jsx("table", { className: f("w-full divide-y divide-border", t), "data-streamdown": "table", ...n, children: e }) })] });
92371
- var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-CG8N1j_9.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
92371
+ var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-DRi-PBW7.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
92372
92372
  function ke(e, t) {
92373
92373
  if (!(e != null && e.position || t != null && t.position)) return true;
92374
92374
  if (!(e != null && e.position && (t != null && t.position))) return false;
@@ -104732,7 +104732,7 @@ globalSingleton("@workflow/core//envWarnings", 1, () => ({
104732
104732
  maxInlineStepsValues: /* @__PURE__ */ new Set(),
104733
104733
  maxEventsValues: /* @__PURE__ */ new Set()
104734
104734
  }));
104735
- const version$1 = "5.0.0-beta.49";
104735
+ const version$1 = "5.0.0-beta.50";
104736
104736
  const DEFAULT_HEALTH_CHECK_TIMEOUT = 3e4;
104737
104737
  const SAFE_WORKFLOW_NAME_PATTERN = /^[a-zA-Z0-9_\-./@]+$/;
104738
104738
  function getWorkflowQueueName(workflowName, namespace2) {
@@ -136952,7 +136952,7 @@ function createWorld$2(args) {
136952
136952
  const basedir = mergedConfig.dataDir;
136953
136953
  const hooksDir = path$3.join(basedir, "hooks");
136954
136954
  const taggedHookFiles = await listTaggedFiles(hooksDir, tag);
136955
- const { HookSchema: HookSchema2 } = await import("./index-SGZlzYCB.js");
136955
+ const { HookSchema: HookSchema2 } = await import("./index-glWWjG5N.js");
136956
136956
  await Promise.all(taggedHookFiles.map(async (hookFile) => {
136957
136957
  const hook = await readJSON(path$3.join(hooksDir, hookFile), HookSchema2);
136958
136958
  if (hook == null ? void 0 : hook.token) {
@@ -137135,8 +137135,8 @@ function requireGetVercelOidcToken() {
137135
137135
  }
137136
137136
  try {
137137
137137
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
137138
- await import("./token-util-C4igRPyO.js").then((n) => n.t),
137139
- await import("./token-tFJ2cDc9.js").then((n) => n.t)
137138
+ await import("./token-util-wecZ3LiF.js").then((n) => n.t),
137139
+ await import("./token-RGgCwymE.js").then((n) => n.t)
137140
137140
  ]);
137141
137141
  if (!token || isExpired(getTokenPayload(token), options == null ? void 0 : options.expirationBufferMs)) {
137142
137142
  await refreshToken(options);
@@ -139288,7 +139288,7 @@ function createGetEncryptionKeyForRun(projectId, teamId, token, dispatcher2) {
139288
139288
  };
139289
139289
  }
139290
139290
  async function getDeadline() {
139291
- const { getDeadline: getDeadline2 } = await import("./index-EldBi9Vs.js").then((n) => n.i);
139291
+ const { getDeadline: getDeadline2 } = await import("./index-BYoi2wsy.js").then((n) => n.i);
139292
139292
  return getDeadline2();
139293
139293
  }
139294
139294
  const WORKFLOW_SERVER_SERVICE = {
@@ -144241,7 +144241,7 @@ const wsEventsChannelForInvocation = (runId, config2) => {
144241
144241
  open() {
144242
144242
  if (!runId || !isWsEventsTransportEnabled())
144243
144243
  return;
144244
- claim = import("./ws-transport-DUA3rYTp.js").then(({ openWsChannel }) => openWsChannel(runId, config2)).catch(() => void 0);
144244
+ claim = import("./ws-transport-Dj_kuAkL.js").then(({ openWsChannel }) => openWsChannel(runId, config2)).catch(() => void 0);
144245
144245
  },
144246
144246
  /**
144247
144247
  * Awaited, unlike the open: work scheduled after the handler returns is not
@@ -145456,7 +145456,7 @@ function wsReplyStatus(reply, endpoint) {
145456
145456
  return status;
145457
145457
  }
145458
145458
  async function postEventFrameOverWs(input, config2) {
145459
- const { resolveWsTransport } = await import("./ws-transport-DUA3rYTp.js");
145459
+ const { resolveWsTransport } = await import("./ws-transport-Dj_kuAkL.js");
145460
145460
  const { runId } = input;
145461
145461
  const resolved = resolveWsTransport(runId, config2);
145462
145462
  if (!resolved)
@@ -146830,7 +146830,7 @@ globalSingleton("@workflow/core//devServerPort", 1, () => ({
146830
146830
  inFlight: void 0
146831
146831
  }));
146832
146832
  function waitUntil(promise2) {
146833
- void import("./index-EldBi9Vs.js").then((n) => n.i).then(({ waitUntil: waitUntil2 }) => {
146833
+ void import("./index-BYoi2wsy.js").then((n) => n.i).then(({ waitUntil: waitUntil2 }) => {
146834
146834
  waitUntil2(promise2);
146835
146835
  });
146836
146836
  }
@@ -149626,24 +149626,46 @@ async function resolveHookEncryptionKey(hook, info) {
149626
149626
  }));
149627
149627
  return rawKey ? await importKey(rawKey) : void 0;
149628
149628
  }
149629
- async function getHookByTokenWithKey(token) {
149630
- var _a3, _b2;
149631
- const world = await getWorldLazy();
149632
- const hook = await world.hooks.getByToken(token);
149629
+ function hasLazyMetadata(hook) {
149630
+ const descriptor = Object.getOwnPropertyDescriptor(hook, "metadata");
149631
+ return descriptor !== void 0 && typeof descriptor.get === "function";
149632
+ }
149633
+ function withLazyMetadata(raw2) {
149634
+ const serialized = raw2.metadata;
149635
+ let hydrated;
149633
149636
  let encryptionKey;
149634
- if (typeof hook.metadata !== "undefined") {
149635
- const info = await resolveHookResumeInfo(hook);
149636
- const rawKey = info.run ? await ((_a3 = world.getEncryptionKeyForRun) == null ? void 0 : _a3.call(world, info.run)) : await ((_b2 = world.getEncryptionKeyForRun) == null ? void 0 : _b2.call(world, hook.runId, {
149637
+ const hydrate2 = async () => {
149638
+ var _a3, _b2;
149639
+ const world = await getWorldLazy();
149640
+ const info = await resolveHookResumeInfo(raw2);
149641
+ const rawKey = info.run ? await ((_a3 = world.getEncryptionKeyForRun) == null ? void 0 : _a3.call(world, info.run)) : await ((_b2 = world.getEncryptionKeyForRun) == null ? void 0 : _b2.call(world, raw2.runId, {
149637
149642
  deploymentId: info.resumeContext.deploymentId
149638
149643
  }));
149639
149644
  encryptionKey = rawKey ? await deriveRunPayloadKeys(rawKey) : void 0;
149640
- hook.metadata = await hydrateStepArguments(hook.metadata, hook.runId, encryptionKey);
149641
- }
149642
- return { hook, encryptionKey };
149645
+ return await hydrateStepArguments(serialized, raw2.runId, encryptionKey);
149646
+ };
149647
+ const hook = raw2;
149648
+ Object.defineProperty(hook, "metadata", {
149649
+ // A hook with no metadata resolves `undefined` without any I/O, so callers
149650
+ // can await unconditionally. Memoized either way: metadata is fixed at
149651
+ // hook-creation time, so hydration runs at most once per hook object.
149652
+ get: () => hydrated ?? (hydrated = typeof serialized === "undefined" ? Promise.resolve(void 0) : hydrate2()),
149653
+ // Non-enumerable, matching `Run.returnValue` (a prototype getter, so it is
149654
+ // absent from an instance's own keys). Spreading or `JSON.stringify`-ing a
149655
+ // hook therefore cannot trigger hydration nobody asked for — which would
149656
+ // otherwise leave a floating rejection when the run key is unreachable, and
149657
+ // an unconsumed rejected Promise crashes Node as an unhandledRejection.
149658
+ enumerable: false,
149659
+ configurable: true
149660
+ });
149661
+ return { hook, metadataEncryptionKey: () => encryptionKey };
149662
+ }
149663
+ function asLazyMetadataHook(hook) {
149664
+ return hasLazyMetadata(hook) ? hook : withLazyMetadata(hook).hook;
149643
149665
  }
149644
149666
  async function getHookByToken(token) {
149645
- const { hook } = await getHookByTokenWithKey(token);
149646
- return hook;
149667
+ const world = await getWorldLazy();
149668
+ return withLazyMetadata(await world.hooks.getByToken(token)).hook;
149647
149669
  }
149648
149670
  async function resumeHook$2(tokenOrHook, payload, encryptionKeyOverride) {
149649
149671
  return resumeHookImpl(tokenOrHook, payload, encryptionKeyOverride, false, Date.now());
@@ -149766,7 +149788,7 @@ async function resumeHookImpl(tokenOrHook, payload, encryptionKeyOverride, hookF
149766
149788
  ...resumeId ? { idempotencyKey: `hook-${resumeId}` } : {}
149767
149789
  }), (_d2 = world.isDeploymentUnavailableError) == null ? void 0 : _d2.bind(world));
149768
149790
  span == null ? void 0 : span.setAttributes(HookWakePublished(true));
149769
- return hook;
149791
+ return asLazyMetadataHook(hook);
149770
149792
  } catch (err) {
149771
149793
  span == null ? void 0 : span.setAttributes({
149772
149794
  ...HookToken(typeof tokenOrHook === "string" ? tokenOrHook : tokenOrHook.token),
@@ -149779,26 +149801,28 @@ async function resumeHookImpl(tokenOrHook, payload, encryptionKeyOverride, hookF
149779
149801
  }
149780
149802
  async function resumeWebhook(token, request2) {
149781
149803
  const resumeRequestedAtMs = Date.now();
149782
- const { hook, encryptionKey } = await getHookByTokenWithKey(token);
149804
+ const world = await getWorldLazy();
149805
+ const { hook, metadataEncryptionKey } = withLazyMetadata(await world.hooks.getByToken(token));
149783
149806
  if (hook.isWebhook === false) {
149784
149807
  throw new HookNotFoundError(token);
149785
149808
  }
149809
+ const metadata = await hook.metadata;
149786
149810
  let response2;
149787
149811
  let responseReadable;
149788
- if (hook.metadata && typeof hook.metadata === "object" && "respondWith" in hook.metadata) {
149789
- if (hook.metadata.respondWith === "manual") {
149812
+ if (metadata && typeof metadata === "object" && "respondWith" in metadata) {
149813
+ if (metadata.respondWith === "manual") {
149790
149814
  const { readable: readable2, writable } = new TransformStream();
149791
149815
  responseReadable = readable2;
149792
149816
  request2[WEBHOOK_RESPONSE_WRITABLE] = writable;
149793
- } else if (hook.metadata.respondWith instanceof Response) {
149794
- response2 = hook.metadata.respondWith;
149817
+ } else if (metadata.respondWith instanceof Response) {
149818
+ response2 = metadata.respondWith;
149795
149819
  } else {
149796
- throw new WorkflowRuntimeError(`Invalid \`respondWith\` value: ${hook.metadata.respondWith}`, { slug: ERROR_SLUGS.WEBHOOK_INVALID_RESPOND_WITH_VALUE });
149820
+ throw new WorkflowRuntimeError(`Invalid \`respondWith\` value: ${metadata.respondWith}`, { slug: ERROR_SLUGS.WEBHOOK_INVALID_RESPOND_WITH_VALUE });
149797
149821
  }
149798
149822
  } else {
149799
149823
  response2 = new Response(null, { status: 202 });
149800
149824
  }
149801
- await resumeHookImpl(hook, request2, encryptionKey, true, resumeRequestedAtMs);
149825
+ await resumeHookImpl(hook, request2, metadataEncryptionKey(), true, resumeRequestedAtMs);
149802
149826
  if (responseReadable) {
149803
149827
  const reader = responseReadable.getReader();
149804
149828
  const chunk = await reader.read();
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { b4 as reactExports, b5 as R, b6 as Ks, b7 as jsxRuntimeExports, b8 as Qe } from "./app-BktG_kyr.js";
5
+ import { b4 as reactExports, b5 as R, b6 as Ks, b7 as jsxRuntimeExports, b8 as Qe } from "./app-CBtZR8rR.js";
6
6
  import "node:stream";
7
7
  import "stream";
8
8
  import "util";
@@ -1137,7 +1137,7 @@ function requireWebsocket() {
1137
1137
  const DEFAULT_MAX_PAYLOAD = 256 * 1024;
1138
1138
  async function loadWebSocketServer() {
1139
1139
  try {
1140
- const ws = await import("./wrapper-BPjS6joc.js");
1140
+ const ws = await import("./wrapper-B4hIt4qi.js");
1141
1141
  return ws.WebSocketServer;
1142
1142
  } catch {
1143
1143
  throw new Error(
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { H as HookSchema } from "./app-BktG_kyr.js";
6
- import { A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, B, r, s, t, u, C, D, v, E, w, x, y, F, z, G, I, J, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3 } from "./app-BktG_kyr.js";
5
+ import { H as HookSchema } from "./app-CBtZR8rR.js";
6
+ import { A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, B, r, s, t, u, C, D, v, E, w, x, y, F, z, G, I, J, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3 } from "./app-CBtZR8rR.js";
7
7
  import "node:stream";
8
8
  import "stream";
9
9
  import "util";
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { N as Nt } from "./app-BktG_kyr.js";
5
+ import { N as Nt } from "./app-CBtZR8rR.js";
6
6
  import "node:stream";
7
7
  import "stream";
8
8
  import "util";
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { bs as requireTokenError, br as requireTokenUtil, bq as getDefaultExportFromCjs } from "./app-BktG_kyr.js";
5
+ import { bs as requireTokenError, br as requireTokenUtil, bq as getDefaultExportFromCjs } from "./app-CBtZR8rR.js";
6
6
  function _mergeNamespaces(n, m) {
7
7
  for (var i = 0; i < m.length; i++) {
8
8
  const e = m[i];
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { bq as getDefaultExportFromCjs, br as requireTokenUtil } from "./app-BktG_kyr.js";
5
+ import { bq as getDefaultExportFromCjs, br as requireTokenUtil } from "./app-CBtZR8rR.js";
6
6
  function _mergeNamespaces(n, m) {
7
7
  for (var i = 0; i < m.length; i++) {
8
8
  const e = m[i];
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { bt as getAugmentedNamespace, bq as getDefaultExportFromCjs } from "./app-BktG_kyr.js";
5
+ import { bt as getAugmentedNamespace, bq as getDefaultExportFromCjs } from "./app-CBtZR8rR.js";
6
6
  import require$$0$2 from "stream";
7
7
  import require$$0$3 from "events";
8
8
  import require$$2$1 from "http";
@@ -2,9 +2,9 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { W as WebSocket } from "./websocket-server-Czz0Pxs-.js";
6
- import { p, r, s, w, a, e, b } from "./websocket-server-Czz0Pxs-.js";
7
- import "./app-BktG_kyr.js";
5
+ import { W as WebSocket } from "./websocket-server-DwbEw-Dm.js";
6
+ import { p, r, s, w, a, e, b } from "./websocket-server-DwbEw-Dm.js";
7
+ import "./app-CBtZR8rR.js";
8
8
  import "node:stream";
9
9
  import "stream";
10
10
  import "util";
@@ -5,8 +5,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
5
5
  if (typeof require === "undefined") {
6
6
  globalThis.require = __wkfCreateRequire(import.meta.url);
7
7
  }
8
- import { ba as isWsEventsTransportEnabled, bb as debugLog, bc as getHttpUrl, bd as globalSingleton, be as version, bf as getHttpConfig, bg as headersToRecord, bh as getRequestTimeoutMs, bi as injectTraceContextIntoHeaders, bj as withHttpClientSpan, bk as ErrorType, bl as WorkflowWsReconnectAttempt, bm as NetworkProtocolName, bn as WorkflowEventsTransport, bo as distExports, bp as decodeFrames } from "./app-BktG_kyr.js";
9
- import { W as WebSocket } from "./websocket-server-Czz0Pxs-.js";
8
+ import { ba as isWsEventsTransportEnabled, bb as debugLog, bc as getHttpUrl, bd as globalSingleton, be as version, bf as getHttpConfig, bg as headersToRecord, bh as getRequestTimeoutMs, bi as injectTraceContextIntoHeaders, bj as withHttpClientSpan, bk as ErrorType, bl as WorkflowWsReconnectAttempt, bm as NetworkProtocolName, bn as WorkflowEventsTransport, bo as distExports, bp as decodeFrames } from "./app-CBtZR8rR.js";
9
+ import { W as WebSocket } from "./websocket-server-DwbEw-Dm.js";
10
10
  import "node:stream";
11
11
  import "stream";
12
12
  import "util";
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { b9 as registerZstdDecoder } from "./app-BktG_kyr.js";
5
+ import { b9 as registerZstdDecoder } from "./app-CBtZR8rR.js";
6
6
  import "node:stream";
7
7
  import "stream";
8
8
  import "util";
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { bu, bv } from "./assets/app-BktG_kyr.js";
5
+ import { bu, bv } from "./assets/app-CBtZR8rR.js";
6
6
  import "express";
7
7
  import "node:stream";
8
8
  import "stream";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workflow/web",
3
3
  "description": "Workflow Observability UI",
4
- "version": "5.0.0-beta.49",
4
+ "version": "5.0.0-beta.50",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "files": [
@@ -65,10 +65,10 @@
65
65
  "@types/react": "19",
66
66
  "@types/react-dom": "19",
67
67
  "@vercel/react-router": "1.2.6",
68
- "@workflow/core": "5.0.0-beta.49",
68
+ "@workflow/core": "5.0.0-beta.50",
69
69
  "@workflow/errors": "5.0.0-beta.21",
70
70
  "@workflow/utils": "5.0.0-beta.10",
71
- "@workflow/web-shared": "5.0.0-beta.49",
71
+ "@workflow/web-shared": "5.0.0-beta.50",
72
72
  "@workflow/world": "5.0.0-beta.34",
73
73
  "@workflow/world-vercel": "5.0.0-beta.45",
74
74
  "@xyflow/react": "12.10.1",