unprint 0.10.1 → 0.10.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unprint",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Simplify common web scraping tasks while staying in control of the data.",
5
5
  "main": "src/app.js",
6
6
  "scripts": {
package/src/app.js CHANGED
@@ -788,9 +788,11 @@ async function request(url, body, customOptions = {}, method = 'GET') {
788
788
  method,
789
789
  data: body,
790
790
  validateStatus: null,
791
+ ...options,
791
792
  timeout: options.timeout,
792
793
  signal: options.abortSignal,
793
- ...options,
794
+ httpAgent: options.httpAgent,
795
+ httpsAgent: options.httpsAgent,
794
796
  });
795
797
 
796
798
  if (!(res.status >= 200 && res.status < 300)) {