Skip to content

v0.8.20

Choose a tag to compare

@raykyri raykyri released this 06 Jan 03:47

Added

  • You can now subscribe to peer presence for other applications sharing the same discovery topic. Use trackAllPeers when configuring your application to get presence:join and presence:leave events for other application topics.
  • Added presenceTimeout configuration option, for applications that want to keep offline presence peers around for longer, instead of flushing them from the cache as soon as they go offline.

Changed

  • Improved handling of presence cache and presence:leave events.
  • Fixed an issue with the useCanvas hook where multiple libp2p instances would be created in development, if React Strict Mode was turned on.