@camunda/copilot-chat 0.4.13 → 0.4.14

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/index.js CHANGED
@@ -4476,9 +4476,8 @@ const pa = (e) => {
4476
4476
  const { transport: o } = t();
4477
4477
  if (o?.rollbackConversation)
4478
4478
  try {
4479
- await o.rollbackConversation(n, s), A.getState().rollbackToMessage(a);
4479
+ await o.rollbackConversation(n, s) && A.getState().rollbackToMessage(a);
4480
4480
  } catch (i) {
4481
- if (i instanceof Error && i.message === "ROLLBACK_CANCELLED") return;
4482
4481
  const r = i instanceof Error ? i.message : "Failed to rollback conversation";
4483
4482
  e({ error: r });
4484
4483
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/copilot-chat",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "Camunda Copilot Client Library - React components and utilities for Camunda Platform 8",
5
5
  "license": "Camunda License 1.0",
6
6
  "main": "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/copilot-chat",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Camunda Copilot Client Library - React components and utilities for Camunda Platform 8",
5
5
  "license": "Camunda License 1.0",
6
6
  "main": "./dist/index.js",