@abtnode/util
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -66,2 +66,9 @@ module.exports = Object.freeze({ | ||
BLOCKLET_MAX_MEM_LIMIT_IN_MB: 300, | ||
ROUTING_RULE_TYPES: Object.freeze({ | ||
NONE: 'none', | ||
DAEMON: 'daemon', | ||
BLOCKLET: 'blocklet', | ||
REDIRECT: 'redirect', | ||
GENERAL_PROXY: 'general_proxy', | ||
}), | ||
}); |
@@ -12,3 +12,2 @@ const axios = require('axios'); | ||
debug('ping if started result:', { endpoint, status: res.status }); | ||
await sleep(500); | ||
return true; | ||
@@ -18,3 +17,2 @@ } catch (err) { | ||
if (err.response && err.response.status < 500) { | ||
await sleep(500); | ||
return true; | ||
@@ -21,0 +19,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "ArcBlock's JavaScript utility", | ||
@@ -48,3 +48,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "35ad9101617e44c0589872a915e52acec592b937" | ||
"gitHead": "aac520e0a288b5d3016db0578003b59288f7c32a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23653
665
5
19
46
227