digidem / mapeo-core

Library for creating custom geo data and syncronizing via a peer to peer network
23 stars 2 forks source link

feat: Expose onConnection for direct peers #103

Closed okdistribute closed 3 years ago

okdistribute commented 3 years ago

This allows for adding a new peer with previously known tcp socket without using discovery-swarm.

This could instead be called addPeer or something..

hackergrrl commented 3 years ago

addPeer sounds good to me.

okdistribute commented 3 years ago

Done.