ai 6.0.277 → 6.0.279

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
@@ -1224,7 +1224,7 @@ import {
1224
1224
  } from "@ai-sdk/provider-utils";
1225
1225
 
1226
1226
  // src/version.ts
1227
- var VERSION = true ? "6.0.277" : "0.0.0-test";
1227
+ var VERSION = true ? "6.0.279" : "0.0.0-test";
1228
1228
 
1229
1229
  // src/util/download/download.ts
1230
1230
  var download = async ({
@@ -11604,7 +11604,7 @@ function getTextFromDataUrl(dataUrl) {
11604
11604
  throw new Error("Invalid data URL format");
11605
11605
  }
11606
11606
  try {
11607
- return window.atob(base64Content);
11607
+ return globalThis.atob(base64Content);
11608
11608
  } catch (error) {
11609
11609
  throw new Error(`Error decoding data URL`);
11610
11610
  }