Skip to content

v2.4.0

Latest
Compare
Choose a tag to compare
@arvindrk arvindrk released this 25 Sep 00:33
a37ef7a

v2.4.0 - Enhanced Call Cleanup

✨ New Features

  • stop() method now returns a Promise for reliable cleanup awaiting
  • Resolves duplicate Daily iframe errors during rapid call restarts

🔧 Improvements

  • Fixed race conditions in call teardown process

📋 Usage

// Existing usage - still works unchanged
vapi.stop();

// New usage - for reliable cleanup
await vapi.stop();
await vapi.start(...); // Safe restart

⚠️ Migration Notes

  • No breaking changes - existing code continues to work
  • Consider using await vapi.stop() for scenarios requiring guaranteed cleanup