@ai-sdk/gateway 2.0.158 → 2.0.159

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/gateway
2
2
 
3
+ ## 2.0.159
4
+
5
+ ### Patch Changes
6
+
7
+ - 3569298: feat(provider/gateway): accept structured-output in the has provider option
8
+
3
9
  ## 2.0.158
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -531,7 +531,7 @@ declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
531
531
  providerTimeouts?: {
532
532
  byok?: Record<string, number> | undefined;
533
533
  } | undefined;
534
- has?: ("implicit-caching" | "reasoning" | "tool-use" | "vision" | `quantization:${string}` | `!quantization:${string}`)[] | undefined;
534
+ has?: ("implicit-caching" | "reasoning" | "structured-output" | "tool-use" | "vision" | `quantization:${string}` | `!quantization:${string}`)[] | undefined;
535
535
  }>;
536
536
  type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;
537
537
 
package/dist/index.d.ts CHANGED
@@ -531,7 +531,7 @@ declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
531
531
  providerTimeouts?: {
532
532
  byok?: Record<string, number> | undefined;
533
533
  } | undefined;
534
- has?: ("implicit-caching" | "reasoning" | "tool-use" | "vision" | `quantization:${string}` | `!quantization:${string}`)[] | undefined;
534
+ has?: ("implicit-caching" | "reasoning" | "structured-output" | "tool-use" | "vision" | `quantization:${string}` | `!quantization:${string}`)[] | undefined;
535
535
  }>;
536
536
  type GatewayProviderOptions = InferValidator<typeof gatewayProviderOptions>;
537
537
 
package/dist/index.js CHANGED
@@ -1349,7 +1349,7 @@ async function getVercelRequestId() {
1349
1349
  }
1350
1350
 
1351
1351
  // src/version.ts
1352
- var VERSION = true ? "2.0.158" : "0.0.0-test";
1352
+ var VERSION = true ? "2.0.159" : "0.0.0-test";
1353
1353
 
1354
1354
  // src/gateway-provider.ts
1355
1355
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/dist/index.mjs CHANGED
@@ -1381,7 +1381,7 @@ async function getVercelRequestId() {
1381
1381
  }
1382
1382
 
1383
1383
  // src/version.ts
1384
- var VERSION = true ? "2.0.158" : "0.0.0-test";
1384
+ var VERSION = true ? "2.0.159" : "0.0.0-test";
1385
1385
 
1386
1386
  // src/gateway-provider.ts
1387
1387
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ai-sdk/gateway",
3
3
  "private": false,
4
- "version": "2.0.158",
4
+ "version": "2.0.159",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",