nodejs-sdk icon indicating copy to clipboard operation
nodejs-sdk copied to clipboard

Typescript SDK for Neynar APIs

Results 5 nodejs-sdk issues
Sort by recently updated
recently updated
newest added

methods updates: lookUpCastByHashOrWarpcastUrl -> https://docs.neynar.com/reference/cast - now takes in a viewerFid parameter lookupCastConversation -> https://docs.neynar.com/reference/cast-conversation - now takes in a viewerFid parameter

Seems like neynar's axios dependency doesn't work properly in node.js environment. ### Error ``` /node_modules/axios/lib/helpers/isURLSameOrigin.js:11 const msie = /(msie|trident)/i.test(navigator.userAgent); ReferenceError: navigator is not defined at standardBrowserEnv (/srv/web/mintv2-web/node_modules/axios/lib/helpers/isURLSameOrigin.js:11:41) at Object. (/srv/web/mintv2-web/node_modules/axios/lib/helpers/isURLSameOrigin.js:60:4)...

The SDK (and [OAS spec](https://github.com/neynarxyz/OAS/blob/main/src/v2/spec.yaml#L6473)) indicates that the `fetchUserFollowersV2` endpoint returns a `UsersResponse`, but it actually returns a response with the following shape: ``` { users: { object: "follow", user:...

## Overview This PR has 3 small changes. 1. Adding priority mode to cast search 2. Adding viewer_fid to /channel/followers 3. Updating docstrings for viewer_fid to document blocks ## Examples...

Channel infos now include moderatorFids: number[] , the type needs to be updated https://github.com/neynarxyz/nodejs-sdk/blob/bec2e51dc436e81be9ca47e5922d41d184ffa09e/src/neynar-api/v2/openapi-farcaster/models/channel.ts#L28