Releases: draftbit/twitter-lite
Releases · draftbit/twitter-lite
0.14.0
0.13.0
0.12.0
0.11.0
Added
- Support for
media/metadata/createendpoint (with an example intwitter.test.js)
Fixed
- Fixed an issue with the TypeScript typings causing a "not a constructor" error
- Fixed error with building on Windows machines
- Bug caused by calling the
.raw()function on response headers - Type errors during OAuth flow
0.10 Pre-Release
Added
- Typescript support thanks to @fdebijl !
versionis now included in theoptionsobject (with a default of1.1). This will allow you to specify the desired version of the Twitter API you're using- Support for
PUTmethods
Changed
- Improved documentation (including an example snippet for tweeting a thread)
Send POST parameters in the body
This release adds support for sending POST parameters in the body of the request, which allows for longer parameter lists than possible with GET. It also fixes an encoding issue, so it's now possible to post statuses containing ! or any other character.
Reject on errors
.get() and .post() now reject on error, by popular demand.