sherpa-onnx-node 1.10.39 → 1.10.41

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.
@@ -20,6 +20,10 @@ class KeywordSpotter {
20
20
  addon.decodeKeywordStream(this.handle, stream.handle);
21
21
  }
22
22
 
23
+ reset(stream) {
24
+ addon.resetKeywordStream(this.handle, stream.handle);
25
+ }
26
+
23
27
  getResult(stream) {
24
28
  const jsonStr = addon.getKeywordResultAsJson(this.handle, stream.handle);
25
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sherpa-onnx-node",
3
- "version": "1.10.39",
3
+ "version": "1.10.41",
4
4
  "description": "Speech-to-text, text-to-speech, and speaker diarization using Next-gen Kaldi without internet connection",
5
5
  "main": "sherpa-onnx.js",
6
6
  "scripts": {
@@ -55,11 +55,11 @@
55
55
  },
56
56
  "homepage": "https://github.com/csukuangfj/sherpa-onnx#readme",
57
57
  "optionalDependencies": {
58
- "sherpa-onnx-darwin-arm64": "^1.10.39",
59
- "sherpa-onnx-darwin-x64": "^1.10.39",
60
- "sherpa-onnx-linux-x64": "^1.10.39",
61
- "sherpa-onnx-linux-arm64": "^1.10.39",
62
- "sherpa-onnx-win-x64": "^1.10.39",
63
- "sherpa-onnx-win-ia32": "^1.10.39"
58
+ "sherpa-onnx-darwin-arm64": "^1.10.41",
59
+ "sherpa-onnx-darwin-x64": "^1.10.41",
60
+ "sherpa-onnx-linux-x64": "^1.10.41",
61
+ "sherpa-onnx-linux-arm64": "^1.10.41",
62
+ "sherpa-onnx-win-x64": "^1.10.41",
63
+ "sherpa-onnx-win-ia32": "^1.10.41"
64
64
  }
65
65
  }