Releases: ipfs/js-ipfs-utils
Releases · ipfs/js-ipfs-utils
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.0
Bug Fixes
BREAKING CHANGES
-
- The
.ndjson
,.stream
and.iterator
methods have been removed
- The
- An
.ndjson
async generator function has been added to the response which
does the same thing the.ndjson
instance method used to
Old:
for await (const datum of http.ndjson('http://...')) {
}
New:
const response = await http.post('http://...')
for await (const datum of response.ndjson()) {
}