Closed tjpeden closed 4 years ago
Any update on this?
Hey @tjpeden , sorry, been swamped. The title mentions using fetch
instead of the request package, is that in a different commit or am I just blind and not seeing it in this commit?
I just need to review this with @tyduptyler13 and if it looks good we can approve. I appreciate your contribution!
It's in the matching PR: https://github.com/FusionAuth/fusionauth-typescript-client/pull/6
Thanks for your contribution!
credentials settings for fetchI added a function that would allow users of the client to set how they want cookies sent with in all requests.
I also added the return type to the previous function that was added, thanks @fdaugs and @robotdan for that!
Lastly, refactored the constructor which, when compiled, resulted in duplicate code.