@xpert-ai/chatkit-ui5 0.12.1 → 0.12.2

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/chatkit.cjs CHANGED
@@ -2608,7 +2608,8 @@ class ChatKitElementBase extends (_c = HTMLElement, _focusComposer_dec = [requir
2608
2608
  payload,
2609
2609
  hostType,
2610
2610
  hostId,
2611
- viewKey
2611
+ viewKey,
2612
+ userActivated
2612
2613
  }) => {
2613
2614
  var _a2, _b2;
2614
2615
  const onClientCommand = (_b2 = (_a2 = __privateGet(this, _opts)) == null ? void 0 : _a2.workbench) == null ? void 0 : _b2.onClientCommand;
@@ -2620,7 +2621,9 @@ class ChatKitElementBase extends (_c = HTMLElement, _focusComposer_dec = [requir
2620
2621
  payload,
2621
2622
  hostType,
2622
2623
  hostId,
2623
- viewKey
2624
+ viewKey,
2625
+ // This flag comes from the trusted ChatKit shell, never from the plugin payload.
2626
+ ...userActivated !== void 0 ? { userActivated } : {}
2624
2627
  });
2625
2628
  },
2626
2629
  onWidgetAction: async ({