@ai-sdk/devtools 1.0.23 → 1.0.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/devtools",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "bin"
25
25
  ],
26
26
  "dependencies": {
27
- "@ai-sdk/provider": "4.0.18",
27
+ "@ai-sdk/provider": "4.0.19",
28
28
  "@hono/node-server": "^1.19.15",
29
29
  "hono": "^4.12.34"
30
30
  },
@@ -37,8 +37,9 @@
37
37
  "@types/node": "22.19.19",
38
38
  "@types/react": "^18.3.28",
39
39
  "@types/react-dom": "^18.3.7",
40
+ "@vercel/ai-tsconfig": "0.0.0",
40
41
  "@vitejs/plugin-react": "^4.7.0",
41
- "ai": "7.0.112",
42
+ "ai": "7.0.119",
42
43
  "class-variance-authority": "^0.7.1",
43
44
  "clsx": "^2.1.1",
44
45
  "concurrently": "^9.2.1",
@@ -153,8 +153,6 @@ function detectInlineMediaType({
153
153
  if (hasBytes(bytes, [0x1a, 0x45, 0xdf, 0xa3])) return 'video/webm';
154
154
  if (hasBytes(bytes, [0x66, 0x74, 0x79, 0x70], 4)) return 'video/mp4';
155
155
  }
156
-
157
- return undefined;
158
156
  }
159
157
 
160
158
  function inferMediaTypeFromUrl(source: unknown): string | undefined {
@@ -383,8 +381,6 @@ function parseMediaPart(
383
381
  ...getSafeSource({ source: value.url, mediaType, maxInlineBytes }),
384
382
  };
385
383
  }
386
-
387
- return undefined;
388
384
  }
389
385
 
390
386
  export function findMediaPreviews(