From e84b009244876c1856048fdda9b69d323028ebdc Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 6 Feb 2023 03:35:04 -0500 Subject: [PATCH] *Change socket listen 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 3e3002f..a49c198 100644 --- a/src/index.ts +++ b/src/index.ts @@ -79,7 +79,7 @@ export class Socket extends Client { context?: any ): this { const [update, promise] = this.connectModule( - "listenSocketEvent", + "socketListenEvent", { id: this.id, event: event }, (data: any) => { this.emit(event, data);