github tiagosiebler/bybit-api v1.2.0
Replace deprecated HTTP request library with modern standard. Proxy support.

latest releases: v4.3.1, v4.3.0, v4.2.7...
4 years ago

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.

Don't miss a new bybit-api release

NewReleases is sending notifications on new releases.