Skip to content

Releases: traderinteractive/tol-api-nodejs

Version 0.7.4: Telekinetic Cheese Project

07 Dec 19:18
Compare
Choose a tag to compare

Minor Features

  • Add extraParameters to password token request [PR #18]

Version 0.7.2: Deranged Insect of Mystery

07 Dec 19:17
Compare
Choose a tag to compare

Minor Features

  • If the token request fails, reset the promise so we can try again. [PR #16]

Version 0.7.1: Scottish Katana of the Blood God

07 Dec 19:17
Compare
Choose a tag to compare

Minor Features

  • Detect expired tokens on post requests [PR #15]

Version 0.7.0: Incomprehensible Unicycle Destruction

07 Dec 19:16
Compare
Choose a tag to compare

Major Features

  • Add put and delete methods and refresh tokens [PR #14]

Version 0.6.1: The Castle of Moon Shoot

20 Aug 17:02
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Send back invalid token response when the response cannot be parsed [PR #12]

Version 0.6.0: Go Go Hippo Studio

25 Jul 16:48
Compare
Choose a tag to compare
Pre-release

Major Features

  • Added support for Resource-Owner Password-Credentials tokens, a.k.a. user tokens. [PR #9]

Version 0.5.0: Big Piano Assassins

25 Jul 15:51
Compare
Choose a tag to compare
Pre-release

Backwards Compatibility Breakers

As of PR #7, the response from the index, get, and post methods is now a {body: "...", res: {...}} object rather than just the body text. The res object is the response returned by the request library. This provides access to additional response fields, such as the HTTP Headers. In particular, some aspects of the API require accessing the Location header in order to access the new item.

New Features

PR #7 also added support for the POST HTTP method via a post method on the API client. This method works as expected.

Bugs Fixed

PR #7 also fixed an issue where 200 was the only HTTP status code that was treated as a success. The client now treats all 2xx and 3xx responses as successful.

Version 0.4.2 -- Urban Driving Train

29 Apr 20:59
Compare
Choose a tag to compare
Pre-release

Bugs Fixed

Force correct handling of query string parameters when a parameter is specified as an array. [PR #6]

Version 0.4.1 - Enormous Plumber Conundrum

21 Apr 19:02
Compare
Choose a tag to compare

Bugs Fixed

Reject get requests without an id.

Version 0.4.0 - Small-Time Alligator All-Stars

21 Apr 18:16
Compare
Choose a tag to compare

Backwards Compatibility Breakers

Rejected non-200 responses now return {res: responseObject, body: body} instead of just returning body.