@ai-sdk/google
Advanced tools
+6
-0
| # @ai-sdk/google | ||
| ## 3.0.33 | ||
| ### Patch Changes | ||
| - 1ece97a: feat(provider/google): add support for new Google image model aspect ratios and sizes | ||
| ## 3.0.32 | ||
@@ -4,0 +10,0 @@ |
+2
-2
@@ -33,4 +33,4 @@ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils'; | ||
| imageConfig?: { | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | undefined; | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | "1:8" | "8:1" | "1:4" | "4:1" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | "512" | undefined; | ||
| } | undefined; | ||
@@ -37,0 +37,0 @@ retrievalConfig?: { |
+2
-2
@@ -33,4 +33,4 @@ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils'; | ||
| imageConfig?: { | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | undefined; | ||
| aspectRatio?: "1:1" | "2:3" | "3:2" | "3:4" | "4:3" | "4:5" | "5:4" | "9:16" | "16:9" | "21:9" | "1:8" | "8:1" | "1:4" | "4:1" | undefined; | ||
| imageSize?: "1K" | "2K" | "4K" | "512" | undefined; | ||
| } | undefined; | ||
@@ -37,0 +37,0 @@ retrievalConfig?: { |
@@ -483,5 +483,9 @@ "use strict"; | ||
| "16:9", | ||
| "21:9" | ||
| "21:9", | ||
| "1:8", | ||
| "8:1", | ||
| "1:4", | ||
| "4:1" | ||
| ]).optional(), | ||
| imageSize: import_v42.z.enum(["1K", "2K", "4K"]).optional() | ||
| imageSize: import_v42.z.enum(["1K", "2K", "4K", "512"]).optional() | ||
| }).optional(), | ||
@@ -488,0 +492,0 @@ /** |
@@ -470,5 +470,9 @@ // src/google-generative-ai-language-model.ts | ||
| "16:9", | ||
| "21:9" | ||
| "21:9", | ||
| "1:8", | ||
| "8:1", | ||
| "1:4", | ||
| "4:1" | ||
| ]).optional(), | ||
| imageSize: z2.enum(["1K", "2K", "4K"]).optional() | ||
| imageSize: z2.enum(["1K", "2K", "4K", "512"]).optional() | ||
| }).optional(), | ||
@@ -475,0 +479,0 @@ /** |
+3
-3
| { | ||
| "name": "@ai-sdk/google", | ||
| "version": "3.0.32", | ||
| "version": "3.0.33", | ||
| "license": "Apache-2.0", | ||
@@ -39,4 +39,4 @@ "sideEffects": false, | ||
| "dependencies": { | ||
| "@ai-sdk/provider": "3.0.8", | ||
| "@ai-sdk/provider-utils": "4.0.15" | ||
| "@ai-sdk/provider-utils": "4.0.15", | ||
| "@ai-sdk/provider": "3.0.8" | ||
| }, | ||
@@ -43,0 +43,0 @@ "devDependencies": { |
@@ -184,5 +184,9 @@ import { InferSchema, lazySchema, zodSchema } from '@ai-sdk/provider-utils'; | ||
| '21:9', | ||
| '1:8', | ||
| '8:1', | ||
| '1:4', | ||
| '4:1', | ||
| ]) | ||
| .optional(), | ||
| imageSize: z.enum(['1K', '2K', '4K']).optional(), | ||
| imageSize: z.enum(['1K', '2K', '4K', '512']).optional(), | ||
| }) | ||
@@ -189,0 +193,0 @@ .optional(), |
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1067545
0.11%11805
0.17%