@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.
|
@@ -2855,7 +2855,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2855
2855
|
payload,
|
|
2856
2856
|
hostType,
|
|
2857
2857
|
hostId,
|
|
2858
|
-
viewKey
|
|
2858
|
+
viewKey,
|
|
2859
|
+
userActivated
|
|
2859
2860
|
}) => {
|
|
2860
2861
|
var _a2, _b2;
|
|
2861
2862
|
const onClientCommand = (_b2 = (_a2 = __privateGet(this, _opts)) == null ? void 0 : _a2.workbench) == null ? void 0 : _b2.onClientCommand;
|
|
@@ -2867,7 +2868,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2867
2868
|
payload,
|
|
2868
2869
|
hostType,
|
|
2869
2870
|
hostId,
|
|
2870
|
-
viewKey
|
|
2871
|
+
viewKey,
|
|
2872
|
+
// This flag comes from the trusted ChatKit shell, never from the plugin payload.
|
|
2873
|
+
...userActivated !== void 0 ? { userActivated } : {}
|
|
2871
2874
|
});
|
|
2872
2875
|
},
|
|
2873
2876
|
onWidgetAction: async ({
|