From b718e6825afcfe9df8ff0eb0f332ad7add611305 Mon Sep 17 00:00:00 2001 From: ivandotv <390700+ivandotv@users.noreply.github.com> Date: Mon, 1 Feb 2021 14:08:33 +0100 Subject: [PATCH] feat: make "resolveBaseUrl" method public --- src/radioBrowser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radioBrowser.ts b/src/radioBrowser.ts index 1c48040..a421438 100644 --- a/src/radioBrowser.ts +++ b/src/radioBrowser.ts @@ -48,7 +48,7 @@ export class RadioBrowserApi { * @param config- Fetch configuration * @returns Array of objects with the ip and name of the api server */ - protected async resolveBaseUrl( + async resolveBaseUrl( autoSet = true, config: RequestInit = {} ): Promise<{ ip: string; name: string }[]> {