gruns/ImmortalDB

Indexed DB

tonxxd opened this issue · 1 comments

Hi,
I am trying to use ImmortalDB to store a counter.

I am storing the value in Local, Indexed and Cookie storage and it works well.
When I clear values (I use Forget me chrome extension) it correctly clears Local and cookie storage but not Indexed (and this is perfect for me because I don't want the counter to be erased by the common user).
But when I reload the page and trying to get the counter value it returns undefined even if chrome dev shows it in Indexed db tab.

Is it possible for ImmortalDb to replicate data from this db to the others if the value is missing in them?

Thanks

gruns commented

Wonderful report. Thank you.

I created #37, which will help resolve this.