@koi-design/callkit 2.1.1 → 2.1.2
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.global.js +1 -5
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.global.js
CHANGED
|
@@ -3879,7 +3879,7 @@ var WebCall = (() => {
|
|
|
3879
3879
|
// package.json
|
|
3880
3880
|
var package_default = {
|
|
3881
3881
|
name: "@koi-design/callkit",
|
|
3882
|
-
version: "2.1.
|
|
3882
|
+
version: "2.1.2",
|
|
3883
3883
|
description: "callkit",
|
|
3884
3884
|
author: "koi",
|
|
3885
3885
|
license: "ISC",
|
|
@@ -20162,10 +20162,6 @@ ${log}` : log;
|
|
|
20162
20162
|
const now = Date.now();
|
|
20163
20163
|
const { pingInterval, pingTimeout } = this.reconnectConfig;
|
|
20164
20164
|
if (now - this.lastPingTime > pingInterval + pingTimeout) {
|
|
20165
|
-
if (this.ws && this.connectAuthState.isConnected) {
|
|
20166
|
-
this.ws.close(4001, "ping timeout");
|
|
20167
|
-
}
|
|
20168
|
-
this.callKit.reset();
|
|
20169
20165
|
this.callKit.logger.warn("Ping timeout not connected", {
|
|
20170
20166
|
caller: "Socket.ping",
|
|
20171
20167
|
type: "INCALL",
|