vue-wiguet-chatweb 0.0.23 → 0.0.25
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vue-wiguet-chatweb",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.25",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist",
|
@@ -28,6 +28,7 @@
|
|
28
28
|
"dev": "vite",
|
29
29
|
"build": "vue-tsc && vite build",
|
30
30
|
"preview": "vite preview",
|
31
|
+
"test:unit": "vitest",
|
31
32
|
"prepack": "npm run build"
|
32
33
|
},
|
33
34
|
"peerDependencies": {
|
@@ -51,9 +52,11 @@
|
|
51
52
|
"@types/luxon": "^3.4.2",
|
52
53
|
"@types/node": "^20.4.6",
|
53
54
|
"@types/uuid": "^10.0.0",
|
54
|
-
"@vitejs/plugin-vue": "^
|
55
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
56
|
+
"jsdom": "^25.0.1",
|
55
57
|
"typescript": "^5.0.2",
|
56
|
-
"vite": "^
|
58
|
+
"vite": "^5.4.11",
|
59
|
+
"vitest": "^2.1.8",
|
57
60
|
"vue-tsc": "^1.8.5"
|
58
61
|
}
|
59
62
|
}
|
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
|
-
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
|
-
|
286
|
-
`
|
285
|
+
`chat_virtual_host`,
|
286
|
+
`webchat_${sessionStorage.getItem("tabBrowser")}`
|
287
287
|
);
|
288
288
|
rabbitMQServiceListen.value.connect();
|
289
289
|
|