avin-ai 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avin-ai.es.js +397 -331
- package/dist/avin-ai.js +73 -25
- package/dist/avin-ai.umd.js +77 -29
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -187,6 +187,11 @@ declare type EventMap = {
|
|
|
187
187
|
transcription: TranscriptionEvent;
|
|
188
188
|
/** Fired when the AI triggers a client-side tool (action) */
|
|
189
189
|
tool_call: ClientToolCall;
|
|
190
|
+
/** Fired when a remote media track (like video) is received */
|
|
191
|
+
track: {
|
|
192
|
+
track: MediaStreamTrack;
|
|
193
|
+
stream: MediaStream;
|
|
194
|
+
};
|
|
190
195
|
};
|
|
191
196
|
|
|
192
197
|
export declare interface TranscriptionEvent {
|