Releases: VapiAI/client-sdk-react
Releases · VapiAI/client-sdk-react
v0.1.0
Adds the voiceReconnectStorage option to the Vapi Widget with 2 options:
- session (default): Useful for simple sites and single tab isolated conversations
- cookies: Useful for complex sites, allowing sharing call id state between subdomains for seamless reconnection.
Adds new dependency for cookie management (js-cookie)
Fixes conflicting CSS injection
v0.0.15
What's Changed
- Updates the Widget component and underlying hooks to support reconnecting to active calls within the same browser tab.
- Upgrades @vapi-ai/web dependency to 2.5.0 for roomDeleteOnUserLeaveEnabled and reconnect method support.
- Use session storage to store active call and expanded state for better user experience
New Contributors
- @stevenbdf made their first contribution in #27
Full Changelog: v0.0.14...v0.0.15
v0.0.14
Fix: Isolate Widget CSS to Prevent Host Page Style Conflicts
Problem
Widget's global CSS (especially Tailwind base reset) was injecting into host pages and overriding their styles, causing conflicts and breaking host page layouts.
Solution
Implemented selector-based CSS scoping. All widget styles are now scoped to .vapi-widget-wrapper container.
CSS Generation
Before: .flex { display: flex; } (global, affects host page)
After: .vapi-widget-wrapper .flex { display: flex !important; } (scoped, isolated)