hunk.code_window:   return (
       <NotificationCenterWidget
         onNotificationClick={props.onNotificationClick}
         onUrlChange={props.onUrlChange}
         onUnseenCountChanged={props.onUnseenCountChanged}
         applicationIdentifier={applicationId}
       />
     );
   }
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:       onActionClick={props.onActionClick}
  
hunk.file_path: apps/widget/src/components/notification-center/NotificationCenterWidgetContainer.tsx
hunk.type: add
file: import { IMessage } from '@novu/shared';
  
  export function sendUrlChange(url: string) {
    if (!window.parentIFrame) return;
    window.parentIFrame.sendMessage({
      type: 'url_change',
      url,
    });
  }
  
  export function sendNotificationClick(notification: IMessage) {
    if (!window.parentIFrame) return;
    window.parentIFrame.sendMessage({
      type: 'notification_click',
      notification,
    });
  }
  
  export function unseenChanged(unseenCount: number) {
    if ('parentIFrame' in window) {
      // eslint-disable-next-line @typescript-eslint/no-explicit-any
      (window as any).parentIFrame.sendMessage({
        type: 'unseen_count_changed',
        count: unseenCount,
      });
    }
  }
  