@ai-sdk/provider-utils 4.0.0-beta.18 → 4.0.0-beta.20
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 +14 -0
 - package/dist/index.d.mts +193 -11
 - package/dist/index.d.ts +193 -11
 - package/dist/index.js +8 -1
 - package/dist/index.js.map +1 -1
 - package/dist/index.mjs +7 -1
 - package/dist/index.mjs.map +1 -1
 - package/package.json +2 -2
 
    
        package/dist/index.mjs
    CHANGED
    
    | 
         @@ -194,7 +194,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) { 
     | 
|
| 
       194 
194 
     | 
    
         
             
            }
         
     | 
| 
       195 
195 
     | 
    
         | 
| 
       196 
196 
     | 
    
         
             
            // src/version.ts
         
     | 
| 
       197 
     | 
    
         
            -
            var VERSION = true ? "4.0.0-beta. 
     | 
| 
      
 197 
     | 
    
         
            +
            var VERSION = true ? "4.0.0-beta.20" : "0.0.0-test";
         
     | 
| 
       198 
198 
     | 
    
         | 
| 
       199 
199 
     | 
    
         
             
            // src/get-from-api.ts
         
     | 
| 
       200 
200 
     | 
    
         
             
            var getOriginalFetch = () => globalThis.fetch;
         
     | 
| 
         @@ -305,6 +305,11 @@ function injectJsonInstructionIntoMessages({ 
     | 
|
| 
       305 
305 
     | 
    
         
             
              ];
         
     | 
| 
       306 
306 
     | 
    
         
             
            }
         
     | 
| 
       307 
307 
     | 
    
         | 
| 
      
 308 
     | 
    
         
            +
            // src/is-non-nullable.ts
         
     | 
| 
      
 309 
     | 
    
         
            +
            function isNonNullable(value) {
         
     | 
| 
      
 310 
     | 
    
         
            +
              return value != null;
         
     | 
| 
      
 311 
     | 
    
         
            +
            }
         
     | 
| 
      
 312 
     | 
    
         
            +
             
     | 
| 
       308 
313 
     | 
    
         
             
            // src/is-url-supported.ts
         
     | 
| 
       309 
314 
     | 
    
         
             
            function isUrlSupported({
         
     | 
| 
       310 
315 
     | 
    
         
             
              mediaType,
         
     | 
| 
         @@ -2378,6 +2383,7 @@ export { 
     | 
|
| 
       2378 
2383 
     | 
    
         
             
              getRuntimeEnvironmentUserAgent,
         
     | 
| 
       2379 
2384 
     | 
    
         
             
              injectJsonInstructionIntoMessages,
         
     | 
| 
       2380 
2385 
     | 
    
         
             
              isAbortError,
         
     | 
| 
      
 2386 
     | 
    
         
            +
              isNonNullable,
         
     | 
| 
       2381 
2387 
     | 
    
         
             
              isParsableJson,
         
     | 
| 
       2382 
2388 
     | 
    
         
             
              isUrlSupported,
         
     | 
| 
       2383 
2389 
     | 
    
         
             
              jsonSchema,
         
     |