@mastra/voice-deepgram 0.1.0-alpha.2 → 0.1.0-alpha.3

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.
@@ -1,18 +1,18 @@
1
1
 
2
- > @mastra/voice-deepgram@0.1.0-alpha.2 build /home/runner/work/mastra/mastra/voice/deepgram
2
+ > @mastra/voice-deepgram@0.1.0-alpha.3 build /home/runner/work/mastra/mastra/voice/deepgram
3
3
  > tsup src/index.ts --format esm --experimental-dts --clean --treeshake
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.3.6
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 6794ms
9
+ TSC ⚡️ Build success in 7027ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.7.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/voice/deepgram/dist/_tsup-dts-rollup.d.ts
14
- DTS ⚡️ Build success in 4973ms
14
+ DTS ⚡️ Build success in 5819ms
15
15
  CLI Cleaning output folder
16
16
  ESM Build start
17
- ESM dist/index.js 4.50 KB
18
- ESM ⚡️ Build success in 262ms
17
+ ESM dist/index.js 4.40 KB
18
+ ESM ⚡️ Build success in 323ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 1a10ac1: fix deepgram security issue
8
+ - Updated dependencies [6cb63e0]
9
+ - @mastra/core@0.4.2-alpha.1
10
+
3
11
  ## 0.1.0-alpha.2
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -51,8 +51,6 @@ var DeepgramVoice = class extends MastraVoice {
51
51
  });
52
52
  const speechApiKey = speechModel?.apiKey || defaultApiKey;
53
53
  const listeningApiKey = listeningModel?.apiKey || defaultApiKey;
54
- console.log("speechApiKey", speechApiKey);
55
- console.log("listeningApiKey", listeningApiKey);
56
54
  if (!speechApiKey && !listeningApiKey) {
57
55
  throw new Error("At least one of DEEPGRAM_API_KEY, speechModel.apiKey, or listeningModel.apiKey must be set");
58
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-deepgram",
3
- "version": "0.1.0-alpha.2",
3
+ "version": "0.1.0-alpha.3",
4
4
  "description": "Mastra Deepgram voice integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@deepgram/sdk": "^3.9.0",
19
19
  "zod": "^3.24.1",
20
- "@mastra/core": "^0.4.2-alpha.0"
20
+ "@mastra/core": "^0.4.2-alpha.1"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@microsoft/api-extractor": "^7.49.2",
package/src/index.ts CHANGED
@@ -47,8 +47,7 @@ export class DeepgramVoice extends MastraVoice {
47
47
 
48
48
  const speechApiKey = speechModel?.apiKey || defaultApiKey;
49
49
  const listeningApiKey = listeningModel?.apiKey || defaultApiKey;
50
- console.log('speechApiKey', speechApiKey);
51
- console.log('listeningApiKey', listeningApiKey);
50
+
52
51
  if (!speechApiKey && !listeningApiKey) {
53
52
  throw new Error('At least one of DEEPGRAM_API_KEY, speechModel.apiKey, or listeningModel.apiKey must be set');
54
53
  }