Fixed
createTask() and convert() refused every conversion type outside the convert. namespace (for example voice.ai_text_to_mp3) with "Invalid conversion type format" before the request was sent. Any namespace.name type now goes to the API, which decides whether it exists.
Tests
- Validation accepts
voice., parse., convert.ai.custom_run and custom converter ids, and still rejects types without a namespace and malformed ones.
tasks.create sends a voice. type to the API.
Install
npm install conversiontools@2.3.1