@relaycorp/ws-mock
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -82,3 +82,3 @@ "use strict"; | ||
destroy(error, callback) { | ||
connection.emit('close', 1006); | ||
connection.emit('close', error ? 1006 : 1005); | ||
callback(error); | ||
@@ -85,0 +85,0 @@ }, |
@@ -76,3 +76,3 @@ import { EventEmitter } from 'events'; | ||
destroy(error, callback) { | ||
connection.emit('close', 1006); | ||
connection.emit('close', error ? 1006 : 1005); | ||
callback(error); | ||
@@ -79,0 +79,0 @@ }, |
{ | ||
"name": "@relaycorp/ws-mock", | ||
"version": "2.4.0", | ||
"version": "2.4.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
60933