Improvements:
- Make the timing of polling iterations more accurate in Auto Polling mode. (configcat/common-js#106)
Bug fixes:
- Check cache expiration in every poll iteration, not just the first one in Auto Polling mode to reduce network traffic when the SDK uses a shared cache (including LocalStorage cache used by instances of a browser app running in multiple browser tabs). (configcat/common-js#106)
- Synchronize in-memory cache with the external cache in every poll iteration, not just the first one in Auto Polling mode regardless of offline mode to keep in-memory cache up-to-date when the SDK uses a shared cache.
- Protect poll iterations with try-catch so a potential exception doesn't stop the polling loop in Auto Polling mode.