iosignal 7.0.4 → 7.1.0
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/dist/node/iosignal.cjs
CHANGED
|
@@ -17,7 +17,7 @@ var fs = require('fs');
|
|
|
17
17
|
var process$1 = require('process');
|
|
18
18
|
var path = require('path');
|
|
19
19
|
|
|
20
|
-
var version$1 = "7.0
|
|
20
|
+
var version$1 = "7.1.0";
|
|
21
21
|
var pkg = {
|
|
22
22
|
version: version$1};
|
|
23
23
|
|
|
@@ -1205,6 +1205,7 @@ class IOCore extends EventEmitter {
|
|
|
1205
1205
|
break;
|
|
1206
1206
|
|
|
1207
1207
|
case IOMsg.PONG:
|
|
1208
|
+
this.emit('pong');
|
|
1208
1209
|
break;
|
|
1209
1210
|
|
|
1210
1211
|
case IOMsg.ECHO:
|
|
@@ -7625,7 +7626,8 @@ class RemoteCore {
|
|
|
7625
7626
|
|
|
7626
7627
|
switch (msgType) {
|
|
7627
7628
|
case IOMsg.PING:
|
|
7628
|
-
|
|
7629
|
+
// Reply in the IOSignal protocol; browser JS cannot observe WS control PONG.
|
|
7630
|
+
this.send(Buffer.from([IOMsg.PONG]));
|
|
7629
7631
|
break;
|
|
7630
7632
|
|
|
7631
7633
|
case IOMsg.PONG:
|
package/dist/node/iosignal.js
CHANGED
|
@@ -15,7 +15,7 @@ import fs, { readFileSync } from 'fs';
|
|
|
15
15
|
import { memoryUsage } from 'process';
|
|
16
16
|
import path from 'path';
|
|
17
17
|
|
|
18
|
-
var version$1 = "7.0
|
|
18
|
+
var version$1 = "7.1.0";
|
|
19
19
|
var pkg = {
|
|
20
20
|
version: version$1};
|
|
21
21
|
|
|
@@ -1203,6 +1203,7 @@ class IOCore extends EventEmitter {
|
|
|
1203
1203
|
break;
|
|
1204
1204
|
|
|
1205
1205
|
case IOMsg.PONG:
|
|
1206
|
+
this.emit('pong');
|
|
1206
1207
|
break;
|
|
1207
1208
|
|
|
1208
1209
|
case IOMsg.ECHO:
|
|
@@ -7623,7 +7624,8 @@ class RemoteCore {
|
|
|
7623
7624
|
|
|
7624
7625
|
switch (msgType) {
|
|
7625
7626
|
case IOMsg.PING:
|
|
7626
|
-
|
|
7627
|
+
// Reply in the IOSignal protocol; browser JS cannot observe WS control PONG.
|
|
7628
|
+
this.send(Buffer.from([IOMsg.PONG]));
|
|
7627
7629
|
break;
|
|
7628
7630
|
|
|
7629
7631
|
case IOMsg.PONG:
|