@ai-sdk/provider-utils 5.0.0-canary.36 → 5.0.0-canary.37

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-utils
2
2
 
3
+ ## 5.0.0-canary.37
4
+
5
+ ### Patch Changes
6
+
7
+ - d848405: feat: add optional `abortSignal` parameters to sandbox command execution
8
+
3
9
  ## 5.0.0-canary.36
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1304,6 +1304,10 @@ type Sandbox = {
1304
1304
  * Working directory to execute the command in.
1305
1305
  */
1306
1306
  workingDirectory?: string;
1307
+ /**
1308
+ * Signal that can be used to abort the command.
1309
+ */
1310
+ abortSignal?: AbortSignal;
1307
1311
  }) => PromiseLike<{
1308
1312
  /**
1309
1313
  * Exit code returned by the command.
package/dist/index.js CHANGED
@@ -862,7 +862,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
862
862
  }
863
863
 
864
864
  // src/version.ts
865
- var VERSION = true ? "5.0.0-canary.36" : "0.0.0-test";
865
+ var VERSION = true ? "5.0.0-canary.37" : "0.0.0-test";
866
866
 
867
867
  // src/get-from-api.ts
868
868
  var getOriginalFetch = () => globalThis.fetch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider-utils",
3
- "version": "5.0.0-canary.36",
3
+ "version": "5.0.0-canary.37",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -22,6 +22,11 @@ export type Sandbox = {
22
22
  * Working directory to execute the command in.
23
23
  */
24
24
  workingDirectory?: string;
25
+
26
+ /**
27
+ * Signal that can be used to abort the command.
28
+ */
29
+ abortSignal?: AbortSignal;
25
30
  }) => PromiseLike<{
26
31
  /**
27
32
  * Exit code returned by the command.