@redneckz/wildless-cms-uni-blocks 0.14.626 → 0.14.627

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.
@@ -3977,7 +3977,7 @@
3977
3977
  const [isLoading, setIsLoading] = useState(false);
3978
3978
  const [profileId] = useLocalStorage('profileId');
3979
3979
  const [, setEsiaData] = useLocalStorage('esiaData');
3980
- const params = new URLSearchParams(decodeURIComponent(globalThis.location.search));
3980
+ const params = new URLSearchParams(decodeURIComponent(globalThis.location?.search));
3981
3981
  const esiaAuth = params.get('esiaAuth');
3982
3982
  const updateEsiaProfile = useCallback(async () => {
3983
3983
  const code = params.get('code');
@@ -3987,7 +3987,7 @@
3987
3987
  profileId: profileId,
3988
3988
  code,
3989
3989
  state,
3990
- redirectUri: globalThis.location.href,
3990
+ redirectUri: globalThis.location?.href,
3991
3991
  });
3992
3992
  setEsiaData(JSON.stringify(data));
3993
3993
  globalThis.location.href = nextStepLink;
@@ -8317,7 +8317,7 @@
8317
8317
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
8318
8318
  });
8319
8319
 
8320
- const packageVersion = "0.14.625";
8320
+ const packageVersion = "0.14.626";
8321
8321
 
8322
8322
  exports.Blocks = Blocks;
8323
8323
  exports.ContentPage = ContentPage;