trawlingweb
Advanced tools
Comparing version 1.0.3 to 1.0.4
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0' | ||
const axios = require('axios') | ||
const VERSION = '1.0.4' | ||
@@ -25,3 +26,7 @@ | ||
} | ||
axios.get(url) | ||
axios.get(url, { | ||
headers: { | ||
'User-Agent': `trawlingweb-cli.js ${VERSION}` | ||
} | ||
}) | ||
.then((response) => { | ||
@@ -28,0 +33,0 @@ if (response && response.data && response.data.response) resolve(response.data.response) |
{ | ||
"name": "trawlingweb", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Official Javascript Trawlingweb client for Backend and Frontend", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12400
285