mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 05:03:28 +08:00
59090242f95ebbdc06f8c8a85edfb52c41debd49
Modern login in components/login.js listens for 'authenticated' and 'error' events from steam-session's LoginSession, but not the 'timeout' event. When loginTimeout (default 30s) elapses, steam-session emits 'timeout' and calls cancelLoginAttempt() without emitting an 'error' event, causing the Promise to never settle and the login callback to never be called. Add a 'timeout' event listener that rejects the Promise with a descriptive error.
Steam Community for Node.js
This module provides an easy interface for the Steam Community website. This module can be used to simply login to steamcommunity.com for use with other libraries, or to interact with steamcommunity.com.
Have a question about the module or coding in general? Do not create a GitHub issue. GitHub issues are for feature requests and bug reports. Instead, post in the dedicated forum. Such issues may be ignored!
Documentation
Documentation is available on the GitHub wiki.
Support
Report bugs on the issue tracker or ask questions on the dedicated forum.
Languages
JavaScript
100%