File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 4949 "@openapitools/openapi-generator-cli" : " ^2.7.0" ,
5050 "@rollup/plugin-replace" : " ^5.0.2" ,
5151 "@rollup/plugin-typescript" : " ^11.1.4" ,
52- "@stream-io/openai-realtime-api" : " ~0.1.1 " ,
52+ "@stream-io/openai-realtime-api" : " ~0.1.3 " ,
5353 "@types/uuid" : " ^9.0.4" ,
5454 "@typescript-eslint/eslint-plugin" : " ^6.4.0" ,
5555 "dotenv" : " ^16.3.1" ,
7676 "uuid" : " ^9.0.1"
7777 },
7878 "peerDependencies" : {
79- "@stream-io/openai-realtime-api" : " ~0.1.1 "
79+ "@stream-io/openai-realtime-api" : " ~0.1.3 "
8080 },
8181 "peerDependenciesMeta" : {
8282 "@stream-io/openai-realtime-api" : {
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import type { StreamClient } from './StreamClient';
44import type { ApiConfig } from './types' ;
55import type {
66 createRealtimeClient ,
7+ RealtimeAPIModel ,
78 RealtimeClient ,
89} from '@stream-io/openai-realtime-api' ;
910
@@ -26,7 +27,7 @@ export class StreamVideoClient extends VideoApi {
2627 call : StreamCall ;
2728 agentUserId : string ;
2829 openAiApiKey : string ;
29- model ?: Parameters < typeof createRealtimeClient > [ 0 ] [ 'model' ] ;
30+ model ?: RealtimeAPIModel ;
3031 validityInSeconds ?: number ;
3132 } ) : Promise < RealtimeClient > => {
3233 let doCreateRealtimeClient : typeof createRealtimeClient ;
Original file line number Diff line number Diff line change 488488 resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz"
489489 integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==
490490
491- " @stream-io/openai-realtime-api@~0.1.1 " :
492- version "0.1.1 "
493- resolved "https://registry.yarnpkg.com/@stream-io/openai-realtime-api/-/openai-realtime-api-0.1.1 .tgz#fe9e7404d2efa2e88bbb8dc9b8c7f52d50254d9f "
494- integrity sha512-gmfcy+bcPDTn78R3CHi66XLL0YbZjZP2eD8Ja/AlGiRHM3S7IP4bjeFrFBPnOngTOMYwMuSU4xOehhMwCBuh6w ==
491+ " @stream-io/openai-realtime-api@~0.1.3 " :
492+ version "0.1.3 "
493+ resolved "https://registry.yarnpkg.com/@stream-io/openai-realtime-api/-/openai-realtime-api-0.1.3 .tgz#4a77eac5e58b4d7980958820690687a0edf3986d "
494+ integrity sha512-kB3BMW2CYAHF+SrswUvaJmwVlOOK3MZYBW9oR4Q9HGpzS0gEGP/feGsqt5M37/0gJ6A5mOoBA26TcnHmaA39dA ==
495495 dependencies :
496496 " @openai/realtime-api-beta" openai/openai-realtime-api-beta#a5cb94824f625423858ebacb9f769226ca98945f
497497 ws "^8.18.0"
You can’t perform that action at this time.
0 commit comments