Skip to content

Releases: draftbit/twitter-lite

0.14.0

11 Jun 15:13
Compare
Choose a tag to compare

Fixes bearer token #103

0.13.0

19 May 19:17
Compare
Choose a tag to compare

Fixes:

  • Updates booleans to strings (#102)

0.12.0

16 May 19:20
Compare
Choose a tag to compare

Added

  • add collections/entries/curate endpoint (#98)
  • improve error handling in thrown errors by adding headers (#95)

Fixed

  • fixed types for Stream##destroy() (#96)

0.11.0

29 Apr 01:22
Compare
Choose a tag to compare

Added

  • Support for media/metadata/create endpoint (with an example in twitter.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

27 Apr 15:13
Compare
Choose a tag to compare
0.10 Pre-Release Pre-release
Pre-release

Added

  • Typescript support thanks to @fdebijl !
  • version is now included in the options object (with a default of 1.1). This will allow you to specify the desired version of the Twitter API you're using
  • Support for PUT methods

Changed

  • Improved documentation (including an example snippet for tweeting a thread)

Send POST parameters in the body

14 Dec 05:48
Compare
Choose a tag to compare

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

26 Jul 07:31
Compare
Choose a tag to compare

.get() and .post() now reject on error, by popular demand.