sherpa-onnx-node 1.12.28 → 1.12.29
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/addon.js +2 -2
- package/package.json +7 -7
package/addon.js
CHANGED
|
@@ -51,7 +51,7 @@ if (!addon) {
|
|
|
51
51
|
!process.env.DYLD_LIBRARY_PATH.includes(
|
|
52
52
|
`node_modules/sherpa-onnx-${platform_arch}`))) {
|
|
53
53
|
msg +=
|
|
54
|
-
'Please
|
|
54
|
+
'Please remember to set the following environment variable and try again:\n';
|
|
55
55
|
|
|
56
56
|
msg += `export DYLD_LIBRARY_PATH=${addon_path}`;
|
|
57
57
|
|
|
@@ -63,7 +63,7 @@ if (!addon) {
|
|
|
63
63
|
!process.env.LD_LIBRARY_PATH.includes(
|
|
64
64
|
`node_modules/sherpa-onnx-${platform_arch}`))) {
|
|
65
65
|
msg +=
|
|
66
|
-
'Please
|
|
66
|
+
'Please remember to set the following environment variable and try again:\n';
|
|
67
67
|
|
|
68
68
|
msg += `export LD_LIBRARY_PATH=${addon_path}`;
|
|
69
69
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sherpa-onnx-node",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.29",
|
|
4
4
|
"description": "Speech-to-text, text-to-speech, speaker diarization, and speech enhancement using Next-gen Kaldi without internet connection",
|
|
5
5
|
"main": "sherpa-onnx.js",
|
|
6
6
|
"scripts": {
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
},
|
|
58
58
|
"homepage": "https://github.com/csukuangfj/sherpa-onnx#readme",
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"sherpa-onnx-darwin-arm64": "^1.12.
|
|
61
|
-
"sherpa-onnx-darwin-x64": "^1.12.
|
|
62
|
-
"sherpa-onnx-linux-x64": "^1.12.
|
|
63
|
-
"sherpa-onnx-linux-arm64": "^1.12.
|
|
64
|
-
"sherpa-onnx-win-x64": "^1.12.
|
|
65
|
-
"sherpa-onnx-win-ia32": "^1.12.
|
|
60
|
+
"sherpa-onnx-darwin-arm64": "^1.12.29",
|
|
61
|
+
"sherpa-onnx-darwin-x64": "^1.12.29",
|
|
62
|
+
"sherpa-onnx-linux-x64": "^1.12.29",
|
|
63
|
+
"sherpa-onnx-linux-arm64": "^1.12.29",
|
|
64
|
+
"sherpa-onnx-win-x64": "^1.12.29",
|
|
65
|
+
"sherpa-onnx-win-ia32": "^1.12.29"
|
|
66
66
|
}
|
|
67
67
|
}
|