deepgram / deepgram-js-sdk

Official JavaScript SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
127 stars 45 forks source link

fix(types): nested arrays in LiveTranscriptionEvent #183

Closed ftr-lwilson closed 8 months ago

ftr-lwilson commented 8 months ago

The LiveTranscriptionEvent type specifies that the alternatives and words nested fields are tuples of length 1, when they should be variable length arrays.

image

lukeocodes commented 8 months ago

Oh, this is a great catch! I'll have a scan through today, there could be more instances of this