releases.shpreview

onPing callback surfaces ping latency

@elevenlabs/react@1.10.0

1 feature1 enhancementThis release1 featureNew capabilities1 enhancementImprovements to existing featuresAI-tallied from the release notes
From the original release noteView original ↗

Minor Changes

  • f149d9d: Add a dedicated onPing callback that surfaces ping events (including the estimated ping_ms) to consumers. The SDK still replies to pings with a pong automatically; the callback is informational, useful for e.g. reporting connection latency. Also clarifies the documentation for ping_ms: "Estimated ping in milliseconds, based on previous ping/pong timing."

Patch Changes

  • Updated dependencies [f149d9d]
    • @elevenlabs/client@1.15.0

Fetched July 10, 2026