UNPKG

@standard-crypto/farcaster-js-neynar

Version:

A tool for interacting with Farcaster via Neynar APIs.

19 lines (18 loc) 573 B
import { NeynarV1APIClient } from './v1/index.js'; import { NeynarV2APIClient } from './v2/index.js'; import { AxiosInstance } from 'axios'; import { Logger } from './logger.js'; export declare class NeynarAPIClient { private readonly logger; readonly v1: NeynarV1APIClient; readonly v2: NeynarV2APIClient; /** * Instantiates a NeynarAPIClient * * Creates NeynarV1APIClient and NeynarV2APIClients */ constructor(apiKey: string, { logger, axiosInstance, }?: { logger?: Logger; axiosInstance?: AxiosInstance; }); }