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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # ai
2
2
 
3
+ ## 7.0.97
4
+
5
+ ### Patch Changes
6
+
7
+ - ef3bac4: Observe video webhook receiver rejections before generation starts to prevent unhandled rejections during or after a failed start. Preserve start error precedence and assimilate custom receivers only once.
8
+ - 9942196: feat: add batch cancel and list APIs
9
+ - Updated dependencies [9942196]
10
+ - @ai-sdk/provider@4.0.13
11
+ - @ai-sdk/gateway@4.0.78
12
+ - @ai-sdk/provider-utils@5.0.39
13
+
3
14
  ## 7.0.96
4
15
 
5
16
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1178,7 +1178,7 @@ import {
1178
1178
  } from "@ai-sdk/provider-utils";
1179
1179
 
1180
1180
  // src/version.ts
1181
- var VERSION = true ? "7.0.96" : "0.0.0-test";
1181
+ var VERSION = true ? "7.0.97" : "0.0.0-test";
1182
1182
 
1183
1183
  // src/util/download/download.ts
1184
1184
  var download = async ({
@@ -15778,8 +15778,10 @@ async function executeStartStatusFlow({
15778
15778
  const result = await model.handleWebhookOption({
15779
15779
  webhook: webhookFactory
15780
15780
  });
15781
+ webhookReceived = Promise.resolve(result.received);
15782
+ webhookReceived.catch(() => {
15783
+ });
15781
15784
  webhookUrl = result.webhookUrl;
15782
- webhookReceived = result.received;
15783
15785
  } else {
15784
15786
  earlyWarnings.push({
15785
15787
  type: "unsupported",