@camunda/play 5.5.2-rc.4 → 5.5.2-rc.5

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.
Files changed (2) hide show
  1. package/build/index.js +6 -4
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -117523,7 +117523,7 @@ const mLe = Pt(
117523
117523
  mLe.displayName = "RestartInstance";
117524
117524
  const ALe = Pt(() => {
117525
117525
  const o = Yo(xo), { featureFlags: e, displayNotification: t, reInitializePlay: n } = o, { isReplayScenariosEnabled: i } = e, { instanceKey: r, status: s, processInstance: a, scenarioName: l } = Ee.state, { isCalledProcess: p } = Ee, { scenarioRuns: u } = Yt.state, { sanitizedOperateBaseUrl: d, hasLinkToOperate: h, authType: g, projectId: m } = Ue, A = a?.bpmnProcessId;
117526
- if (Wt(() => {
117526
+ Wt(() => {
117527
117527
  A !== void 0 && Yt.loadScenarios(A);
117528
117528
  }, [r, A, m]), Wt(() => {
117529
117529
  s === "auth-error" && t?.error(
@@ -117533,8 +117533,7 @@ const ALe = Pt(() => {
117533
117533
  },
117534
117534
  { ...Xs, shouldPersist: !0 }
117535
117535
  );
117536
- }, [s, g, t]), !r)
117537
- return null;
117536
+ }, [s, g, t]);
117538
117537
  const f = Di(
117539
117538
  async (E) => {
117540
117539
  const S = await dt.fetchInstanceDetails(
@@ -117555,7 +117554,10 @@ const ALe = Pt(() => {
117555
117554
  });
117556
117555
  },
117557
117556
  [t, n]
117558
- ), w = uht({
117557
+ );
117558
+ if (!r)
117559
+ return null;
117560
+ const w = uht({
117559
117561
  isReplayScenariosEnabled: i,
117560
117562
  isCalledProcess: p
117561
117563
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/play",
3
- "version": "5.5.2-rc.4",
3
+ "version": "5.5.2-rc.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "start": "vite",