Fix IPFS cat decoding for ipfs-http-client 56 (Uint8Array) #251

Merged
raucao merged 1 commits from fix/ipfs-uint8array-decode into master 2026-10-29 16:10:08 +00:00
1 Commits
Author SHA1 Message Date
raucao f24e9a8a0b Fix IPFS cat decoding for ipfs-http-client 56 (Uint8Array)
Release Drafter / Update release notes draft (pull_request) Failing after 3s
ipfs-http-client 56 yields Uint8Array chunks, whose toString() returns
comma-separated byte values rather than text. Concatenating those turned
every document into an invalid JSON string ("123,10,32,..."), so
JSON.parse failed with "Unexpected non-whitespace character after JSON at
position 3" and no IPFS-backed record could be read.

Decode the chunks explicitly with a streaming TextDecoder, which works in
both Node and browsers. Bump version to 7.5.1.
2026-10-29 20:02:40 +04:00