From c7bf06a41ff379155e9ed6893c560a7b0a10385f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 29 Jul 2023 00:18:57 -0400 Subject: [PATCH] refactor: update ready method to call the status api --- src/resolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolver.ts b/src/resolver.ts index 617fd88..493a22c 100644 --- a/src/resolver.ts +++ b/src/resolver.ts @@ -291,6 +291,6 @@ export default class Handshake extends AbstractResolverModule { } async ready() { - await client.ready(); + return ((await client.status()) as any)?.ready; } }