Skip to content

Replace deprecated HTTP request library with modern standard. Proxy support.

Compare
Choose a tag to compare
@tiagosiebler tiagosiebler released this 08 Oct 07:54
· 886 commits to master since this release
df57640

The primary goal was to transition to axios, since the npm module request is both deprecated and carries a ton of dependency baggage. This version does not change any high level functionality, ensuring no integration changes are required to upgrade to this release.

Difference in dependency baggage

Screenshot 2020-10-14 at 09 57 39

As well as a smaller memory footprint, an additional bonus of this adoption of axios is support for proxied requests as well as other customizations to how HTTP requests are made by the library. See the axios request config for a detailed list of options.

Action Required to Upgrade

None

Summary

  • replace the deprecated npm request module with the much lighter axios module. Resolves #4.
  • bump websocket connectivity dependency to latest version.
  • validated #12 is not an issue.
  • misc refactoring & cleaning.