- Added an option to respond with ACKs to keep the buffer flushed (ex. {ack:true}).
- Added an option to keep flushing the buffer using a timeout (ex. {resend: 50}).
- Got the tests to work in node for that pretty green badge.
- Removed latency code. Better to be dealt with in the app.
- Updated tests to work with the correct shrink behavior
- Cache encoded message until it changes
- Shrink based on received ack, not own ack (duh)
- Better binary and message length check
- Don't rebind NetChan#recv so it can be overwritten if necessary (like base64 wrapping)
- Updated the tests with both mock and real DataChannels and more data.
- Added built-in latency tracking. Breaks the tests in node because dependencies are missing package.json
- Got the tests to pass with the new, better, shrink().
- Refactored buffer shrinking into method. Fixed shrinking bug when index is 0 by checking for null.
- Initial commit. Encode and decode seems to pass the unit tests.