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
payloadparameter optional for.post,.put, and.patchrequests - update typings for query parameter parameter in
.deleteand.optionsmethods
1.1.0 - 2021-12-06
- export
SttpResponseclass - merge
PendingRequestintoSttpclass
- removed intermediate
PendingRequestclass
1.0.0release 🚀 🎉