You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@ai-sdk/provider-utils

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/provider-utils - npm Package Compare versions

Comparing version

to
2.1.2

8

CHANGELOG.md
# @ai-sdk/provider-utils
## 2.1.2
### Patch Changes
- ed012d2: feat (provider): add metadata extraction mechanism to openai-compatible providers
- Updated dependencies [3a58a2e]
- @ai-sdk/provider@1.0.6
## 2.1.1

@@ -4,0 +12,0 @@

3

dist/index.d.ts

@@ -186,2 +186,3 @@ import { JSONValue, JSONParseError, TypeValidationError, APICallError } from '@ai-sdk/provider';

value: RETURN_TYPE;
rawValue?: unknown;
responseHeaders?: Record<string, string>;

@@ -208,2 +209,3 @@ }>;

value: T;
rawValue?: unknown;
responseHeaders?: Record<string, string>;

@@ -224,2 +226,3 @@ }>;

value: T;
rawValue?: unknown;
responseHeaders?: Record<string, string>;

@@ -226,0 +229,0 @@ }>;

3

dist/index.js

@@ -604,3 +604,4 @@ "use strict";

responseHeaders,
value: parsedResult.value
value: parsedResult.value,
rawValue: parsedResult.rawValue
};

@@ -607,0 +608,0 @@ };

{
"name": "@ai-sdk/provider-utils",
"version": "2.1.1",
"version": "2.1.2",
"license": "Apache-2.0",

@@ -29,3 +29,3 @@ "sideEffects": false,

"dependencies": {
"@ai-sdk/provider": "1.0.5",
"@ai-sdk/provider": "1.0.6",
"eventsource-parser": "^3.0.0",

@@ -32,0 +32,0 @@ "nanoid": "^3.3.8",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet