@nsnanocat/util 1.8.9 → 1.8.10

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/package.json CHANGED
@@ -32,5 +32,5 @@
32
32
  "devDependencies": {
33
33
  "typescript": "^5.6.3"
34
34
  },
35
- "version": "1.8.9"
35
+ "version": "1.8.10"
36
36
  }
@@ -116,6 +116,7 @@ export async function fetch(resource, options = {}) {
116
116
  });
117
117
  case "Quantumult X":
118
118
  // 转换请求参数
119
+ resource.timeout = resource.timeout * 1000;
119
120
  if (resource.policy) _.set(resource, "opts.policy", resource.policy);
120
121
  if (typeof resource["auto-redirect"] === "boolean") _.set(resource, "opts.redirection", resource["auto-redirect"]);
121
122
  // 转换请求体