@absolutejs/voice-deepgram 0.0.18 → 0.0.20-beta.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.
package/dist/types.d.ts CHANGED
@@ -2,6 +2,7 @@ export type DeepgramModel = 'nova-3' | 'nova-2' | 'flux' | 'flux-general-en' | '
2
2
  export type DeepgramSTTOptions = {
3
3
  apiKey: string;
4
4
  model: DeepgramModel;
5
+ authMode?: 'header' | 'protocol';
5
6
  language?: string;
6
7
  punctuate?: boolean;
7
8
  smartFormat?: boolean;
@@ -19,6 +20,7 @@ export type DeepgramSTTOptions = {
19
20
  eagerEotThreshold?: number;
20
21
  eotTimeoutMs?: number;
21
22
  keepAliveMs?: number;
23
+ connectTimeoutMs?: number;
22
24
  tag?: string | string[];
23
25
  extra?: Record<string, string>;
24
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/voice-deepgram",
3
- "version": "0.0.18",
3
+ "version": "0.0.20-beta.0",
4
4
  "description": "Deepgram speech-to-text adapter for @absolutejs/voice",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,17 +24,14 @@
24
24
  "build": "rm -rf dist && bun build ./src/index.ts --outdir dist --target bun --external @absolutejs/voice && tsc --emitDeclarationOnly --project tsconfig.json",
25
25
  "format": "prettier --write \"./**/*.{js,ts,json,md}\"",
26
26
  "release": "bun run format && bun run build && bun publish",
27
- "test": "echo \"Error: no test specified\" && exit 1",
27
+ "test": "bun test",
28
28
  "typecheck": "bun run tsc --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@absolutejs/voice": "0.0.16",
32
- "@deepgram/sdk": "^4.11.2",
33
- "ws": "^8.18.3"
31
+ "@absolutejs/voice": "0.0.22-beta.0"
34
32
  },
35
33
  "devDependencies": {
36
- "@absolutejs/absolute": "0.19.0-beta.647",
37
- "@types/ws": "^8.18.1",
34
+ "@absolutejs/absolute": "0.19.0-beta.648",
38
35
  "@types/bun": "1.3.9",
39
36
  "typescript": "^5.9.3"
40
37
  }