@ai-sdk/provider-utils 2.1.11 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/test/dist/index.d.mts +9 -1
- package/test/dist/index.d.ts +9 -1
- package/test/dist/index.js +14 -0
- package/test/dist/index.js.map +1 -1
- package/test/dist/index.mjs +14 -0
- package/test/dist/index.mjs.map +1 -1
    
        package/test/dist/index.mjs
    CHANGED
    
    | @@ -18797,6 +18797,20 @@ function createTestServer(routes) { | |
| 18797 18797 | 
             
                            }
         | 
| 18798 18798 | 
             
                          }
         | 
| 18799 18799 | 
             
                        );
         | 
| 18800 | 
            +
                      case "readable-stream": {
         | 
| 18801 | 
            +
                        return new HttpResponse(
         | 
| 18802 | 
            +
                          response.stream.pipeThrough(new TextEncoderStream()),
         | 
| 18803 | 
            +
                          {
         | 
| 18804 | 
            +
                            status: 200,
         | 
| 18805 | 
            +
                            headers: {
         | 
| 18806 | 
            +
                              "Content-Type": "text/event-stream",
         | 
| 18807 | 
            +
                              "Cache-Control": "no-cache",
         | 
| 18808 | 
            +
                              Connection: "keep-alive",
         | 
| 18809 | 
            +
                              ...response.headers
         | 
| 18810 | 
            +
                            }
         | 
| 18811 | 
            +
                          }
         | 
| 18812 | 
            +
                        );
         | 
| 18813 | 
            +
                      }
         | 
| 18800 18814 | 
             
                      case "binary": {
         | 
| 18801 18815 | 
             
                        return HttpResponse.arrayBuffer(response.body, {
         | 
| 18802 18816 | 
             
                          status: 200,
         |