@volcengine/vepusher 2.0.4-rc.15 → 2.0.4-rc.16
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.es.js +4 -20
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -7477,7 +7477,7 @@ class $_ {
|
|
|
7477
7477
|
page_path_fe: window.location.pathname || "unknown",
|
|
7478
7478
|
page_host_fe: window.location.hostname || "unknown",
|
|
7479
7479
|
sdk_version: "2.0.3",
|
|
7480
|
-
build_version: "1.0.0.
|
|
7480
|
+
build_version: "1.0.0.134",
|
|
7481
7481
|
...r
|
|
7482
7482
|
}
|
|
7483
7483
|
};
|
|
@@ -12868,32 +12868,16 @@ class Lv {
|
|
|
12868
12868
|
})), this._totalReconnectInfo.totalReconnectDuration += s), this.setStrategyState(
|
|
12869
12869
|
"idle"
|
|
12870
12870
|
/* IDLE */
|
|
12871
|
-
),
|
|
12872
|
-
"test ===========> reconnect strategy stopped:",
|
|
12873
|
-
", reconnect timer:",
|
|
12874
|
-
this._reconnectTimeout
|
|
12875
|
-
), this._timeoutTimerId && (console.info(
|
|
12876
|
-
"test ===========> reconnect timeout timer clear:",
|
|
12877
|
-
this._timeoutTimerId
|
|
12878
|
-
), clearTimeout(this._timeoutTimerId)), this._reconnectTimeout && clearTimeout(this._reconnectTimeout), this._reconnectDelay = 0, this._reconnectCount = 0, this._reconnectStartTime = void 0, this.unbindOnlineEvent();
|
|
12871
|
+
), this._timeoutTimerId && clearTimeout(this._timeoutTimerId), this._reconnectTimeout && clearTimeout(this._reconnectTimeout), this._reconnectDelay = 0, this._reconnectCount = 0, this._reconnectStartTime = void 0, this.unbindOnlineEvent();
|
|
12879
12872
|
}
|
|
12880
12873
|
startTimeoutTimer(e) {
|
|
12881
12874
|
this._timeoutTimerId = window.setTimeout(() => {
|
|
12882
12875
|
var t;
|
|
12883
|
-
|
|
12884
|
-
"test ===========> reconnect timeout timer callback:",
|
|
12885
|
-
this._timeoutTimerId,
|
|
12886
|
-
this.state
|
|
12887
|
-
), this.state !== "idle" && (this._logger.log("Reconnect strategy timed out"), this.stop({
|
|
12876
|
+
this.state !== "idle" && (this._logger.log("Reconnect strategy timed out"), this.stop({
|
|
12888
12877
|
isSuccess: !1,
|
|
12889
12878
|
reason: nn.ReconnectTimeout
|
|
12890
12879
|
}), (t = this._onReconnectError) == null || t.call(this, "timeout"));
|
|
12891
|
-
}, e)
|
|
12892
|
-
"test ===========> reconnect timeout timer start:",
|
|
12893
|
-
this._timeoutTimerId,
|
|
12894
|
-
", with timeout:",
|
|
12895
|
-
e
|
|
12896
|
-
);
|
|
12880
|
+
}, e);
|
|
12897
12881
|
}
|
|
12898
12882
|
clearReconnectInfo() {
|
|
12899
12883
|
this._totalReconnectInfo = {
|