@stratosphere-network/wallet
Version:
Wallet module for StratoSphere SDK
15 lines • 521 B
TypeScript
import { HttpClient, RequestConfig, SphereConfig } from "./types";
export declare class SphereHttpClient implements HttpClient {
private config;
private baseUrl;
constructor(config: SphereConfig);
private getDefaultBaseUrl;
request<T>(requestConfig: RequestConfig): Promise<T>;
private executeWithRetry;
private handleResponse;
private handleError;
private delay;
setApiKey(apiKey: string): void;
setBearerToken(token: string): void;
}
//# sourceMappingURL=http-client.d.ts.map