2.0.0-beta.23Pre-release
Fixed 1
- Fix readFile writing the API error JSON into the destination when the file response is not an octet-stream by rejecting any non-application/octet-stream response instead of piping it verbatim to the caller's stream
From Vercel Sandbox
Patch Changes
- Fix
readFilewriting the API error JSON into the destination when the file response is not an octet-stream. The SDK now rejects any non-application/octet-streamresponse (including 2xx with a JSON error body) instead of piping it verbatim to the caller's stream. (#202)