ai 5.0.89 → 5.0.91
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/README.md +42 -17
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -671,7 +671,7 @@ import {
|
|
|
671
671
|
} from "@ai-sdk/provider-utils";
|
|
672
672
|
|
|
673
673
|
// src/version.ts
|
|
674
|
-
var VERSION = true ? "5.0.
|
|
674
|
+
var VERSION = true ? "5.0.91" : "0.0.0-test";
|
|
675
675
|
|
|
676
676
|
// src/util/download/download.ts
|
|
677
677
|
var download = async ({ url }) => {
|
|
@@ -9706,9 +9706,9 @@ var uiMessagesSchema = lazyValidator2(
|
|
|
9706
9706
|
})
|
|
9707
9707
|
})
|
|
9708
9708
|
])
|
|
9709
|
-
)
|
|
9709
|
+
).nonempty("Message must contain at least one part")
|
|
9710
9710
|
})
|
|
9711
|
-
)
|
|
9711
|
+
).nonempty("Messages array must not be empty")
|
|
9712
9712
|
)
|
|
9713
9713
|
);
|
|
9714
9714
|
async function safeValidateUIMessages({
|