@xpert-ai/chatkit-ui5 0.12.1 → 0.13.0

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