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