v0.4.2: content[] truncation parity — recalls, adverse events, device clearances, drug approvals, drug shortages, NDC lookup
content[] truncation parity — recalls, adverse events, device clearances, drug approvals, drug shortages, NDC lookup
Removes the shared 300-char field-renderer cap and six tool-specific truncation sites so content[] matches the full structuredContent data already exposed.
Fixed:
formatRemainingFields(format-utils.ts) dropped its 300-char default cap on the catch-all "remaining fields" renderer shared by every search tool's format(). (#21)openfda_lookup_ndcrenders everypackaging[]entry (was capped at 5).openfda_search_adverse_eventsrenders the fullmdr_text[].textnarrative (was 500 chars) and JSON fallback dump (was 1000 chars).openfda_search_device_clearancesrenders the fullstatement_or_summary(was 500 chars) and JSON fallback dump (was 500 chars).openfda_search_drug_approvalsrenders everysubmissions[]entry (was capped at 10).openfda_search_drug_shortagesrenders fullavailability(was 400 chars) andcontact_info(was 200 chars).openfda_search_recallsrenders fullproduct_descriptionandreason_for_recall(was 300 chars each).
338 tests pass; bun run devcheck clean.