@node-webrtc-rust/bindings 0.6.24 → 0.7.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.
Files changed (2) hide show
  1. package/index.d.ts +3 -0
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -120,6 +120,9 @@ export interface JsBargeInConfig {
120
120
  useVad?: boolean
121
121
  flushTts?: boolean
122
122
  requireSttPartial?: boolean
123
+ /** Minimum whitespace-separated tokens in an STT partial before semantic barge (default 2). */
124
+ minSttPartialTokens?: number
125
+ /** Legacy alias for [`Self::min_stt_partial_tokens`] (same meaning: token count, not chars). */
123
126
  minSttPartialChars?: number
124
127
  agentPlaybackGuardMs?: number
125
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-webrtc-rust/bindings",
3
- "version": "0.6.24",
3
+ "version": "0.7.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.6.24",
62
- "@node-webrtc-rust/bindings-darwin-x64": "0.6.24",
63
- "@node-webrtc-rust/bindings-linux-x64-gnu": "0.6.24",
64
- "@node-webrtc-rust/bindings-darwin-arm64": "0.6.24",
65
- "@node-webrtc-rust/bindings-linux-arm64-gnu": "0.6.24",
66
- "@node-webrtc-rust/bindings-linux-x64-musl": "0.6.24"
61
+ "@node-webrtc-rust/bindings-win32-x64-msvc": "0.7.0",
62
+ "@node-webrtc-rust/bindings-darwin-x64": "0.7.0",
63
+ "@node-webrtc-rust/bindings-linux-x64-gnu": "0.7.0",
64
+ "@node-webrtc-rust/bindings-darwin-arm64": "0.7.0",
65
+ "@node-webrtc-rust/bindings-linux-arm64-gnu": "0.7.0",
66
+ "@node-webrtc-rust/bindings-linux-x64-musl": "0.7.0"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=18"