@deepgram/sdk 3.12.0 → 3.12.1
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/README.md
CHANGED
|
@@ -395,7 +395,7 @@ import { AgentEvents } from "@deepgram/sdk";
|
|
|
395
395
|
const deepgram = createClient(DEEPGRAM_API_KEY);
|
|
396
396
|
|
|
397
397
|
// Create an agent connection
|
|
398
|
-
const agent = deepgram.agent
|
|
398
|
+
const agent = deepgram.agent();
|
|
399
399
|
|
|
400
400
|
// Set up event handlers
|
|
401
401
|
agent.on(AgentEvents.Open, () => {
|
|
@@ -486,7 +486,7 @@ For a complete implementation, you would need to:
|
|
|
486
486
|
### Rest
|
|
487
487
|
|
|
488
488
|
```js
|
|
489
|
-
const { result } = await deepgram.speak.request({ text }, { model: "aura-
|
|
489
|
+
const { result } = await deepgram.speak.request({ text }, { model: "aura-2-thalia-en" });
|
|
490
490
|
```
|
|
491
491
|
|
|
492
492
|
### Websocket
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "3.12.
|
|
1
|
+
export declare const version = "3.12.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/main/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "3.12.
|
|
1
|
+
export declare const version = "3.12.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "3.12.
|
|
1
|
+
export const version = "3.12.1";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
package/src/lib/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "3.12.
|
|
1
|
+
export const version = "3.12.1";
|