@resolveio/server-lib 3.0.0 → 3.0.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server-app.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
package/server-app.js CHANGED
@@ -302,7 +302,7 @@ var ResolveIOMainServer = /** @class */ (function () {
302
302
  msg = this_1._msgQueue.pop();
303
303
  data = msg.data;
304
304
  ws = msg.ws;
305
- if (data[1] === 'ping') {
305
+ if (data[0] === 'ping') {
306
306
  if (ws && ws.readyState === ws.OPEN) {
307
307
  ws.send('pong', function (error) {
308
308
  if (error) {