Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/onchainkit/src/minikit/hooks/useNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import { useMiniKit } from './useMiniKit';

/**
* Sends notification data to the notification proxy URL set in the MiniKit context
*
* @deprecated
* We recommend using a server‑initiated notification flow.
* This hook will be removed in a future version.
*
* @param title - The title of the notification.
* @param body - The body of the notification.
* @returns boolean - true if the notification was sent successfully, false otherwise
Expand Down