@node-webrtc-rust/bindings 0.4.0 → 0.5.0
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/index.d.ts +8 -0
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -139,6 +139,8 @@ export interface JsVadConfig {
|
|
|
139
139
|
gateStt?: boolean
|
|
140
140
|
gateSttOpenOnPending?: boolean
|
|
141
141
|
sttGateHoldMs?: number
|
|
142
|
+
sttListenTimeoutMs?: number
|
|
143
|
+
utteranceFinalizeTimeoutMs?: number
|
|
142
144
|
}
|
|
143
145
|
export const enum JsSttVendor {
|
|
144
146
|
Openai = 'openai',
|
|
@@ -183,6 +185,12 @@ export const enum JsSpeechEventType {
|
|
|
183
185
|
UserSpeechFinal = 'user_speech_final',
|
|
184
186
|
AgentSpeakingStart = 'agent_speaking_start',
|
|
185
187
|
AgentSpeakingEnd = 'agent_speaking_end',
|
|
188
|
+
VadTriggered = 'vad_triggered',
|
|
189
|
+
SttStreamStart = 'stt_stream_start',
|
|
190
|
+
SttStreamEnd = 'stt_stream_end',
|
|
191
|
+
UserSttStart = 'user_stt_start',
|
|
192
|
+
UserSttEnd = 'user_stt_end',
|
|
193
|
+
UserSttNotFound = 'user_stt_not_found',
|
|
186
194
|
BargeIn = 'barge_in',
|
|
187
195
|
Error = 'error'
|
|
188
196
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-webrtc-rust/bindings",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "NAPI-RS native bindings for node-webrtc-rust — WebRTC peer connections, data channels, and conference audio mixing",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webrtc",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"@napi-rs/cli": "^2.18.0"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@node-webrtc-rust/bindings-win32-x64-msvc": "0.
|
|
62
|
-
"@node-webrtc-rust/bindings-darwin-x64": "0.
|
|
63
|
-
"@node-webrtc-rust/bindings-linux-x64-gnu": "0.
|
|
64
|
-
"@node-webrtc-rust/bindings-darwin-arm64": "0.
|
|
65
|
-
"@node-webrtc-rust/bindings-linux-arm64-gnu": "0.
|
|
66
|
-
"@node-webrtc-rust/bindings-linux-x64-musl": "0.
|
|
61
|
+
"@node-webrtc-rust/bindings-win32-x64-msvc": "0.5.0",
|
|
62
|
+
"@node-webrtc-rust/bindings-darwin-x64": "0.5.0",
|
|
63
|
+
"@node-webrtc-rust/bindings-linux-x64-gnu": "0.5.0",
|
|
64
|
+
"@node-webrtc-rust/bindings-darwin-arm64": "0.5.0",
|
|
65
|
+
"@node-webrtc-rust/bindings-linux-arm64-gnu": "0.5.0",
|
|
66
|
+
"@node-webrtc-rust/bindings-linux-x64-musl": "0.5.0"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=18"
|