Repository navigation
Restores the window.catcher fallback
websocket.js again calls a global window.catcher(message) when no onMessage callback is passed. v0.0.4 replaced that global with an explicit callback parameter, which broke the pattern documented for WhatsAuth. Both styles now work: pass onMessage if you have one, otherwise define window.catcher.