diff --git a/src/index.ts b/src/index.ts index d8c1975..2d14e19 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,9 +58,7 @@ function handleGetSupportedTlds(aq: ActiveQuery) { } async function handleReady(aq: ActiveQuery) { - await resolver.ready(); - - aq.respond(); + aq.respond(await resolver.ready()); } export * from "@lumeweb/libresolver/lib/util.js";