@xpert-ai/chatkit-web-component 0.5.4 → 0.6.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.
|
@@ -2760,6 +2760,16 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2760
2760
|
}
|
|
2761
2761
|
return onRequestPreview(request);
|
|
2762
2762
|
},
|
|
2763
|
+
onConnectWorkspaceConnector: async (request) => {
|
|
2764
|
+
var _a2, _b2, _c2;
|
|
2765
|
+
const connect = (_c2 = (_b2 = (_a2 = __privateGet(this, _opts)) == null ? void 0 : _a2.composer) == null ? void 0 : _b2.resources) == null ? void 0 : _c2.onConnect;
|
|
2766
|
+
if (!connect) {
|
|
2767
|
+
__privateMethod(this, _ChatKitElementBase_instances, emitAndThrow_fn).call(this, new IntegrationError(
|
|
2768
|
+
"Add composer.resources.onConnect to handle workspace Connector connections."
|
|
2769
|
+
));
|
|
2770
|
+
}
|
|
2771
|
+
return connect(request);
|
|
2772
|
+
},
|
|
2763
2773
|
onWorkbenchClientCommand: async ({
|
|
2764
2774
|
commandKey,
|
|
2765
2775
|
payload,
|