New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@11labs/react

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@11labs/react - npm Package Compare versions

Comparing version 0.0.3-beta.1 to 0.0.3-beta.2

4

package.json
{
"name": "@11labs/react",
"version": "0.0.3-beta.1",
"version": "0.0.3-beta.2",
"description": "ElevenLabs React Library",

@@ -22,3 +22,3 @@ "main": "./dist/lib.umd.js",

"dependencies": {
"@11labs/client": "0.0.3-beta.1"
"@11labs/client": "0.0.3-beta.2"
},

@@ -25,0 +25,0 @@ "peerDependencies": {

@@ -54,2 +54,3 @@ # ElevenLabs React Library

* **clientTools** - object definition for client tools that can be invoked by agent. [See below](#client-tools) for details.
* **overrides** - object definition conversations settings overrides. [See below](#conversation-overrides) for details.
* **onConnect** - handler called when the conversation websocket connection is established.

@@ -81,3 +82,29 @@ * **onDisconnect** - handler called when the conversation websocket connection is ended.

#### Conversation overrides
You may choose to override various settings of the conversation and set them dynamically based other user interactions.
We support overriding various settings.
These settings are optional and can be used to customize the conversation experience.
The following settings are available:
```ts
const conversation = useConversation({
overrides: {
customLlmExtraBody: {
customField: "custom value",
},
agent: {
prompt: {
prompt: "My custom prompt",
},
firstMessage: "My custom first message",
language: "en",
},
tts: {
voiceId: "custom voice id"
},
},
});
```
#### Methods

@@ -84,0 +111,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc