hifun-tools 1.4.18 → 1.4.19

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.
@@ -180,12 +180,11 @@ class InitCls {
180
180
  log("停止每秒日志");
181
181
  }
182
182
  };
183
- // const retrySchedule = [5, 15, 30]; // 秒(绝对时间点)
184
- const retrySchedule = [3]; // 秒(绝对时间点)
183
+ const retrySchedule = [5, 15, 30]; // 秒(绝对时间点)
185
184
  const tryRequest = async (label) => {
186
185
  log(`${label}:开始请求`);
187
186
  try {
188
- loadingText("网络环境异常,正在重连...");
187
+ loadingText("网络波动,正在优选线路...");
189
188
  await getOptimalDecodedString([this.getBaseUrl()]);
190
189
  success = true;
191
190
  closeLoadingText();
@@ -225,7 +224,7 @@ class InitCls {
225
224
  Cache("ErrorDomainUrl", uniq([...this.ErrorDomainUrl, nowLineGroup]));
226
225
  rewardMsg({
227
226
  title: "提示",
228
- text: "网络环境异常,刷新页面以重置" + (nowLineGroup ? "" : "..."),
227
+ text: "优选线路超时,刷新页面以重置" + (nowLineGroup ? "" : "..."),
229
228
  onSubmit() {
230
229
  location.reload();
231
230
  },
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "1.4.17";
1
+ export declare const VERSION = "1.4.18";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "1.4.17";
1
+ export const VERSION = "1.4.18";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hifun-tools",
3
- "version": "1.4.18",
3
+ "version": "1.4.19",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",