Releases: wolfpackthatcodes/typescript-http-client
Releases · wolfpackthatcodes/typescript-http-client
v0.6.0
Added
timeoutmethod.
Fixed
- Replace this trivial promise with "Promise.resolve".
Removed
- Useless constructors in custom exceptions.
v0.5.0
Added
OPTIONSrequest helper methods.
v0.4.0
Added
retryandwithUrlmethods.
Removed
PendingRequestUrlinstance within the HTTP Client.
v0.3.0
Added
withOptionandwithOptionshelper methods.
Changed
- The HTTP Client constructor to accept an optional second parameter as an object for Fetch Options.
replaceHeader,withCredentials,withHeaderandwithTokenmethods to utilize the withOptions method or the options property.replaceHeadersandwithHeadersmethods accept Header instances.
Fixed
- Missing type for mockedResponse variable.
Removed
PendingRequestAuthorization,PendingRequestCredentials, andPendingRequestHeadersinstances within the HTTP Client.
v0.2.0
Added
- Support higher node versions.
Changed
- Upgrade dev dependencies.
Fixed
- Typo in Readme for FormData example.
v0.1.2
Fixed
- Vite config for generating types entry file.
v0.1.1
Fixed
- Remove invalid type declaration in package.json.
v0.1.0
Added
HEAD,GET,POST,PUT,PATCH, andDELETErequest helper methods.withQueryParametersmethod.accept,acceptJson,asJson,asForm, andasUrlEncodedcontent type methods.withHeaders,withHeader,replaceHeaders,replaceHeaderhelper methods.withBasicAuth, andwithTokenauthentication helper methods.fakemethod.