UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

35 lines 762 B
/** * SDK Configuration */ export interface LomiConfig { /** * API key for authentication * Get your API key from the lomi. dashboard */ apiKey: string; /** * Base URL for the API * @default 'https://api.lomi.africa/v1' */ baseUrl?: string; /** * Additional headers to include in requests */ headers?: Record<string, string>; /** * Request timeout in milliseconds * @default 30000 (30 seconds) */ timeout?: number; /** * Environment: 'live' or 'test' * @default 'live' */ environment?: 'live' | 'test'; } export declare const DEFAULT_CONFIG: { baseUrl: string; timeout: number; environment: "live"; }; //# sourceMappingURL=config.d.ts.map