diff --git a/lib/socket.ts b/lib/socket.ts index b90af0954..5ac6e726b 100644 --- a/lib/socket.ts +++ b/lib/socket.ts @@ -57,7 +57,7 @@ export class Socket< public sendBuffer: Array = []; private readonly nsp: string; - private readonly auth: object | ((cb: (data: object) => void) => void); + public readonly auth: object | ((cb: (data: object) => void) => void); private ids: number = 0; private acks: object = {};