ai 5.0.75 → 5.0.76
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 +6 -0
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -696,7 +696,7 @@ import {
|
|
|
696
696
|
} from "@ai-sdk/provider-utils";
|
|
697
697
|
|
|
698
698
|
// src/version.ts
|
|
699
|
-
var VERSION = true ? "5.0.
|
|
699
|
+
var VERSION = true ? "5.0.76" : "0.0.0-test";
|
|
700
700
|
|
|
701
701
|
// src/util/download/download.ts
|
|
702
702
|
var download = async ({ url }) => {
|
|
@@ -3398,6 +3398,9 @@ async function parsePartialJson(jsonText) {
|
|
|
3398
3398
|
}
|
|
3399
3399
|
|
|
3400
3400
|
// src/ui/ui-messages.ts
|
|
3401
|
+
function isDataUIPart(part) {
|
|
3402
|
+
return part.type.startsWith("data-");
|
|
3403
|
+
}
|
|
3401
3404
|
function isToolUIPart(part) {
|
|
3402
3405
|
return part.type.startsWith("tool-");
|
|
3403
3406
|
}
|
|
@@ -10604,6 +10607,7 @@ export {
|
|
|
10604
10607
|
getToolName,
|
|
10605
10608
|
getToolOrDynamicToolName,
|
|
10606
10609
|
hasToolCall,
|
|
10610
|
+
isDataUIPart,
|
|
10607
10611
|
isDeepEqualData,
|
|
10608
10612
|
isToolOrDynamicToolUIPart,
|
|
10609
10613
|
isToolUIPart,
|