@reverbia/sdk 1.0.0-next.20260111110909 → 1.0.0-next.20260111125102
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/react/index.cjs +1 -1
- package/dist/react/index.mjs +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -3389,7 +3389,7 @@ function useChatStorage(options) {
|
|
|
3389
3389
|
const blobManager = blobManagerRef.current;
|
|
3390
3390
|
const resolvedMessages = await Promise.all(
|
|
3391
3391
|
messages.map(async (msg) => {
|
|
3392
|
-
const fileIds = extractFileIds(msg.content);
|
|
3392
|
+
const fileIds = [...new Set(extractFileIds(msg.content))];
|
|
3393
3393
|
if (fileIds.length === 0) {
|
|
3394
3394
|
return msg;
|
|
3395
3395
|
}
|
package/dist/react/index.mjs
CHANGED
|
@@ -3253,7 +3253,7 @@ function useChatStorage(options) {
|
|
|
3253
3253
|
const blobManager = blobManagerRef.current;
|
|
3254
3254
|
const resolvedMessages = await Promise.all(
|
|
3255
3255
|
messages.map(async (msg) => {
|
|
3256
|
-
const fileIds = extractFileIds(msg.content);
|
|
3256
|
+
const fileIds = [...new Set(extractFileIds(msg.content))];
|
|
3257
3257
|
if (fileIds.length === 0) {
|
|
3258
3258
|
return msg;
|
|
3259
3259
|
}
|