httptoolkit / brotli-wasm

A reliable compressor and decompressor for Brotli, supporting node & browsers via wasm
Apache License 2.0
260 stars 19 forks source link

Add decompress part to web Next.js stream example #27

Closed myl7 closed 1 year ago

myl7 commented 1 year ago

Related #23 #26

This also requires #25 to work

myl7 commented 1 year ago

I have updated the BrotliDecompressTransformStream in the example to follow the new stream pattern. Much like the one in the test. Also manual tests for the example have been run.

pimterry commented 1 year ago

All these changes are now published to npm! :smile:

This is v2.0.0, since it's a breaking change for anybody using the streams API. I've also updated the examples in the README too and added some breaking change notes to the Releases section on here.

Hopefully that should cover this, thanks for your hard work getting all this finished up! Glad we managed to get everything working :+1: :+1: :+1: