@intuned/runtime-dev 1.3.24-pipe.0 → 1.3.24-pipe.2

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.
@@ -360,6 +360,9 @@ var require_interfaceClient = __commonJS({
360
360
  this.socket = socket;
361
361
  }
362
362
  async sendJSON(data) {
363
+ if (this.socket.closed) {
364
+ return;
365
+ }
363
366
  const dataToSend = JSON.stringify(data);
364
367
  const length = Buffer.byteLength(dataToSend);
365
368
  const buffer = Buffer.alloc(_SocketClient.LENGTH_HEADER_LENGTH + length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.3.24-pipe.0",
3
+ "version": "1.3.24-pipe.2",
4
4
  "description": "Intuned runtime",
5
5
  "packageManager": "yarn@4.12.0",
6
6
  "main": "./dist/index.js",