@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/chatkit.cjs +5 -2
- package/dist/chatkit.cjs.map +1 -1
- package/dist/chatkit.ui5.js +5 -2
- package/dist/chatkit.ui5.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/chatkit.ui5.js
CHANGED
|
@@ -2609,7 +2609,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2609
2609
|
payload,
|
|
2610
2610
|
hostType,
|
|
2611
2611
|
hostId,
|
|
2612
|
-
viewKey
|
|
2612
|
+
viewKey,
|
|
2613
|
+
userActivated
|
|
2613
2614
|
}) => {
|
|
2614
2615
|
var _a2, _b2;
|
|
2615
2616
|
const onClientCommand = (_b2 = (_a2 = __privateGet(this, _opts)) == null ? void 0 : _a2.workbench) == null ? void 0 : _b2.onClientCommand;
|
|
@@ -2621,7 +2622,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2621
2622
|
payload,
|
|
2622
2623
|
hostType,
|
|
2623
2624
|
hostId,
|
|
2624
|
-
viewKey
|
|
2625
|
+
viewKey,
|
|
2626
|
+
// This flag comes from the trusted ChatKit shell, never from the plugin payload.
|
|
2627
|
+
...userActivated !== void 0 ? { userActivated } : {}
|
|
2625
2628
|
});
|
|
2626
2629
|
},
|
|
2627
2630
|
onWidgetAction: async ({
|