Skip to content

Releases: mitranim/webbs

0.0.10

09 Jun 07:54
Compare
Choose a tag to compare
corrected main module pragma (use ES)

0.0.9

18 Apr 12:40
Compare
Choose a tag to compare
better minification, .getState() → .state

0.0.8: breaking improvements and cleanup

16 Apr 22:17
Compare
Choose a tag to compare
* moved `url` and `protocol` arguments from constructor to `.open`
* `.close` and `.deinit` are now equivalent
* added `webbs.getState`
* better ordering of state changes and callbacks; a webbs instance now reaches a consistent state before invoking the corresponding `onEach` callback
* `onEachClose` is always called on `.close`, even if there was no underlying socket
* removed `sendJson`; just define a function if you want

0.0.7: massively simplified (breaking)

13 Apr 16:45
Compare
Choose a tag to compare
* removed tons of useless code
* improved reliability; should no longer accidentally reconnect after manual deinit
* renamed `nativeWS` → `nativeWs`
* renamed `sendJSON` → `sendJson`

0.0.5: cosmetic renaming (breaking)

21 May 10:56
Compare
Choose a tag to compare
* renamed `on*` properties to `onEach*` to reduce confusion with native websocket properties
* renamed `deconstructor` to `deinit`

0.0.4: cleanup with breaking changes

24 Mar 21:37
Compare
Choose a tag to compare
* removed dependencies, inlined utils that were previously imported
* renamed `Wsocket` -> `Webbs` to reduce confusion
* classes are now transpiled by Babel and require 'new'

0.0.3

18 Jan 13:09
Compare
Choose a tag to compare
better naming (Ws -> Wsocket), cleaner implementation

0.0.2

25 Oct 01:06
Compare
Choose a tag to compare

init