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/CHANGELOG.md +14 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/docs/02-foundations/02-providers-and-models.mdx +0 -1
- package/docs/03-ai-sdk-core/35-image-generation.mdx +2 -0
- package/docs/03-ai-sdk-core/37-speech.mdx +0 -17
- package/package.json +2 -2
- package/src/util/data-url.ts +1 -1
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.
|
|
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
|
|
11607
|
+
return globalThis.atob(base64Content);
|
|
11608
11608
|
} catch (error) {
|
|
11609
11609
|
throw new Error(`Error decoding data URL`);
|
|
11610
11610
|
}
|