UNPKG

@reclaimprotocol/attestor-core

Version:

<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>

19 lines (18 loc) 633 B
import type { Provider, ProviderParams, ProviderSecretParams } from '../../types/index.ts'; type HTTPProviderParams = ProviderParams<'http'>; declare const HTTP_PROVIDER: Provider<'http'>; export declare function substituteParamValues(currentParams: HTTPProviderParams, secretParams?: ProviderSecretParams<'http'>, ignoreMissingParams?: boolean): { newParams: HTTPProviderParams; extractedValues: { [_: string]: string; }; hiddenBodyParts: { index: number; length: number; }[]; hiddenURLParts: { index: number; length: number; }[]; }; export default HTTP_PROVIDER;