ai 6.0.0-beta.52 → 6.0.0-beta.54

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/dist/index.mjs CHANGED
@@ -775,7 +775,7 @@ import {
775
775
  } from "@ai-sdk/provider-utils";
776
776
 
777
777
  // src/version.ts
778
- var VERSION = true ? "6.0.0-beta.52" : "0.0.0-test";
778
+ var VERSION = true ? "6.0.0-beta.54" : "0.0.0-test";
779
779
 
780
780
  // src/util/download/download.ts
781
781
  var download = async ({ url }) => {
@@ -3757,6 +3757,9 @@ async function parsePartialJson(jsonText) {
3757
3757
  }
3758
3758
 
3759
3759
  // src/ui/ui-messages.ts
3760
+ function isDataUIPart(part) {
3761
+ return part.type.startsWith("data-");
3762
+ }
3760
3763
  function isToolUIPart(part) {
3761
3764
  return part.type.startsWith("tool-");
3762
3765
  }
@@ -11169,6 +11172,7 @@ export {
11169
11172
  getToolName,
11170
11173
  getToolOrDynamicToolName,
11171
11174
  hasToolCall,
11175
+ isDataUIPart,
11172
11176
  isDeepEqualData,
11173
11177
  isToolOrDynamicToolUIPart,
11174
11178
  isToolUIPart,