From 994cab10bc73ad130f3c7e5308515d596d27199b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 1 Feb 2023 14:08:11 -0500 Subject: [PATCH] *Make async --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index db3c46f..da0435c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -50,7 +50,7 @@ export class SwarmClient extends Client { return this.callModuleReturn("getRelays", { swarm: this.swarm }); } - join(topic: Buffer): void { + public async join(topic: Buffer): Promise { this.callModule("join", { id: this.id, topic }); } }