@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.js
CHANGED
|
@@ -714,7 +714,7 @@ var Call = class {
|
|
|
714
714
|
// package.json
|
|
715
715
|
var package_default = {
|
|
716
716
|
name: "@koi-design/callkit",
|
|
717
|
-
version: "2.1.
|
|
717
|
+
version: "2.1.2",
|
|
718
718
|
description: "callkit",
|
|
719
719
|
author: "koi",
|
|
720
720
|
license: "ISC",
|
|
@@ -2599,10 +2599,6 @@ var Socket = class {
|
|
|
2599
2599
|
const now = Date.now();
|
|
2600
2600
|
const { pingInterval, pingTimeout } = this.reconnectConfig;
|
|
2601
2601
|
if (now - this.lastPingTime > pingInterval + pingTimeout) {
|
|
2602
|
-
if (this.ws && this.connectAuthState.isConnected) {
|
|
2603
|
-
this.ws.close(4001, "ping timeout");
|
|
2604
|
-
}
|
|
2605
|
-
this.callKit.reset();
|
|
2606
2602
|
this.callKit.logger.warn("Ping timeout not connected", {
|
|
2607
2603
|
caller: "Socket.ping",
|
|
2608
2604
|
type: "INCALL",
|