castle-chat-lib
Advanced tools
Comparing version 2.3.0 to 2.4.0
{ | ||
"name": "castle-chat-lib", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -35,2 +35,12 @@ import _ from 'lodash'; | ||
async disconnect() { | ||
this._handleConnectionStatusChange(ConnectionStatus.DISCONNECTED); | ||
this._seenChatIds = {}; | ||
if (this._socket) { | ||
this._socket.disconnect(); | ||
this._socket = null; | ||
} | ||
} | ||
async connect() { | ||
@@ -37,0 +47,0 @@ let channels = await this._subscribedChannelsAsync(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5283
164