hifun-tools 1.4.51 → 1.4.54

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.
@@ -207,9 +207,6 @@ class InitCls {
207
207
  console.info("🏠 匹配默认租户 t1sport");
208
208
  return { tenant: "t1sport" };
209
209
  }
210
- else {
211
- return { tenant: "t1sport" };
212
- }
213
210
  throw new Error("无法获取有效的租户信息");
214
211
  }
215
212
  getHostUrl() {
@@ -262,7 +259,7 @@ class InitCls {
262
259
  return true;
263
260
  }
264
261
  catch (err) {
265
- loadingText("正在为您检测最优线路,请稍等...");
262
+ loadingText("We are detecting the best route for you, please wait...");
266
263
  log(`${label}:请求失败 ❌`);
267
264
  return false;
268
265
  }
@@ -293,8 +290,9 @@ class InitCls {
293
290
  Cache("ErrorDomainUrl", uniq([...this.ErrorDomainUrl, nowLineGroup]));
294
291
  closeLoadingText();
295
292
  rewardMsg({
296
- title: "提示",
297
- text: "优选线路超时,刷新页面以重置" + (nowLineGroup ? "" : "..."),
293
+ title: "prompt",
294
+ text: "Preferred route timed out, refresh the page to reset." +
295
+ (nowLineGroup ? "" : "..."),
298
296
  onSubmit() {
299
297
  location.reload();
300
298
  },
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "1.4.50";
1
+ export declare const VERSION = "1.4.53";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "1.4.50";
1
+ export const VERSION = "1.4.53";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hifun-tools",
3
- "version": "1.4.51",
3
+ "version": "1.4.54",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",