UNPKG

nepse-api-helper

Version:

a wrapper to use nepse api easily since they set up weird restrictions

4 lines (3 loc) 320 B
export declare function fetchWithTimeout(url: string, options: RequestInit, timeout?: number): Promise<Response>; export declare function fetchWithRetry(url: string, options: RequestInit, retries?: number, delay?: number): Promise<Response>; export declare function createHeaders(token: string): Record<string, string>;