🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@ai-sdk/google

Package Overview
Dependencies
Maintainers
3
Versions
526
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/google - npm Package Compare versions

Comparing version
4.0.0-beta.82
to
4.0.0-beta.83
+1
-1
package.json
{
"name": "@ai-sdk/google",
"version": "4.0.0-beta.82",
"version": "4.0.0-beta.83",
"type": "module",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -462,3 +462,2 @@ import type {

const mergedHeaders = combineHeaders(
INTERACTIONS_API_REVISION_HEADER,
this.config.headers ? await resolve(this.config.headers) : undefined,

@@ -592,3 +591,2 @@ options.headers,

const mergedHeaders = combineHeaders(
INTERACTIONS_API_REVISION_HEADER,
this.config.headers ? await resolve(this.config.headers) : undefined,

@@ -762,11 +760,2 @@ options.headers,

/*
* Pins the Interactions API revision the SDK targets. Sent on every request
* the model issues so model-id calls, agent calls, polling, SSE reconnects,
* and cancellation all hit the same schema.
*/
const INTERACTIONS_API_REVISION_HEADER: Record<string, string> = {
'Api-Revision': '2026-05-20',
};
function pruneUndefined<T extends Record<string, unknown>>(obj: T): T {

@@ -773,0 +762,0 @@ const result: Record<string, unknown> = {};

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display