@eyepop.ai/eyepop 3.26.0-rc.0 → 3.26.0-rc.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.
@@ -12136,6 +12136,10 @@ var PipelineBackend = class {
12136
12136
  command(socket, message) {
12137
12137
  const id = this.newId(message["type"]);
12138
12138
  return new Promise((resolve, reject) => {
12139
+ if (!socket.open) {
12140
+ reject(new PipelineSocketClosedError(void 0, "the socket closed"));
12141
+ return;
12142
+ }
12139
12143
  socket.commands.set(id, { resolve, reject });
12140
12144
  socket.sendJson({ ...message, id });
12141
12145
  });