UNPKG

@covalenthq/client-sdk

Version:

<div align="center"> <a href="https://goldrush.dev/" target="_blank" rel="noopener noreferrer"> <img alt="GoldRush TS SDK Logo" src="../../repo-static/ts-sdk-banner.png" style="max-width: 100%;"/> </a> </div>

12 lines (11 loc) 475 B
import { type GoldRushClientSettings, type GoldRushResponse } from "../types/Generic.types"; export declare class Execution { private settings; private headers; private maxRetries; private retryDelay; private enableRetry; private processes; constructor(settings: GoldRushClientSettings, headers: Record<string, string>); execute<T>(endpoint: URL, parseData: (data: GoldRushResponse<T>) => GoldRushResponse<T>): Promise<GoldRushResponse<T>>; }