UNPKG

nubank.ts

Version:
17 lines (16 loc) 447 B
import { AxiosInstance } from 'axios'; interface IUrlList { [key: string]: string; } export default class Discovery { client: AxiosInstance; proxyListUrl: IUrlList; proxyListAppUrl: IUrlList; DISCOVERY_URL: string; DISCOVERY_APP_URL: string; constructor(client: AxiosInstance); getUrl(name: string, target?: IUrlList): string; getAppUrl(name: string): string; updateProxyUrls(): Promise<void>; } export {};