@wazo/sdk 0.49.3 → 0.49.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -6
- package/dist/index.mjs +0 -6
- package/dist/wazo-sdk.js +0 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4602,12 +4602,6 @@ class WebSocketClient extends Emitter {
|
|
|
4602
4602
|
token: obfuscateToken(this.token)
|
|
4603
4603
|
});
|
|
4604
4604
|
if (!this.socket) return;
|
|
4605
|
-
if (3 === this.socket.readyState) {
|
|
4606
|
-
websocket_client_logger.warn('Trying to close an already closed websocket, bailing.', {
|
|
4607
|
-
url: this._getUrl()
|
|
4608
|
-
});
|
|
4609
|
-
return;
|
|
4610
|
-
}
|
|
4611
4605
|
if (force) {
|
|
4612
4606
|
this.socket.onmessage = null;
|
|
4613
4607
|
this.socket.onopen = null;
|
package/dist/index.mjs
CHANGED
|
@@ -4533,12 +4533,6 @@ class WebSocketClient extends Emitter {
|
|
|
4533
4533
|
token: obfuscateToken(this.token)
|
|
4534
4534
|
});
|
|
4535
4535
|
if (!this.socket) return;
|
|
4536
|
-
if (3 === this.socket.readyState) {
|
|
4537
|
-
websocket_client_logger.warn('Trying to close an already closed websocket, bailing.', {
|
|
4538
|
-
url: this._getUrl()
|
|
4539
|
-
});
|
|
4540
|
-
return;
|
|
4541
|
-
}
|
|
4542
4536
|
if (force) {
|
|
4543
4537
|
this.socket.onmessage = null;
|
|
4544
4538
|
this.socket.onopen = null;
|
package/dist/wazo-sdk.js
CHANGED
|
@@ -38492,12 +38492,6 @@ and limitations under the License.
|
|
|
38492
38492
|
token: obfuscateToken(this.token)
|
|
38493
38493
|
});
|
|
38494
38494
|
if (!this.socket) return;
|
|
38495
|
-
if (3 === this.socket.readyState) {
|
|
38496
|
-
websocket_client_logger.warn('Trying to close an already closed websocket, bailing.', {
|
|
38497
|
-
url: this._getUrl()
|
|
38498
|
-
});
|
|
38499
|
-
return;
|
|
38500
|
-
}
|
|
38501
38495
|
if (force) {
|
|
38502
38496
|
this.socket.onmessage = null;
|
|
38503
38497
|
this.socket.onopen = null;
|