hifun-tools 1.3.21 → 1.3.22

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.
@@ -133,9 +133,9 @@ class InitCls {
133
133
  const response = await fetch(`/lineAddress.txt?t=${Date.now()}`);
134
134
  const configText = await response.text();
135
135
  let baseUrl = JSON.parse(AesDecrypt(configText));
136
- const dict = this.getTenantDict();
136
+ const { lineGroup, tenant } = this.getTenantDict();
137
137
  const dictList = this.getTenantDictList();
138
- baseUrl = filterSmartLines(dictList, baseUrl, dict?.lineGroup);
138
+ baseUrl = filterSmartLines(dictList, baseUrl, lineGroup, tenant);
139
139
  if (Array.isArray(baseUrl)) {
140
140
  try {
141
141
  this.domainBaseUrl = toStandardUrl(await getOptimalDecodedString(baseUrl));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hifun-tools",
3
- "version": "1.3.21",
3
+ "version": "1.3.22",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",