Rename file

This commit is contained in:
Endeavorance 2025-05-03 13:10:51 -04:00
parent 4e3da87809
commit faf0254ffa
2 changed files with 1 additions and 2 deletions

View file

@ -1,5 +1,5 @@
import { SocketError } from "./errors";
import { ManagedSocket } from "./managed-socket";
import { ManagedSocket } from "./socket";
import { wrap, unwrap, deserialize } from "./messages";
export { ManagedSocket, SocketError, wrap, unwrap, deserialize };

View file

@ -42,7 +42,6 @@ export class ManagedSocket {
constructor(url: string, handlers: HandlerDefinitions = {}) {
this.url = url;
// Use provided handlers
this.onMessage = handlers.onMessage ?? this.onMessage;
this.onError = handlers.onError ?? this.onError;
this.onConnected = handlers.onConnected ?? this.onConnected;