v2.1.0
New minor version.
Changes:
- Added new
option
parameter tologin.login
, allowing you to specify API options to be passed to facebook-chat-api at login.- By default,
logLevel
is set toerror
andforceLogin
is 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.