@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.mjs
CHANGED
|
@@ -681,7 +681,7 @@ var Call = class {
|
|
|
681
681
|
// package.json
|
|
682
682
|
var package_default = {
|
|
683
683
|
name: "@koi-design/callkit",
|
|
684
|
-
version: "2.1.
|
|
684
|
+
version: "2.1.2",
|
|
685
685
|
description: "callkit",
|
|
686
686
|
author: "koi",
|
|
687
687
|
license: "ISC",
|
|
@@ -2572,10 +2572,6 @@ var Socket = class {
|
|
|
2572
2572
|
const now = Date.now();
|
|
2573
2573
|
const { pingInterval, pingTimeout } = this.reconnectConfig;
|
|
2574
2574
|
if (now - this.lastPingTime > pingInterval + pingTimeout) {
|
|
2575
|
-
if (this.ws && this.connectAuthState.isConnected) {
|
|
2576
|
-
this.ws.close(4001, "ping timeout");
|
|
2577
|
-
}
|
|
2578
|
-
this.callKit.reset();
|
|
2579
2575
|
this.callKit.logger.warn("Ping timeout not connected", {
|
|
2580
2576
|
caller: "Socket.ping",
|
|
2581
2577
|
type: "INCALL",
|