This repository has been archived by the owner on May 6, 2019. It is now read-only.
Breaking changes
- shiny new promise based API (non backwards compatible with v1.x) - please see README for up to date usage
- unification of class and service methods - now all accessible on the class instance only (see README)
- close and error events supply the full error instance now (instead of the reason only)
Feature additions
- NodeJS v4 + v5 support added
- this library now works in the browser in addition to NodeJS 🎉
- async/await compatibility 👀
- now with tests and coverage reporting! ✅
- more examples added (including a couple of lil browser pages you can run)
sendFile
method supports both file path strings and Node Buffers now (plus ArrayBuffers in the browser)
Patches
sendFile
method is a touch slower at streaming over the websocket for more reliable results (sorry)- general bugfixes and improvements