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.esm.js
CHANGED
|
@@ -23880,6 +23880,9 @@ class Client extends EventEmitter {
|
|
|
23880
23880
|
}
|
|
23881
23881
|
this.socket.on('message', this.onMessage.bind(this));
|
|
23882
23882
|
this.socket.on('close', (code) => {
|
|
23883
|
+
if (this.pingTimer) {
|
|
23884
|
+
clearTimeout(this.pingTimer);
|
|
23885
|
+
}
|
|
23883
23886
|
this.log.error('socket close code: ', code);
|
|
23884
23887
|
this.eventHandler.off('*');
|
|
23885
23888
|
if (code !== 1000) {
|