Skip to content

Commit

Permalink
bump to 0.1.12 (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinishi committed Aug 29, 2024
1 parent 3305128 commit 696087b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions examples/next-app/components/ExampleComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const ExampleComponent = () => {
sendResumeAssistantMessage,
sendPauseAssistantMessage,
chatMetadata,
playerQueueLength,
} = useVoice();

const [textValue, setTextValue] = useState('');
Expand Down Expand Up @@ -104,6 +105,12 @@ export const ExampleComponent = () => {
</div>
<div>{isPlaying ? 'true' : 'false'}</div>
</div>
<div>
<div className={'text-sm font-medium uppercase'}>
Player queue length
</div>
<div>{playerQueueLength}</div>
</div>
<div>
<div className={'text-sm font-medium uppercase'}>
Ready state
Expand Down
2 changes: 1 addition & 1 deletion packages/embed-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@humeai/voice-embed-react",
"version": "0.1.12-beta.6",
"version": "0.1.12",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/embed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@humeai/voice-embed",
"version": "0.1.12-beta.6",
"version": "0.1.12",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
1 change: 1 addition & 0 deletions packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const ExampleComponent = () => {
| `callDurationTimestamp` | `string` or `null` | The length of a call. This value persists after the conversation has ended. |
| `toolStatusStore` | `Record<string, { call?: ToolCall; resolved?: ToolResponse \| ToolError }>` | A map of tool call IDs to their associated tool messages. |
| `chatMetadata` | `ChatMetadataMessage` or `null` | Metadata about the current chat, including chat ID, chat group ID, and request ID. |
| `playerQueueLength` | `number` | The number of assistant audio clips that are queued up, including the clip that is currently playing. |

## Support

Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@humeai/voice-react",
"version": "0.1.12-beta.6",
"version": "0.1.12",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down

0 comments on commit 696087b

Please sign in to comment.