rekwest 3.0.0 → 3.0.1

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/README.md CHANGED
@@ -125,7 +125,7 @@ console.log(res.body);
125
125
  Uint8Array | URLSearchParams}** The body to send with the request
126
126
  * `cookies` **{boolean | Array<[k, v]> | Cookies | Object | URLSearchParams}** `Default: true` The cookies to add to
127
127
  the request
128
- * `digest` **{boolean}** `Default: true` Controls whether to read the response stream or just add a mixin
128
+ * `digest` **{boolean}** `Default: true` Controls whether to read the response stream or simply add a mixin
129
129
  * `follow` **{number}** `Default: 20` The number of redirects to follow
130
130
  * `h2` **{boolean}** `Default: false` Forces the use of HTTP/2 protocol
131
131
  * `headers` **{Object}** The headers to add to the request
package/dist/index.js CHANGED
@@ -81,7 +81,6 @@ const {
81
81
  HTTP2_HEADER_LOCATION,
82
82
  HTTP2_HEADER_RETRY_AFTER,
83
83
  HTTP2_HEADER_SET_COOKIE,
84
- HTTP2_HEADER_STATUS,
85
84
  HTTP2_METHOD_GET,
86
85
  HTTP2_METHOD_HEAD,
87
86
  HTTP_STATUS_BAD_REQUEST,
package/package.json CHANGED
@@ -60,5 +60,5 @@
60
60
  "test:bail": "mocha --bail",
61
61
  "test:cover": "c8 --include=src --reporter=lcov --reporter=text npm test"
62
62
  },
63
- "version": "3.0.0"
63
+ "version": "3.0.1"
64
64
  }
package/src/index.mjs CHANGED
@@ -32,7 +32,6 @@ const {
32
32
  HTTP2_HEADER_LOCATION,
33
33
  HTTP2_HEADER_RETRY_AFTER,
34
34
  HTTP2_HEADER_SET_COOKIE,
35
- HTTP2_HEADER_STATUS,
36
35
  HTTP2_METHOD_GET,
37
36
  HTTP2_METHOD_HEAD,
38
37
  HTTP_STATUS_BAD_REQUEST,