Releases: MetaMask/post-message-stream
Releases · MetaMask/post-message-stream
5.1.0
5.0.1
5.0.0
Added
- Add
StreamData
andStreamMessage
types (#37) - Add
worker_threads
streams (#39) - Add
child_process
streams (#34)
Changed
- BREAKING: Increase minimum Node.js version to
^14.0.0
(#38) - BREAKING: Adopt a uniform naming scheme for all classes (#40)
- BREAKING: Throw an error when constructing a stream in the wrong environment (#40)
- For example, a
WebWorkerPostMessageStream
can now only be constructed in aWebWorker
. This change may not be breaking in practice because the streams would not work in unintended environments anyway.
- For example, a
- BREAKING: Add
targetOrigin
parameter forWindowPostMessageStream
(#23)