ai 7.0.96 → 7.0.97

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.
@@ -91,7 +91,7 @@ import {
91
91
  } from "@ai-sdk/provider-utils";
92
92
 
93
93
  // src/version.ts
94
- var VERSION = true ? "7.0.96" : "0.0.0-test";
94
+ var VERSION = true ? "7.0.97" : "0.0.0-test";
95
95
 
96
96
  // src/util/download/download.ts
97
97
  var download = async ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai",
3
- "version": "7.0.96",
3
+ "version": "7.0.97",
4
4
  "type": "module",
5
5
  "description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.",
6
6
  "license": "Apache-2.0",
@@ -42,20 +42,20 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@ai-sdk/gateway": "4.0.77",
46
- "@ai-sdk/provider": "4.0.12",
47
- "@ai-sdk/provider-utils": "5.0.38"
45
+ "@ai-sdk/gateway": "4.0.78",
46
+ "@ai-sdk/provider": "4.0.13",
47
+ "@ai-sdk/provider-utils": "5.0.39"
48
48
  },
49
49
  "devDependencies": {
50
- "@ai-sdk/amazon-bedrock": "5.0.80",
51
- "@ai-sdk/deepseek": "3.0.41",
52
- "@ai-sdk/google": "4.0.66",
53
- "@ai-sdk/groq": "4.0.39",
54
- "@ai-sdk/huggingface": "2.0.46",
55
- "@ai-sdk/moonshotai": "3.0.47",
56
- "@ai-sdk/openai": "4.0.64",
50
+ "@ai-sdk/amazon-bedrock": "5.0.81",
51
+ "@ai-sdk/deepseek": "3.0.42",
52
+ "@ai-sdk/google": "4.0.67",
53
+ "@ai-sdk/groq": "4.0.40",
54
+ "@ai-sdk/huggingface": "2.0.47",
55
+ "@ai-sdk/moonshotai": "3.0.48",
56
+ "@ai-sdk/openai": "4.0.65",
57
57
  "@ai-sdk/test-server": "2.0.1",
58
- "@ai-sdk/xai": "4.0.56",
58
+ "@ai-sdk/xai": "4.0.57",
59
59
  "@edge-runtime/vm": "^5.0.0",
60
60
  "@smithy/eventstream-codec": "^4.3.3",
61
61
  "@smithy/util-utf8": "^4.3.3",
@@ -489,7 +489,7 @@ async function executeStartStatusFlow({
489
489
  const earlyWarnings: Experimental_VideoModelV4Result['warnings'] = [];
490
490
  let webhookUrl: string | undefined;
491
491
  let webhookReceived:
492
- | PromiseLike<Experimental_VideoModelV4OperationWebhook>
492
+ | Promise<Experimental_VideoModelV4OperationWebhook>
493
493
  | undefined;
494
494
 
495
495
  if (webhookFactory != null) {
@@ -497,8 +497,10 @@ async function executeStartStatusFlow({
497
497
  const result = await model.handleWebhookOption({
498
498
  webhook: webhookFactory,
499
499
  });
500
+ webhookReceived = Promise.resolve(result.received);
501
+ // Observe early failures without changing the error awaited after doStart.
502
+ webhookReceived.catch(() => {});
500
503
  webhookUrl = result.webhookUrl;
501
- webhookReceived = result.received;
502
504
  } else {
503
505
  earlyWarnings.push({
504
506
  type: 'unsupported',