Skip to content

v1.1.0

Choose a tag to compare

@Christilut Christilut released this 09 Jul 19:48
· 9 commits to master since this release

Fixed

  • streams.live() now consumes the endpoint as Server-Sent Events and returns a generator of parsed events. It previously tried to parse the infinite stream as JSON and hung.

Added

  • verify_webhook_signature() helper for checking the SonoVault-Signature header on webhook deliveries.
  • timeout client option in seconds (default 30, was hardcoded).
  • webhooks.get(webhook_id).
  • User-Agent: sonovault-python/ header on every request.
  • py.typed marker so mypy and pyright pick up the package's type hints.