vue-wiguet-chatweb 0.0.25 → 0.0.27
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/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +277 -276
- package/dist/vue-wiguet-chatweb.umd.cjs +4 -4
- package/package.json +1 -1
- package/src/components/Chat.vue +4 -4
package/package.json
CHANGED
package/src/components/Chat.vue
CHANGED
@@ -275,15 +275,15 @@ const retryMessage = async (message: Message) => {
|
|
275
275
|
};
|
276
276
|
|
277
277
|
const connectMsRabbit = (app: any = "webchat") => {
|
278
|
-
|
278
|
+
const { virtualhost } = virtualHost.value;
|
279
279
|
let data = sessionStorage.getItem("tabBrowser");
|
280
280
|
if (!data) {
|
281
|
-
let tab =
|
281
|
+
let tab = Date.now();
|
282
282
|
sessionStorage.setItem("tabBrowser", `${tab}`);
|
283
283
|
}
|
284
284
|
rabbitMQServiceListen.value = new RabbitMQService(
|
285
|
-
|
286
|
-
`
|
285
|
+
`${virtualhost}`,
|
286
|
+
`widget_chat_${sessionStorage.getItem("tabBrowser")}`
|
287
287
|
);
|
288
288
|
rabbitMQServiceListen.value.connect();
|
289
289
|
|