This PR adds logic to fallback to API requests whenever there's an error reading form the IndexedDB database. It also clears the database, which should help remove any corrupted data as well as handle cases where the store is getting too big (e.g. quota errors).
Fixes #15.
This PR adds logic to fallback to API requests whenever there's an error reading form the IndexedDB database. It also clears the database, which should help remove any corrupted data as well as handle cases where the store is getting too big (e.g. quota errors).