@relaycorp/ws-mock
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -19,3 +19,3 @@ "use strict"; | ||
await new Promise(setImmediate); | ||
if (!this.didICloseConnection) { | ||
if (!this.didICloseConnection && !this.didPeerCloseConnection) { | ||
this.close(); | ||
@@ -22,0 +22,0 @@ } |
@@ -16,3 +16,3 @@ import { MockPeer } from './MockPeer'; | ||
await new Promise(setImmediate); | ||
if (!this.didICloseConnection) { | ||
if (!this.didICloseConnection && !this.didPeerCloseConnection) { | ||
this.close(); | ||
@@ -19,0 +19,0 @@ } |
{ | ||
"name": "@relaycorp/ws-mock", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "email": "no-reply@relaycorp.tech", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
54796