From 07bf5725f3e12cf60656e2efa2e4f12c8fd09878 Mon Sep 17 00:00:00 2001 From: Twilight <46562212+twlite@users.noreply.github.com> Date: Sun, 10 Nov 2024 11:06:32 +0545 Subject: [PATCH] chore: add changelog --- .changes/cleanup-fn-websocket.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/cleanup-fn-websocket.md diff --git a/.changes/cleanup-fn-websocket.md b/.changes/cleanup-fn-websocket.md new file mode 100644 index 00000000..1af81197 --- /dev/null +++ b/.changes/cleanup-fn-websocket.md @@ -0,0 +1,5 @@ +--- +websocket-js: minor +--- + +`addListener` now returns a cleanup function instead of `void` to remove the listener. \ No newline at end of file