@ai-sdk/provider 1.0.9 → 1.0.10

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,11 @@
1
1
  # @ai-sdk/provider
2
2
 
3
+ ## 1.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - e1d3d42: feat (ai): expose raw response body in generateText and generateObject
8
+
3
9
  ## 1.0.9
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1068,6 +1068,10 @@ An optional signature for verifying that the reasoning originated from the model
1068
1068
  Response headers.
1069
1069
  */
1070
1070
  headers?: Record<string, string>;
1071
+ /**
1072
+ Response body.
1073
+ */
1074
+ body?: unknown;
1071
1075
  };
1072
1076
  /**
1073
1077
  Optional request information for telemetry and debugging purposes.
package/dist/index.d.ts CHANGED
@@ -1068,6 +1068,10 @@ An optional signature for verifying that the reasoning originated from the model
1068
1068
  Response headers.
1069
1069
  */
1070
1070
  headers?: Record<string, string>;
1071
+ /**
1072
+ Response body.
1073
+ */
1074
+ body?: unknown;
1071
1075
  };
1072
1076
  /**
1073
1077
  Optional request information for telemetry and debugging purposes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",