@ai-sdk/gateway 2.0.0-beta.22 → 2.0.0-beta.23

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.0-beta.23
4
+
5
+ ### Patch Changes
6
+
7
+ - acc14d8: feat (provider/gateway): add 'only' to provider options
8
+
3
9
  ## 2.0.0-beta.22
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -114,6 +114,7 @@ declare function createGatewayProvider(options?: GatewayProviderSettings): Gatew
114
114
  declare const gateway: GatewayProvider;
115
115
 
116
116
  declare const gatewayProviderOptions: z.ZodObject<{
117
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
117
118
  order: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
119
  }, z.core.$strip>;
119
120
  type GatewayProviderOptions = z.infer<typeof gatewayProviderOptions>;
package/dist/index.d.ts CHANGED
@@ -114,6 +114,7 @@ declare function createGatewayProvider(options?: GatewayProviderSettings): Gatew
114
114
  declare const gateway: GatewayProvider;
115
115
 
116
116
  declare const gatewayProviderOptions: z.ZodObject<{
117
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
117
118
  order: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
119
  }, z.core.$strip>;
119
120
  type GatewayProviderOptions = z.infer<typeof gatewayProviderOptions>;
package/dist/index.js CHANGED
@@ -699,7 +699,7 @@ async function getVercelRequestId() {
699
699
  var import_provider_utils5 = require("@ai-sdk/provider-utils");
700
700
 
701
701
  // src/version.ts
702
- var VERSION = true ? "2.0.0-beta.22" : "0.0.0-test";
702
+ var VERSION = true ? "2.0.0-beta.23" : "0.0.0-test";
703
703
 
704
704
  // src/gateway-provider.ts
705
705
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/dist/index.mjs CHANGED
@@ -675,7 +675,7 @@ async function getVercelRequestId() {
675
675
  import { withUserAgentSuffix } from "@ai-sdk/provider-utils";
676
676
 
677
677
  // src/version.ts
678
- var VERSION = true ? "2.0.0-beta.22" : "0.0.0-test";
678
+ var VERSION = true ? "2.0.0-beta.23" : "0.0.0-test";
679
679
 
680
680
  // src/gateway-provider.ts
681
681
  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.0-beta.22",
4
+ "version": "2.0.0-beta.23",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",