Releases: pubkey/broadcast-channel
Releases · pubkey/broadcast-channel
5.1.0
- REFACTOR check for native method #1157
5.0.1
- FIX hasLeader() is mixing up states
5.0.0
- Use Web Locks API for leader election if possible.
LeaderElector.hasLeader
is now a function that returns a Promise<boolean>
.
4.18.0
- FIX fix(indexedDB): Can't start a transaction on a closed database #1042 nabigraphics
4.10.0
- Improve error message when calling
postMessage
to a closed channel.
4.9.0
Bugfixes:
- When listening to messages directly, responses that where send directly after
addEventListener()
where missing because of inaccurate JavaScript timing.
4.8.0
Changes:
- Better determine the correct
responseTime
to use to make it less likely to elect duplicate leaders.