@hyperbrowser/sdk
Version:
Node SDK for Hyperbrowser API
9 lines (8 loc) • 392 B
TypeScript
import { RequestInit } from "node-fetch";
export declare class BaseService {
protected readonly apiKey: string;
protected readonly baseUrl: string;
protected readonly timeout: number;
constructor(apiKey: string, baseUrl: string, timeout?: number);
protected request<T>(path: string, init?: RequestInit, params?: Record<string, string | number | undefined>): Promise<T>;
}