Skip to content

v0.1.1-21

Compare
Choose a tag to compare
@aricart aricart released this 04 Aug 15:51
· 832 commits to main since this release
8cad22b

[FEAT] added Codec with implementations for StringCodec and JSONCodec, which take String/Objects and encode/decode to Uint8Arrays. This mechanism enables user code to exercise the encoding/decoding of payloads and indirectly allows a single client to work with Uint8Arrays, JSON or string payloads. This resolves nats-io/nats-clients#1.

[BREAKING] nats client removes the Payload option, message payloads are always Uint8Array.