3.53.15

(fix): Fix BinaryResponse.bytes type to use Promise<Uint8Array> instead of ReturnType<Response["bytes"]>. The previous type referenced Response.bytes(), which only exists in undici-types@7.x (@types/node@25.x). Consumers using @types/node@18/20/22 with skipLibCheck: false would get TS2339: Property 'bytes' does not exist on type 'Response'. The new type is equivalent and compatible with all Node.js versions.

3.53.5

(fix): Fix wire test generation for SSE streaming endpoints with error responses.

Error-case tests for SSE endpoints would generate for await iteration over the response, but the client throws typed errors for non-2xx status codes. Error-response tests now use rejects.toThrow() and mock the response with jsonBody instead of sseBody.