vue-wiguet-chatweb 0.0.24 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-wiguet-chatweb",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -275,15 +275,15 @@ const retryMessage = async (message: Message) => {
275
275
  };
276
276
 
277
277
  const connectMsRabbit = (app: any = "webchat") => {
278
- // const { virtualhost } = virtualHost.value;
278
+ const { virtualhost } = virtualHost.value;
279
279
  let data = sessionStorage.getItem("tabBrowser");
280
280
  if (!data) {
281
281
  let tab = appChatId.value;
282
282
  sessionStorage.setItem("tabBrowser", `${tab}`);
283
283
  }
284
284
  rabbitMQServiceListen.value = new RabbitMQService(
285
- `chat_virtual_host`,
286
- `web_chat_${sessionStorage.getItem("tabBrowser")}`
285
+ `${virtualhost}`,
286
+ `widget_chat_${sessionStorage.getItem("tabBrowser")}`
287
287
  );
288
288
  rabbitMQServiceListen.value.connect();
289
289