Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ai-sdk/google

Package Overview
Dependencies
Maintainers
2
Versions
68
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 0.0.37 to 0.0.38

2

./dist/index.js

@@ -172,3 +172,3 @@ "use strict";

this.specificationVersion = "v1";
this.defaultObjectGenerationMode = "tool";
this.defaultObjectGenerationMode = "json";
this.supportsImageUrls = false;

@@ -175,0 +175,0 @@ this.modelId = modelId;

import { LanguageModelV1 } from '@ai-sdk/provider';
import { FetchFunction } from '@ai-sdk/provider-utils';

@@ -35,7 +36,7 @@ type GoogleGenerativeAIModelId = 'models/gemini-1.5-flash-latest' | 'models/gemini-1.5-pro-latest' | 'models/gemini-pro' | 'models/gemini-pro-vision' | (string & {});

generateId: () => string;
fetch?: typeof fetch;
fetch?: FetchFunction;
};
declare class GoogleGenerativeAILanguageModel implements LanguageModelV1 {
readonly specificationVersion = "v1";
readonly defaultObjectGenerationMode = "tool";
readonly defaultObjectGenerationMode = "json";
readonly supportsImageUrls = false;

@@ -84,3 +85,3 @@ readonly modelId: GoogleGenerativeAIModelId;

*/
fetch?: typeof fetch;
fetch?: FetchFunction;
generateId?: () => string;

@@ -87,0 +88,0 @@ }

@@ -172,3 +172,3 @@ "use strict";

this.specificationVersion = "v1";
this.defaultObjectGenerationMode = "tool";
this.defaultObjectGenerationMode = "json";
this.supportsImageUrls = false;

@@ -175,0 +175,0 @@ this.modelId = modelId;

{
"name": "@ai-sdk/google",
"version": "0.0.37",
"version": "0.0.38",
"license": "Apache-2.0",

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

"@ai-sdk/provider": "0.0.19",
"@ai-sdk/provider-utils": "1.0.11"
"@ai-sdk/provider-utils": "1.0.12"
},

@@ -28,3 +28,3 @@ "devDependencies": {

"tsup": "^8",
"typescript": "5.1.3",
"typescript": "5.5.4",
"zod": "3.23.8",

@@ -31,0 +31,0 @@ "@vercel/ai-tsconfig": "0.0.0"

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc