castle-chat-lib
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "castle-chat-lib", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -70,2 +70,12 @@ const uuidv4 = require('uuid/v4'); | ||
}); | ||
this._socket.on('presence', (msg) => { | ||
try { | ||
if (msg.type == 'full-update' && this._presenceHandler) { | ||
this._presenceHandler({ | ||
user_ids: msg.user_ids, | ||
}); | ||
} | ||
} catch (e) {} | ||
}); | ||
} | ||
@@ -72,0 +82,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3689
109
0