vue-wiguet-chatweb 0.1.4 → 0.1.6

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.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
  }