UNPKG

@forklaunch/universal-sdk

Version:

Cross runtime fetch library for forklaunch router sdks

16 lines 649 B
/** * Initializes the Forklaunch SDK with HTTP methods proxied. * * @template TypedController * @param {string} host - The host URL for the SDK. * @returns {TypedController} - The SDK proxy with methods for HTTP requests. */ import { ResponseContentParserType } from './src/types/contentTypes.types'; import { RegistryOptions } from './src/types/sdk.types'; export declare const universalSdk: <TypedController>(options: { host: string; registryOptions: RegistryOptions; contentTypeParserMap?: Record<string, ResponseContentParserType>; }) => Promise<TypedController>; export { RegistryOptions }; //# sourceMappingURL=index.d.ts.map