vantiv.io 1.0.1 → 1.0.3

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": "vantiv.io",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Enterprise WebSocket infrastructure for Highrise featuring spatial intelligence systems, memory-optimized architecture, and production-grade reliability for scalable application development",
5
5
  "keywords": [
6
6
  "highrise",
@@ -41,7 +41,6 @@ class KeepAliveManager {
41
41
  };
42
42
 
43
43
  this.connectionManager.send(keepalive);
44
- this.logger.debug('KeepAliveManager', 'Keepalive sent');
45
44
 
46
45
  } catch (error) {
47
46
  this.logger.error('KeepAliveManager', 'Failed to send keepalive', {
@@ -39,8 +39,7 @@ class MessageHandler {
39
39
 
40
40
  _processMessage(message) {
41
41
  if (message._type === 'KeepaliveResponse') {
42
- this.keepAliveManager.handlePong();
43
- return;
42
+ return
44
43
  }
45
44
 
46
45
  if (this.fireAndForget && this.fireAndForget._responseHandler(message)) {
@@ -35,10 +35,9 @@ class Highrise extends HighriseWebsocket {
35
35
  ? userOptions.customRoles
36
36
  : [],
37
37
 
38
- music: {
39
- enabled: userOptions.music.enabled || false,
40
- ...userOptions.music
41
- }
38
+ music: userOptions.music !== undefined
39
+ ? userOptions.music
40
+ : {}
42
41
  };
43
42
 
44
43
  const eventsValidation = ConfigValidator.validateEvents(events);