Skip to content

v1.4.9

Choose a tag to compare

@shijistar shijistar released this 23 Sep 08:04
· 242 commits to master since this release

Features

hooks

  • ✨ add a new hook useSSE which provides a simple way to connect and communicate with a Server-Sent Events (SSE) server.
  • ✨ add a new hook useAudioPlayer used to play audio from a given source URL or streaming data.
  • ✨ add a new util utils.arrayBufferToBase64 used to convert an ArrayBuffer to a Base64 encoded string.
  • ✨ add a new util utils.base64ToArrayBuffer used to convert a Base64 encoded string to an ArrayBuffer.

Notable Changes

  • 🔥 utils.toBase64 method is renamed to utils.stringToBase64.
  • 🔥 utils.fromBase64 method is renamed to utils.base64ToString.