Releases: activescott/typescript-openai-realtime-api
Releases · activescott/typescript-openai-realtime-api
v2.0.0
2.0.0 (2025-02-21)
Features
- The "session request" is no longer managed by the client. The hosting application is expected to manage the session request. This has presented a cleaner and more reliable API for us in production. (a7b8dc9)
BREAKING CHANGES
- The sessionRequest argument is no longer part of the constructor. The sessionRequested argument is no longe provided to the getRealtimeEphemeralAPIKey callback. The host application should know what session it wants and can always request whatever session it wants in the getRealtimeEphemeralAPIKey. See the WebRTC example for how to do this.
v1.5.0
v1.4.1
v1.4.0
v1.3.0
1.3.0 (2025-02-17)
Features
- OpenAI Realtime API types are now exported from the package so that they can easily be used in a consuming project (859acdb)
- RealtimeClient.start will not resolve until the data channel is open and client events are safe to send. Also some improvements around detecting a session that was different than the requested session that will make it less likely to update the session automatically. (fb28856)
- the example project provides a button to download all the events as json - useful for debugging. (8cc1c80)