From c9f628ee2c0ad67eaa216e3af6b69e01f61edf3e Mon Sep 17 00:00:00 2001 From: Endeavorance Date: Mon, 21 Apr 2025 15:18:34 -0400 Subject: [PATCH] Fix typo in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe259b1..8c0f7fd 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ const mySocket = new ManagedSocket("wss://socket.my-server.web"); Sends the provided data over the socket. -The data can be of any shaoe as long as it can be serialized (using `JSON.stringify` under the hood). +The data can be of any shape as long as it can be serialized (using `JSON.stringify` under the hood). If `send()` is called on a `ManagedSocket` instance that is not currently connected, it will be enqueued to be sent once the connection is reestablished. @@ -143,4 +143,4 @@ Shorthand for `serialize(createDataMessage(data)) ### `isCatastrophicCloseCode(code: SocketCloseCode)` -Returns `true` if the provided `SocketCloseCode` is a non-reconnect close code, or `false` otherwise. \ No newline at end of file +Returns `true` if the provided `SocketCloseCode` is a non-reconnect close code, or `false` otherwise.