Skip to content

Commit e6f95c1

Browse files
authored
update live streaming redaction types to match API
1 parent 90ad713 commit e6f95c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types/liveTranscriptionOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export type LiveTranscriptionOptions = {
6161
* `ssn` (*beta*): Redacts social security numbers
6262
* @see https://developers.deepgram.com/api-reference/speech-recognition-api#operation/transcribeAudio/properties/redact
6363
*/
64-
redact?: Array<string>;
64+
redact?: string | boolean;
6565

6666
/**
6767
* Indicates whether to recognize speaker changes. When passed in, each word

0 commit comments

Comments
 (0)