feat: Remove the todo and use a get primary hostname

This commit is contained in:
Blu-J
2023-05-30 15:15:40 -06:00
parent 348669e5c3
commit a6514161ba
3 changed files with 86 additions and 24 deletions

View File

@@ -247,6 +247,13 @@ export type Effects = {
callback: () => void
}): Promise<[HostName, ...HostName[]]>
getPrimaryHostname(options: {
kind?: "multi"
packageId?: string
hostId: string
callback: () => void
}): Promise<HostName | null>
/** Similar to the fetch api via the mdn, this is simplified but the point is
* to get something from some website, and return the response.
*/