@mastra/voice-sarvam 0.1.4 → 0.1.5-alpha.2

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -47,7 +47,7 @@ export const agent = new Agent({
47
47
  const speakers = await voice.getSpeakers();
48
48
 
49
49
  // Generate speech and save to file
50
- const audio = await agent.speak("Hello, I'm your AI assistant!");
50
+ const audio = await agent.voice.speak("Hello, I'm your AI assistant!");
51
51
  const filePath = path.join(process.cwd(), 'agent.wav');
52
52
  const writer = createWriteStream(filePath);
53
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-sarvam",
3
- "version": "0.1.4",
3
+ "version": "0.1.5-alpha.2",
4
4
  "description": "Mastra Sarvam AI voice integration",
5
5
  "type": "module",
6
6
  "files": [
@@ -23,10 +23,10 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "zod": "^3.24.2",
26
- "@mastra/core": "^0.7.0"
26
+ "@mastra/core": "^0.8.0-alpha.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@microsoft/api-extractor": "^7.52.1",
29
+ "@microsoft/api-extractor": "^7.52.2",
30
30
  "@types/node": "^20.17.27",
31
31
  "eslint": "^9.23.0",
32
32
  "tsup": "^8.4.0",