Incorrect unit of measure for client.timeout https://heroiclabs.com/docs/nakama/client-libraries/javascript/index.html#configuring-the-request-timeout-length
In this section, the documentation states the timeout property is in seconds, however based on the current Javascript codebase, this is actually milliseconds. Users following the documentation and setting their timeout property to 10 will run into issues attempting to reliably authenticate due to such a short timeout.
Thanks for catching these, we will get the documentation updated.
How are you finding working with our documentation? Are there any areas you think could be improved or any areas in particular that you find very useful that we should be doing more of?
Hey @tom, so far the documentation has been great. I’ve only spent a few hours so far on a side project with Nakama so haven’t gotten too far in. Currently have a server & client both running off of webpack + typescript. There was a bit of investigation to get webpack working on the server side rather than using rollup. It may be worth documenting this setup considering webpack is still a popular bundler.
Otherwise, the documentation looks to have everything I need to keep moving forward. If I notice any other discrepancies I’ll be sure to call them out. Looking down the road, it’d be great if the documentation was hosted on a git repo so that pull requests could be made for any future issues that users may find.