Closed Exhabition closed 2 years ago
Looks good to me! Just a few minor things and we should be good to go.
Alright, I will work on that as soon as I have time, shouldn't take too long
Everything should be resolved, named the options object InitOptions
(since you pass it when you initialize the client)
I am not super familiar with types, so please check if what I did there was correct
Also noticed that I had to change the way send
was added to Utils, seemed that my original way made it unable to access this
as in the Client as was unable to get options (I originally changed that because
send = function
was something eslint didn't like, changed it to work with prototype instead
Description
if
statement that was supposed to check if a AniList response was empty (.length
needed to be added)await
foredgeRemove
(#30)options
to the AniList class, currently the only option would betimeout
which is a number (ms) which will drop the request if it takes longer than that amount of ms (default is 15 seconds)jsdoc
as a dev dependencyRelated Issue
Partly: #30
Other Information:
I added the timeout due to the fact that when AniList goes down the requests get stuck for quite sometime (experienced that today)