v2.0.0
New features released:
duplex-message'
now addsBroadcastMessageHub
which supports communication viaBroadcastChannel
.on
now support multiple listeners on a single message- debug logging is automatically enabled when
process.env.NODE_ENV
is any value other thanproduction
, and debug code will be stripped whenprocess.env.NODE_ENV
isproduction
with a bundler