@heylemon/lemonade 2026.2.19 → 2026.2.20
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/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
097295da59112a03be00996fb0b774b800b315f4a291f6253930f4d42aa9a1ac
|
|
@@ -333,7 +333,9 @@ export async function monitorWebInbox(options) {
|
|
|
333
333
|
const maxBytes = maxMb * 1024 * 1024;
|
|
334
334
|
const saved = await saveMediaBuffer(inboundMedia.buffer, inboundMedia.mimetype, "inbound", maxBytes);
|
|
335
335
|
mediaPath = saved.path;
|
|
336
|
-
|
|
336
|
+
// Prefer detected mime from saved media (sniffed from bytes), then
|
|
337
|
+
// fall back to transport-provided mimetype.
|
|
338
|
+
mediaType = saved.contentType ?? inboundMedia.mimetype;
|
|
337
339
|
// Extract text from document attachments (PDF, DOCX, etc.)
|
|
338
340
|
if (mediaPath && isExtractableDocument(mediaType)) {
|
|
339
341
|
try {
|