Releases: raphaelcockx/trippe
Releases · raphaelcockx/trippe
Fix some issues with (mostly) getLowestHotelPrices
- [getLowestHotelPrices] FIX - Trippe would throw an error indicating a wrong hotelCode when no prices where available for the given hotel and time period (5d7bc1f)
- [getLowestHotelPrices] BREAKING - This method no longer returns an array. It now returns an object containing some common data for the hotel (such as the currencyCode) and, wthin
prices
, the prices per day (a8ae88c) - [getLowestHotelPrices] FIX - Some lowest rates weren't included in the output (1855689 and (1f84be7)
- FIX: Trippe would throw an error when run with a different cwd set (e.g. in a CRON job). (d98b998)
- FIX: Errors from the API itself are now handled correctly (dcb6647)
Allow lowest hotel price search to cover the full 62 days
Correct error handling
- [getHotelDetails] Returns
null
instead ofhttps://undefined
when no url is returned from the API - [getStayPrices] Trippe would throw an error about an incorrect hotelCode when no rooms were available