nponiros / sync_client

Module using IndexedDB to save data and can later use a server to synchronize the data in the database with other devices
MIT License
36 stars 13 forks source link

Allow adding other addons #5

Closed agkovalev closed 7 years ago

agkovalev commented 7 years ago

Hallo, tnx for nice lib. It would be also good, if in constructor could be passed some more addons, for example "dexie-relationships". Have a nice day!

nponiros commented 7 years ago

Hi there, I will try to do that tomorrow evening. Shouldn't take too much time.

agkovalev commented 7 years ago

Thank you for quick answer, I have just written 1 comment to the last commit with a simple code, that could be useful for this update.

nponiros commented 7 years ago

Fixed in https://github.com/nponiros/sync_client/commit/0078b9da6da092fbefe29f0b31e6b6bfa57509ee and published to npm as v1.0.0-beta.9. Checkout the readme for infos on how to pass the addons. If everything works as expected please close this issue. Thanks.

agkovalev commented 7 years ago

Thanks a lot, Nikolas!