Skip to content

Commit

Permalink
Bugfix/make options optional
Browse files Browse the repository at this point in the history
Bugfix/make options optional
  • Loading branch information
Shreyaschorge authored Mar 6, 2024
2 parents e342a8c + 46f9d14 commit 4990587
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@neynar/nodejs-sdk",
"version": "1.11.1",
"version": "1.11.2",
"description": "SDK to interact with Neynar APIs (https://docs.neynar.com/)",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/neynar-api/neynar-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ export class NeynarAPIClient {
*/
public async fetchBulkUsers(
fids: number[],
options: { viewerFid?: number }
options?: { viewerFid?: number }
): Promise<BulkUsersResponse> {
return await this.clients.v2.fetchBulkUsers(fids, options);
}
Expand Down
2 changes: 1 addition & 1 deletion src/neynar-api/v2/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ export class NeynarV2APIClient {
*/
public async fetchBulkUsers(
fids: number[],
options: { viewerFid?: number }
options?: { viewerFid?: number }
): Promise<BulkUsersResponse> {
if (fids.length > 100)
throw new Error("Maximum number of fids allowed is 100");
Expand Down

0 comments on commit 4990587

Please sign in to comment.