Skip to content

Axios is not defined in package.json dependencies but is used in the code #378

@michalkvasnicak

Description

@michalkvasnicak

It breaks our builds. For example:

import {
  isApiErrorResponse,
} from "@neynar/nodejs-sdk";

try {
// ... do something that throws an error
} catch (error) {
  if (isApiErrorResponse(error)) { // <-- this fails with "Right-hand side of 'instanceof' is not an object"
    // neynar api error
  }
  
   throw error;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions