@resolveio/client-lib-core 1.1.15 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5058,15 +5058,19 @@ class CoreComponent extends BaseComponent {
5058
5058
  if (!navigator.serviceWorker) {
5059
5059
  setTimeout(() => {
5060
5060
  window.location.reload();
5061
- }, 10000);
5061
+ }, 3000);
5062
5062
  }
5063
5063
  else {
5064
5064
  navigator.serviceWorker.getRegistrations().then(registrations => {
5065
5065
  if (!registrations || !registrations.length) {
5066
5066
  setTimeout(() => {
5067
5067
  window.location.reload();
5068
- }, 10000);
5068
+ }, 3000);
5069
5069
  }
5070
+ }, err => {
5071
+ setTimeout(() => {
5072
+ window.location.reload();
5073
+ }, 3000);
5070
5074
  });
5071
5075
  }
5072
5076
  }