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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# ai
|
|
2
2
|
|
|
3
|
+
## 6.0.279
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6517262: fix(ai): decode text data URLs in Node.js
|
|
8
|
+
|
|
9
|
+
## 6.0.278
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [fc032e8]
|
|
14
|
+
- Updated dependencies [761dae9]
|
|
15
|
+
- @ai-sdk/gateway@3.0.190
|
|
16
|
+
|
|
3
17
|
## 6.0.277
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1334,7 +1334,7 @@ function detectMediaType({
|
|
|
1334
1334
|
var import_provider_utils3 = require("@ai-sdk/provider-utils");
|
|
1335
1335
|
|
|
1336
1336
|
// src/version.ts
|
|
1337
|
-
var VERSION = true ? "6.0.
|
|
1337
|
+
var VERSION = true ? "6.0.279" : "0.0.0-test";
|
|
1338
1338
|
|
|
1339
1339
|
// src/util/download/download.ts
|
|
1340
1340
|
var download = async ({
|
|
@@ -11643,7 +11643,7 @@ function getTextFromDataUrl(dataUrl) {
|
|
|
11643
11643
|
throw new Error("Invalid data URL format");
|
|
11644
11644
|
}
|
|
11645
11645
|
try {
|
|
11646
|
-
return
|
|
11646
|
+
return globalThis.atob(base64Content);
|
|
11647
11647
|
} catch (error) {
|
|
11648
11648
|
throw new Error(`Error decoding data URL`);
|
|
11649
11649
|
}
|