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