Webpack build for branch master: 2eb3720001

This commit is contained in:
Travis CI 2017-07-03 22:12:06 +00:00
parent 3d5caaa004
commit 13c650965b
2 changed files with 4 additions and 3 deletions

View file

@ -17556,7 +17556,9 @@ class WebSocketConnection extends EventEmitter {
} catch (err) {
this.emit('debug', err);
}
return this.onPacket(data);
const ret = this.onPacket(data);
this.client.emit('raw', data);
return ret;
}
/**
@ -17577,7 +17579,6 @@ class WebSocketConnection extends EventEmitter {
this.debug('Received null packet');
return false;
}
this.client.emit('raw', packet);
switch (packet.op) {
case Constants.OPCodes.HELLO:
return this.heartbeat(packet.d.heartbeat_interval);

File diff suppressed because one or more lines are too long