@xpert-ai/chatkit-web-component 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/xpert-chatkit.js
CHANGED
|
@@ -2851,7 +2851,8 @@ class ChatKitElementBase extends (_c = HTMLElement, _focusComposer_dec = [requir
|
|
|
2851
2851
|
payload,
|
|
2852
2852
|
hostType,
|
|
2853
2853
|
hostId,
|
|
2854
|
-
viewKey
|
|
2854
|
+
viewKey,
|
|
2855
|
+
userActivated
|
|
2855
2856
|
}) => {
|
|
2856
2857
|
var _a2, _b2;
|
|
2857
2858
|
const onClientCommand = (_b2 = (_a2 = __privateGet(this, _opts)) == null ? void 0 : _a2.workbench) == null ? void 0 : _b2.onClientCommand;
|
|
@@ -2863,7 +2864,9 @@ class ChatKitElementBase extends (_c = HTMLElement, _focusComposer_dec = [requir
|
|
|
2863
2864
|
payload,
|
|
2864
2865
|
hostType,
|
|
2865
2866
|
hostId,
|
|
2866
|
-
viewKey
|
|
2867
|
+
viewKey,
|
|
2868
|
+
// This flag comes from the trusted ChatKit shell, never from the plugin payload.
|
|
2869
|
+
...userActivated !== void 0 ? { userActivated } : {}
|
|
2867
2870
|
});
|
|
2868
2871
|
},
|
|
2869
2872
|
onWidgetAction: async ({
|