@plyaz/core 1.19.4 → 1.19.6

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.
@@ -12594,6 +12594,7 @@ var DEFAULT_CHANNELS = [
12594
12594
  "uploads",
12595
12595
  "downloads",
12596
12596
  "generations",
12597
+ "notifications",
12597
12598
  "system"
12598
12599
  ];
12599
12600
  function useStreamManager({
@@ -12701,6 +12702,17 @@ function useStreamManager({
12701
12702
  error: err instanceof Error ? err.message : String(err)
12702
12703
  });
12703
12704
  }
12705
+ try {
12706
+ const cleanupNotifications = FrontendNotificationsDomainService.registerStreamHandlers(debug);
12707
+ cleanupFns.push(cleanupNotifications);
12708
+ if (debug) {
12709
+ logger7.debug("Registered notifications stream handlers");
12710
+ }
12711
+ } catch (err) {
12712
+ logger7.warn("Failed to register notifications stream handlers", {
12713
+ error: err instanceof Error ? err.message : String(err)
12714
+ });
12715
+ }
12704
12716
  return () => {
12705
12717
  cleanupFns.forEach((cleanup) => {
12706
12718
  try {