@seamly/web-ui 22.3.3 → 22.3.4

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.
@@ -12871,7 +12871,7 @@ _API_ready = new (weak_map_default())(), _API_externalId = new (weak_map_default
12871
12871
  return {
12872
12872
  clientName: "@seamly/web-ui",
12873
12873
  clientVariant: api_classPrivateFieldGet(this, _API_layoutMode, "f"),
12874
- clientVersion: "22.3.3",
12874
+ clientVersion: "22.3.4",
12875
12875
  currentUrl: window.location.toString(),
12876
12876
  screenResolution: `${window.screen.width}x${window.screen.height}`,
12877
12877
  timezone: getTimeZone(),
@@ -28640,7 +28640,7 @@ const useNotification = () => {
28640
28640
  const [visibilityState, setVisibilityState] = (0,hooks_module/* useState */.eJ)(document.visibilityState);
28641
28641
  const showNotifications = useSelector_useSelector(selectShowNotifications);
28642
28642
  const requestPermission = (0,hooks_module/* useCallback */.I4)(() => use_notifications_awaiter(void 0, void 0, void 0, function* () {
28643
- if (Notification && permission !== 'granted') {
28643
+ if (hasNotificationSupport && permission !== 'granted') {
28644
28644
  const notificationPermission = yield Notification.requestPermission();
28645
28645
  setPermission(notificationPermission);
28646
28646
  }