Skip to content

6.0.0

Compare
Choose a tag to compare
@mrhyde mrhyde released this 31 Oct 15:04
· 256 commits to master since this release
9207750

Breaking Changes

  • Rolled back to got based client since cookie modification is impossible with fetch.
  • Prefixed methods that require multiple API calls and computations with find...:
    • getCheapestRoundTrip() -> findCheapestRoundTrip()
    • getDailyFaresInRange() -> findDailyFaresInRange()

Added

  • Implemented debounce to limit requests at a rate of 100 per minute.
  • Added airports.findRoutes() - to find available routes between two airports.
  • Added airports.calculateDistance() - calculates distance between two geo points using the haversine formula.

Fixed

  • Used spoofed cookie value to circumvent API restrictions.