@ezeep/ezeep-js 1.0.203 → 1.0.204

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.
@@ -33252,7 +33252,7 @@ let EzpPrinting = class {
33252
33252
  authStore.state.accessToken = accessToken;
33253
33253
  }
33254
33254
  if (localStorage.getItem('isAuthorized')) {
33255
- authStore.state.isAuthorized = !!localStorage.getItem('isAuthorized');
33255
+ authStore.state.isAuthorized = (localStorage.getItem('isAuthorized')) === 'true';
33256
33256
  }
33257
33257
  return authStore.state.isAuthorized;
33258
33258
  }
@@ -155,7 +155,7 @@ export class EzpPrinting {
155
155
  authStore.state.accessToken = accessToken;
156
156
  }
157
157
  if (localStorage.getItem('isAuthorized')) {
158
- authStore.state.isAuthorized = !!localStorage.getItem('isAuthorized');
158
+ authStore.state.isAuthorized = (localStorage.getItem('isAuthorized')) === 'true';
159
159
  }
160
160
  return authStore.state.isAuthorized;
161
161
  }
@@ -33277,7 +33277,7 @@ let EzpPrinting$1 = class extends HTMLElement {
33277
33277
  authStore.state.accessToken = accessToken;
33278
33278
  }
33279
33279
  if (localStorage.getItem('isAuthorized')) {
33280
- authStore.state.isAuthorized = !!localStorage.getItem('isAuthorized');
33280
+ authStore.state.isAuthorized = (localStorage.getItem('isAuthorized')) === 'true';
33281
33281
  }
33282
33282
  return authStore.state.isAuthorized;
33283
33283
  }
@@ -33248,7 +33248,7 @@ let EzpPrinting = class {
33248
33248
  authStore.state.accessToken = accessToken;
33249
33249
  }
33250
33250
  if (localStorage.getItem('isAuthorized')) {
33251
- authStore.state.isAuthorized = !!localStorage.getItem('isAuthorized');
33251
+ authStore.state.isAuthorized = (localStorage.getItem('isAuthorized')) === 'true';
33252
33252
  }
33253
33253
  return authStore.state.isAuthorized;
33254
33254
  }