@ai-sdk/google 3.0.27 → 3.0.29

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @ai-sdk/google
2
2
 
3
+ ## 3.0.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [4024a3a]
8
+ - @ai-sdk/provider-utils@4.0.15
9
+
10
+ ## 3.0.28
11
+
12
+ ### Patch Changes
13
+
14
+ - 5a307f5: feat(provider/google-vertex): allow using Gemini image models with `generateImage`
15
+
3
16
  ## 3.0.27
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(src_exports);
30
30
  var import_provider_utils16 = require("@ai-sdk/provider-utils");
31
31
 
32
32
  // src/version.ts
33
- var VERSION = true ? "3.0.27" : "0.0.0-test";
33
+ var VERSION = true ? "3.0.29" : "0.0.0-test";
34
34
 
35
35
  // src/google-generative-ai-embedding-model.ts
36
36
  var import_provider = require("@ai-sdk/provider");
@@ -1960,7 +1960,9 @@ var GoogleGenerativeAIImageModel = class {
1960
1960
  providerOptions: {
1961
1961
  google: {
1962
1962
  responseModalities: ["IMAGE"],
1963
- imageConfig: aspectRatio ? { aspectRatio } : void 0,
1963
+ imageConfig: aspectRatio ? {
1964
+ aspectRatio
1965
+ } : void 0,
1964
1966
  ...(_c = providerOptions == null ? void 0 : providerOptions.google) != null ? _c : {}
1965
1967
  }
1966
1968
  },