vue-wiguet-chatweb 0.0.4 → 0.0.6

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.4",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -39,7 +39,7 @@ import {syncVirtualHostCentral,sendMessageByAppAndPhone,messagesByAppAndPhone} f
39
39
  //const store = useStore()
40
40
  //DATA
41
41
  const app = ref('webchat')
42
- const deviceSelect = ref('76177719')
42
+ // const deviceSelect = ref('76177719')
43
43
  const rabbitMQServiceListen:any = ref(null);
44
44
  const message:any = ref(null);
45
45
  const messages:any = ref([]);
@@ -88,7 +88,7 @@ const submitMessage = async (event:any) => {
88
88
  virtualHost:virtualhost,
89
89
  queue:`widget_chat_${sessionStorage.getItem('tabBrowser')}`,//`${selectDetailtChat.value.app}_${queueUniqueUser.value}`,
90
90
  device:'00000000',
91
- phone:removeNumPrefix(deviceSelect.value),
91
+ phone:removeNumPrefix(props.phoneUser),
92
92
  app:app.value,
93
93
  message: message.value,
94
94
  widget:true