vue-wiguet-chatweb 0.1.4 → 0.1.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.1.4",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -189,7 +189,7 @@ const submitMessage = async (event: Event) => {
189
189
 
190
190
  socketService.value.emit(
191
191
  'sendMessage',
192
- { roomId: information?.value?.appChat.id, message: newMsg },
192
+ { roomId: information?.value?.appChat.id, message: { ...newMsg, ...newMessage} },
193
193
  (response: any) => {
194
194
  console.log('🚀 ~ socketService.value.emit ~ response:', response);
195
195
  }