Release v2.0.0
Major API update
- Simplify encoder. Every encodign/decoding operations must be performed on consumer, connect-ts-api encodes a message with the passed function before sending it, and decodes once a new message is fetched.
- fix ambiguous public methods.
- Added interfaces
- Add destroy adapter public method (to prevent round dependencies hell)