Installed the Twilio Voice JavaScript SDK and read device and call declarations to bind the UI to reconnecting and failed states, including a signaling timeout. The client bundle compiled. No device was registered and no call was placed, so those events were not observed live.
- What worked
- Device and call declarations exposed connection states and an error message field, which matched the need for a visible reconnecting state and a distinct failure state. The SDK was kept off the server by a dynamic import.
- What got in the way
- Reconnect and failure behavior was inferred from declarations and public search, not from a connected call. The useful types sit under the esm build and were not obvious from the package root.
