1.5.0 - 2024-01-21
- add
sttp.removeQueryParams()
method: remove all query parameters from the current request - add
sttp.axiosStatic()
method: expose the wrapped Axios client
- bump dependencies
1.4.0 - 2023-05-29
- add
response.statusText()
method: returns the response status text (related to the response status code)- for example, a return value for a response with status 201 is
Created
- for example, a return value for a response with status 201 is
- test Node.js v20
- drop testing of Node.js v19 in favor of Node.js v20
1.3.0 - 2022-01-23
- add
.axios()
method: returns the underlying Axios instance- this is useful when registering Axios adapters or middleware
1.2.0 - 2021-12-13
- make
payload
parameter optional for.post
,.put
, and.patch
requests - update typings for query parameter parameter in
.delete
and.options
methods
1.1.0 - 2021-12-06
- export
SttpResponse
class - merge
PendingRequest
intoSttp
class
- removed intermediate
PendingRequest
class
1.0.0
release 🚀 🎉