Closed ralphtheninja closed 2 years ago
I usually create many and small commits. Feel free to squash this!
@RangerMauve Any chance in getting this merged? I can always try tweaking it if you're not happy with it.
Released in v2.2.0 🎉
Released in v2.2.0 tada
Sweet! :heart:
Yet another
Map()
of peers. I could dig more into the lower layers, but I thought it was easier to implement aMap
in the swarm, since we catch theconnection
anddisconnection
events. I'd be happy with the'disconnection'
event only since I could move the Map to my layer, but the hyperswarm api hasswarm.peers
so I thought I'd put it there so we implement more similar functionality.