-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2541b25
commit 0a3a31f
Showing
5 changed files
with
733 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import { NeynarAPIClient } from '@standard-crypto/farcaster-js-neynar' | ||
import { NeynarAPIClient } from '@neynar/nodejs-sdk' | ||
|
||
export default function (fid: number, cursor: string, apiKey: string) { | ||
const client = new NeynarAPIClient(apiKey) | ||
return client.v1.apis.notifications.mentionsAndReplies({ | ||
fid, | ||
return client.fetchMentionAndReplyNotifications(fid, { | ||
cursor, | ||
limit: 10, | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.