support stt speechmatics (#353)

* support stt speechmatics

* support speechmatics region authentication

* update testcase for speechmatics_stt_uri
This commit is contained in:
Hoan Luu Huu
2024-10-11 20:17:40 +07:00
committed by GitHub
parent 77b9ca4cba
commit 6e779f6744
5 changed files with 156 additions and 2 deletions

39
package-lock.json generated
View File

@@ -42,6 +42,7 @@
"passport-http-bearer": "^1.0.1",
"pino": "^8.20.0",
"short-uuid": "^4.2.2",
"speechmatics": "^4.0.0",
"stream-buffers": "^3.0.2",
"stripe": "^14.24.0",
"swagger-ui-express": "^5.0.0",
@@ -9046,6 +9047,35 @@
"node": ">=8"
}
},
"node_modules/speechmatics": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/speechmatics/-/speechmatics-4.0.0.tgz",
"integrity": "sha512-k4za7lTBA8Y3rXXqRBxHWQcwmZ2j4bewSFqKek/FpPNj+fgChtKH4UU1uDUHb9RbZ6R4zTwfZQoaNqHU3dUmEw==",
"license": "MIT",
"dependencies": {
"bufferutil": "^4.0.7",
"events": "^3.3.0",
"utf-8-validate": "^6.0.3",
"ws": "^8.13.0",
"zod": "^3.21.4"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
}
},
"node_modules/speechmatics/node_modules/utf-8-validate": {
"version": "6.0.4",
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-6.0.4.tgz",
"integrity": "sha512-xu9GQDeFp+eZ6LnCywXN/zBancWvOpUMzgjLPSjy4BRHSmTelvn2E0DG0o1sTiw5hkCKBHo8rwSKncfRfv2EEQ==",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"node-gyp-build": "^4.3.0"
},
"engines": {
"node": ">=6.14.2"
}
},
"node_modules/split2": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
@@ -10157,6 +10187,15 @@
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/zod": {
"version": "3.23.8",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz",
"integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
}
}
}