mezon-js 2.15.67 → 2.15.68
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/client.d.ts
CHANGED
|
@@ -33,10 +33,12 @@ export declare class Client {
|
|
|
33
33
|
readonly serverkey: string;
|
|
34
34
|
readonly timeout: number;
|
|
35
35
|
readonly autoFallbackHttp: boolean;
|
|
36
|
+
static readonly DefaultHeartbeatIntervalMs = 10000;
|
|
36
37
|
static readonly DefaultHeartbeatTimeoutMs = 10000;
|
|
37
38
|
static readonly DefaultConnectTimeoutMs = 30000;
|
|
38
39
|
static readonly DefaultServerDisconnectStreakLogoutThreshold = 3;
|
|
39
40
|
verbose: boolean;
|
|
41
|
+
private _heartbeatIntervalMs;
|
|
40
42
|
private _heartbeatTimeoutMs;
|
|
41
43
|
private _connectionState;
|
|
42
44
|
private _heartbeatTimer?;
|