v2.1.0
New minor version.
Changes:
- Added new
optionparameter tologin.login, allowing you to specify API options to be passed to facebook-chat-api at login.- By default,
logLevelis set toerrorandforceLoginis set totrue; previously, no options were passed, so this results in new default behavior at runtime:- Reduces the amount of logging from facebook-chat-api
- Auto-approves any recent login warnings
- To return to the old behavior, pass
options = {}in your login calls.
- By default,
- Some cleanup in docs, readme, and other reference material around the repo.