From 54ef04d959f2c23b6919d40d978cce18647e9f16 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 9 Sep 2022 06:22:04 -0400 Subject: [PATCH] *Have the DnsProvider be passed the domain so we don't need to read it from the config --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a46fa16..e26c616 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,7 @@ export interface StreamFileResponse { done: boolean; } -export type DnsProvider = (ipAddress: string) => Promise; +export type DnsProvider = (ipAddress: string, domain: string) => Promise; export type PluginFunction = (api: PluginAPI) => Promise;