ProducerScore type is missing encodingIdx field

The docs say that ProducerScore has a required field encodingIdx, but the type in Producer.ts does not contain the field. Should the docs or the type be updated?