@relaycorp/ws-mock
Advanced tools
Comparing version 1.4.7 to 1.4.8
@@ -65,5 +65,3 @@ "use strict"; | ||
destroy(error, callback) { | ||
if (!connection.ownCloseFrame) { | ||
connection.emit('close', 1006); | ||
} | ||
connection.emit('close', 1006); | ||
callback(error); | ||
@@ -70,0 +68,0 @@ }, |
@@ -62,5 +62,3 @@ import { EventEmitter } from 'events'; | ||
destroy(error, callback) { | ||
if (!connection.ownCloseFrame) { | ||
connection.emit('close', 1006); | ||
} | ||
connection.emit('close', 1006); | ||
callback(error); | ||
@@ -67,0 +65,0 @@ }, |
{ | ||
"name": "@relaycorp/ws-mock", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"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
48507
771