webitel-sdk 0.1.85 → 0.1.86
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/bundles/index.esm.js +3 -0
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +3 -0
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/socket/client.js +3 -0
- package/esm2015/socket/client.js.map +1 -1
- package/esm5/socket/client.js +3 -0
- package/esm5/socket/client.js.map +1 -1
- package/package.json +1 -1
- package/types/socket/client.d.ts.map +1 -1
package/bundles/index.umd.js
CHANGED
|
@@ -27246,6 +27246,9 @@
|
|
|
27246
27246
|
}
|
|
27247
27247
|
_this.socket.on('message', _this.onMessage.bind(_this));
|
|
27248
27248
|
_this.socket.on('close', function (code) {
|
|
27249
|
+
if (_this.pingTimer) {
|
|
27250
|
+
clearTimeout(_this.pingTimer);
|
|
27251
|
+
}
|
|
27249
27252
|
_this.log.error('socket close code: ', code);
|
|
27250
27253
|
_this.eventHandler.off('*');
|
|
27251
27254
|
if (code !== 1000) {
|