Releases: traderinteractive/tol-api-nodejs
Version 0.7.4: Telekinetic Cheese Project
Minor Features
- Add extraParameters to password token request [PR #18]
Version 0.7.2: Deranged Insect of Mystery
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
Minor Features
- Detect expired tokens on post requests [PR #15]
Version 0.7.0: Incomprehensible Unicycle Destruction
Major Features
- Add put and delete methods and refresh tokens [PR #14]
Version 0.6.1: The Castle of Moon Shoot
Bug Fixes
- Send back invalid token response when the response cannot be parsed [PR #12]
Version 0.6.0: Go Go Hippo Studio
Major Features
- Added support for Resource-Owner Password-Credentials tokens, a.k.a. user tokens. [PR #9]
Version 0.5.0: Big Piano Assassins
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
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
Bugs Fixed
Reject get requests without an id.
Version 0.4.0 - Small-Time Alligator All-Stars
Backwards Compatibility Breakers
Rejected non-200 responses now return {res: responseObject, body: body}
instead of just returning body
.