@yusr_systems/ui 5.0.0 → 5.0.1

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.
Files changed (2) hide show
  1. package/dist/yusr-ui.js +2 -2
  2. package/package.json +1 -1
package/dist/yusr-ui.js CHANGED
@@ -4693,11 +4693,11 @@ function ns(e, t) {
4693
4693
  //#endregion
4694
4694
  //#region src/state/authListener.ts
4695
4695
  var rs = (e, t) => {
4696
- window.addEventListener("storage", (n) => {
4696
+ typeof window > "u" || (window.addEventListener("storage", (n) => {
4697
4697
  n.key === Ye.AuthCheckStorageItemName && e(t.syncFromStorage());
4698
4698
  }), window.addEventListener(Ye.UnauthorizedEventName, () => {
4699
4699
  e(t.logout());
4700
- });
4700
+ }));
4701
4701
  };
4702
4702
  //#endregion
4703
4703
  //#region src/state/generics/genericDialogSlice.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yusr_systems/ui",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"