diff --git a/index.js b/index.js index ca7294b..6cc132b 100644 --- a/index.js +++ b/index.js @@ -49,7 +49,7 @@ export default { }) } - return my.socket + return this }, closeSocket(){ if (my.socket) my.socket.close()