@boltic/swirl 1.0.2-uat.57 → 1.0.2-uat.58

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/swirl.es.js CHANGED
@@ -10827,10 +10827,9 @@ const Zde = (e = o6, t) => {
10827
10827
  executionLogs: {
10828
10828
  ...e.executionLogs,
10829
10829
  loading: !1,
10830
- // Preserve previously fetched logs on error instead of wiping them
10831
10830
  error: t.payload,
10832
- logs: e.executionLogs.logs ?? null,
10833
- nextPageToken: e.executionLogs.nextPageToken ?? null,
10831
+ logs: null,
10832
+ nextPageToken: null,
10834
10833
  fetchedForExecutionId: e.executionLogs.fetchedForExecutionId ?? null
10835
10834
  }
10836
10835
  };
@@ -13263,7 +13262,7 @@ const jQ = (e, t, r) => async (n) => {
13263
13262
  r,
13264
13263
  `/v1.0/${n}/`,
13265
13264
  `/workflows/execution/logs/${e}/${t}`
13266
- ), h = { ...s, page_size: 100 };
13265
+ ), h = { ...s, page_size: 50 };
13267
13266
  a ? h.next_token = a : h.next_token = !0;
13268
13267
  const A = await ir.get(p, { params: h }), g = {
13269
13268
  ...A.data.data,
@@ -148040,7 +148039,7 @@ const _tt = ts(kne, ""), wtt = Ur((e, t) => {
148040
148039
  ),
148041
148040
  /* @__PURE__ */ f.jsxs(Ve, { children: [
148042
148041
  "Check",
148043
- /* @__PURE__ */ f.jsx(kd, { href: `${c}/integrations/IfElse#operators`, target: "_blank", children: " documentation " }),
148042
+ /* @__PURE__ */ f.jsx(kd, { href: `${c}/integrations/control-flows/ifelse#operators`, target: "_blank", children: " documentation " }),
148044
148043
  "for field, condition, and data usage with examples."
148045
148044
  ] })
148046
148045
  ]
@@ -176302,7 +176301,7 @@ const RW = ({ data: e, maxHeight: t = 400 }) => {
176302
176301
  }, ot = () => {
176303
176302
  const { executions: q } = o0.getState().workflows;
176304
176303
  if (F && Ae && !q.loading && q.data.length > 0) {
176305
- const fe = !St(we) && we ? we : Ae, Qe = B === "run_with_previous" || F === b ? { execution_source: "partial" } : void 0;
176304
+ const fe = !St(we) && we ? we : Ae, Qe = B === "run_with_previous" || F === b ? { execution_source: "partial" } : { execution_source: "full" };
176306
176305
  c(
176307
176306
  NA(
176308
176307
  fe,
@@ -186847,7 +186846,7 @@ const fG = () => {
186847
186846
  e.onRefresh ? e.onRefresh() : (t(
186848
186847
  L0(
186849
186848
  s,
186850
- { ...a },
186849
+ { ...a, execution_source: "full" },
186851
186850
  u,
186852
186851
  n,
186853
186852
  i
@@ -188576,7 +188575,7 @@ const AG = /* @__PURE__ */ ai(Sht), xht = (e) => {
188576
188575
  i,
188577
188576
  cf.EXECUTION_HISTORY,
188578
188577
  o,
188579
- void 0
188578
+ { execution_source: "full" }
188580
188579
  )
188581
188580
  );
188582
188581
  }, [U, u, r]);
@@ -188589,7 +188588,7 @@ const AG = /* @__PURE__ */ ai(Sht), xht = (e) => {
188589
188588
  i,
188590
188589
  cf.EXECUTION_HISTORY,
188591
188590
  o,
188592
- void 0
188591
+ { execution_source: "full" }
188593
188592
  )
188594
188593
  );
188595
188594
  }, k = () => {
@@ -188615,7 +188614,7 @@ const AG = /* @__PURE__ */ ai(Sht), xht = (e) => {
188615
188614
  executedFrom: cf.EXECUTION_HISTORY,
188616
188615
  analytics: o,
188617
188616
  executionLogs: d,
188618
- params: void 0,
188617
+ params: { execution_source: "full" },
188619
188618
  // Start polling if we have logs (to catch running executions) or if we're still loading
188620
188619
  shouldPoll: () => d?.error ? !1 : d?.logs !== null && d?.logs !== void 0 ? !0 : d?.loading || d?.logs === null || d?.logs === void 0
188621
188620
  });
@@ -190980,7 +190979,7 @@ const AG = /* @__PURE__ */ ai(Sht), xht = (e) => {
190980
190979
  }, pAt = (e, t, r, n, i, o, s, a, l) => {
190981
190980
  const c = Lr(), [u, d] = Te(null), [p, h] = Te(!0), [A, g] = Te(!1), [m, E] = Te(!1), O = Pt(!1), y = Pt(!1), v = ut(
190982
190981
  async (S, x) => {
190983
- const C = !!x?.silent, w = !!x?.isPagination, _ = { ...i.current, ...S || {} };
190982
+ const C = !!x?.silent, w = !!x?.isPagination, _ = { ...i.current, execution_source: "full", ...S || {} };
190984
190983
  if (!n && !e) {
190985
190984
  d("Workflow id not found in the current URL."), h(!1), g(!1);
190986
190985
  return;
@@ -191073,7 +191072,7 @@ const AG = /* @__PURE__ */ ai(Sht), xht = (e) => {
191073
191072
  await A(
191074
191073
  L0(
191075
191074
  a,
191076
- { ...e.current, execution_id: v },
191075
+ { ...e.current, execution_id: v, execution_source: "full" },
191077
191076
  l,
191078
191077
  c,
191079
191078
  h