Skip to content

Commit

Permalink
Fix audio event ended type (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnemitz authored Nov 4, 2024
1 parent 9e79ee7 commit b539c62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/real-time-client/models/audio-event-ended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface AudioEventEnded {
* @type {AudioEventEndedEvent}
* @memberof AudioEventEnded
*/
event?: AudioEventEndedEvent;
event: AudioEventEndedEvent;
}

export const AudioEventEndedMessageEnum = {
Expand Down
2 changes: 1 addition & 1 deletion packages/real-time-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@speechmatics/real-time-client",
"version": "5.0.3",
"version": "5.0.4",
"description": "Client for the Speechmatics real-time API",
"main": "dist/index.js",
"browser": "dist/index.browser.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/real-time-client/schema/realtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@ components:
- end_time
required:
- message
- type
- end_time
- event
Info:
summary: Additional information sent from the server to the client.
payload:
Expand Down
3 changes: 1 addition & 2 deletions packages/real-time-client/scripts/openapi-transformed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ components:
- end_time
required:
- message
- type
- end_time
- event
Info:
type: object
properties:
Expand Down

0 comments on commit b539c62

Please sign in to comment.