Notice, this version includes some breaking changes!
Changes:
- entry point for usage of scrapers now uses
createScraper()function instead of specific scraper functions - return a metadata object which contains info about available scrapers
- transaction amounts now return as either
chargedAmountandactualAmount- removed oldamountproperty - make credit card scrapers return negative amounts for all transactions (positive values for refunds of course)
- add a transaction
typeproperty, which returns as eithernormalorinstallments - changed the way a scraper notifies about progress - use the
onProgress()function to register your handler