@resolveio/client-lib-core 1.0.7 → 1.0.9

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.
@@ -5042,8 +5042,10 @@ class CoreComponent extends BaseComponent {
5042
5042
  this._services._socket.subscribeBypassRoute('flagWithType', 'newSW').subscribe(flag => {
5043
5043
  if (flag) {
5044
5044
  this.swFlagAlert = this._services._alert.setAlert('info', 'This page will reload once new version has been downloaded', 0);
5045
+ this._services._app.setIsInvalidSW(true);
5045
5046
  }
5046
5047
  else if (this.swFlagAlert) {
5048
+ this._services._app.setIsInvalidSW(false);
5047
5049
  this._services._alert.clearAlert(this.swFlagAlert.toastId);
5048
5050
  this.swFlagAlert = null;
5049
5051
  }