From 1f76aef53a3c16c98c934f5f56f05f25280b9214 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 6 Feb 2023 03:49:48 -0500 Subject: [PATCH] *Change socket close module method name to be consistent with the rest --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a49c198..5913d8c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -116,7 +116,7 @@ export class Socket extends Client { this.callModule("socketExists", { id: this.id }).then( ([exists]: ErrTuple) => { if (exists) { - this.callModule("close", { id: this.id }); + this.callModule("socketClose", { id: this.id }); } } );