@node-webrtc-rust/bindings 0.9.20 → 0.9.21
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 +4 -0
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -299,6 +299,7 @@ export interface JsLanguageIdConfig {
|
|
|
299
299
|
allowlist?: Array<string>
|
|
300
300
|
minSpeechMs?: number
|
|
301
301
|
continuous?: boolean
|
|
302
|
+
timing?: string
|
|
302
303
|
lidMaxClipMs?: number
|
|
303
304
|
lidGateMaxWaitMs?: number
|
|
304
305
|
ttsExclusion?: boolean
|
|
@@ -322,6 +323,7 @@ export const enum JsSpeechEventType {
|
|
|
322
323
|
UserSpeechPartial = 'user_speech_partial',
|
|
323
324
|
UserSpeechFinal = 'user_speech_final',
|
|
324
325
|
UserLanguage = 'user_language',
|
|
326
|
+
LanguageIdSkipped = 'language_id_skipped',
|
|
325
327
|
AgentSpeakingStart = 'agent_speaking_start',
|
|
326
328
|
AgentSpeakingEnd = 'agent_speaking_end',
|
|
327
329
|
VadTriggered = 'vad_triggered',
|
|
@@ -353,6 +355,8 @@ export interface JsSpeechEvent {
|
|
|
353
355
|
holdOutcome?: string
|
|
354
356
|
bufferedMs?: number
|
|
355
357
|
droppedMs?: number
|
|
358
|
+
reason?: string
|
|
359
|
+
speechMs?: number
|
|
356
360
|
}
|
|
357
361
|
export const enum JsSttHoldMode {
|
|
358
362
|
BufferReplay = 'buffer_replay',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@node-webrtc-rust/bindings",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.21",
|
|
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.9.
|
|
62
|
-
"@node-webrtc-rust/bindings-darwin-x64": "0.9.
|
|
63
|
-
"@node-webrtc-rust/bindings-linux-x64-gnu": "0.9.
|
|
64
|
-
"@node-webrtc-rust/bindings-darwin-arm64": "0.9.
|
|
65
|
-
"@node-webrtc-rust/bindings-linux-arm64-gnu": "0.9.
|
|
66
|
-
"@node-webrtc-rust/bindings-linux-x64-musl": "0.9.
|
|
61
|
+
"@node-webrtc-rust/bindings-win32-x64-msvc": "0.9.21",
|
|
62
|
+
"@node-webrtc-rust/bindings-darwin-x64": "0.9.21",
|
|
63
|
+
"@node-webrtc-rust/bindings-linux-x64-gnu": "0.9.21",
|
|
64
|
+
"@node-webrtc-rust/bindings-darwin-arm64": "0.9.21",
|
|
65
|
+
"@node-webrtc-rust/bindings-linux-arm64-gnu": "0.9.21",
|
|
66
|
+
"@node-webrtc-rust/bindings-linux-x64-musl": "0.9.21"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=18"
|