@xpert-ai/chatkit-ui5 0.4.2 → 0.4.3

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.
@@ -2514,6 +2514,16 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
2514
2514
  }
2515
2515
  return onRequestPreview(request);
2516
2516
  },
2517
+ onConnectWorkspaceConnector: async (request) => {
2518
+ var _a2, _b2, _c2;
2519
+ const connect = (_c2 = (_b2 = (_a2 = __privateGet(this, _opts)) == null ? void 0 : _a2.composer) == null ? void 0 : _b2.resources) == null ? void 0 : _c2.onConnect;
2520
+ if (!connect) {
2521
+ __privateMethod(this, _ChatKitElementBase_instances, emitAndThrow_fn).call(this, new IntegrationError(
2522
+ "Add composer.resources.onConnect to handle workspace Connector connections."
2523
+ ));
2524
+ }
2525
+ return connect(request);
2526
+ },
2517
2527
  onWorkbenchClientCommand: async ({
2518
2528
  commandKey,
2519
2529
  payload,