Skip to content

v1.5.0

Compare
Choose a tag to compare
@iamdaniele iamdaniele released this 17 Mar 23:43
· 21 commits to master since this release
f579e1f

This versions contains under-the-hood improvements. We replaced the underlying HTTP library (deprecated) with a supported version, and removed a few dependencies.

What's new in this version

  • Removed dependencies on OAuth 1.0a modules. Bearer tokens and OAuth signatures are generated by two first-party modules
  • Wraps the HTTP library in a middleware layer to handle authentication, and to provide convenience methods for GET, POST, PUT, DELETE requests
  • Throws errors from a common handling logic to capture error conditions common to all endpoints
  • Adds test coverage for all the main components

What's fixed

  • Replaces the deprecated request package with needle (Issue #19)
  • When imported as a module, Autohook no loger terminates via process.exit(-1) upon error.