server-socket-framework-jps
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -144,3 +144,3 @@ "use strict"; | ||
socket.on('chat', ({ from, id, room, message, created, priority, simpleAttachment, attachment, type }) => { | ||
socketDebug(`${from} has sent a message to room ${room}: ${message}`); | ||
socketDebug(`${from} has sent a message ${id} to room ${room}: ${message}`); | ||
// send the message to the rest of the room | ||
@@ -147,0 +147,0 @@ let cMessage = this.createMessageForRoom(from, id, room, message, created, type, priority, simpleAttachment, attachment); |
@@ -23,3 +23,3 @@ export declare enum DataMessageType { | ||
user: string; | ||
context?: string; | ||
context?: any; | ||
}; | ||
@@ -26,0 +26,0 @@ export declare type ChatMessage = { |
{ | ||
"name": "server-socket-framework-jps", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "A simple socket framework for persistent chat rooms and data messages", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82549