@iflyrpa/share 0.0.19-beta.0 → 0.1.0

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.js CHANGED
@@ -271,7 +271,7 @@ async function downloadImageOnce(url, savePath) {
271
271
  };
272
272
  const requestFn = url.startsWith("http://") ? external_node_http_default().get : external_node_https_default().get;
273
273
  const req = requestFn(url, handleResponse);
274
- req.setTimeout(10000, ()=>{
274
+ req.setTimeout(60000, ()=>{
275
275
  req.destroy();
276
276
  reject({
277
277
  code: 500,
package/dist/index.mjs CHANGED
@@ -208,7 +208,7 @@ async function downloadImageOnce(url, savePath) {
208
208
  };
209
209
  const requestFn = url.startsWith("http://") ? __WEBPACK_EXTERNAL_MODULE_node_http_2dc67212__["default"].get : __WEBPACK_EXTERNAL_MODULE_node_https_626f33a7__["default"].get;
210
210
  const req = requestFn(url, handleResponse);
211
- req.setTimeout(10000, ()=>{
211
+ req.setTimeout(60000, ()=>{
212
212
  req.destroy();
213
213
  reject({
214
214
  code: 500,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iflyrpa/share",
3
- "version": "0.0.19-beta.0",
3
+ "version": "0.1.0",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",