Mathias Buus
9b200b3d7e
bootstrapper needs the host
3 years ago
Mathias Buus
fcc92d3944
no need to link to legacy anymore
3 years ago
Kasper Isager Dalsgarð
925d886382
use udx instead of built-in dgram for udp support ( #40 )
* Switch to `udx-native`
* Bump `udx-native`
* Bump `udx-native`
* Add `events` dependency
* Update to new UDX API
* Update Brittle
* Fix typo
* UDX -> UDP
* Make `_bindSockets()` sync
* Make `_bindSockets()` async
* Use `opts.udx`
* Track `udx-native@latest`
* Update to latest UDX API
* Switch back to `udx-native@latest`
* Use stable `udx-native`
* Emit `network-change` events
* Increase test timeout
3 years ago
Gregor MacLennan
65132c2de1
chore: add docs for node.findNode() ( #36 )
Fixes #35
3 years ago
Mathias Buus
c2e19b5a62
typos
3 years ago
Mathias Buus
086b8c4707
make eph and adaptive settings less prominent as users get confused
3 years ago
Mathias Buus
e458427db4
move to latest
3 years ago
Mathias Buus
96c8dc0d1a
move commands to enums
3 years ago
Mathias Buus
5e4aa99672
update docs and corresponding code tweaks
3 years ago
Mathias Buus
2f424af545
streamline auto bind
4 years ago
Mathias Buus
5d45d639fb
emit listening and always bind in ready for ease of use
4 years ago
Mathias Buus
ff20fec154
link to v4 docs and make it clear it is an rc
4 years ago
Mathias Buus
cbd9b8dcb0
tweak query api
4 years ago
Mathias Buus
c4f7e566fe
add sampledNAT helper
4 years ago
Mathias Buus
3e2b5fafaf
final docs and improve example
4 years ago
Mathias Buus
1f4239f32c
add basic v5 rewrite
4 years ago
Aurélien Ooms
bf26fde934
📚 docs(README): Add getNodes() and addNodes() to the API docs.
5 years ago
David Mark Clements
03c5eb512b
persistent method, rm setEphemeral ( #19 )
* persistent method, rm setEphemeral
* docs: persistent
5 years ago
Mathias Buus
ffc43c2723
infer holepunchability from peers ( #18 )
* infer holepunchability from peers
* use res.to in pong for forwards compat
* add remoteAddress also
* add initial-nodes event
* docs
5 years ago
David Mark Clements
74c4a740e1
add setEphemeral method ( #9 )
* add turnNonEphemeral method
* rename to joinDht
* joinDht functionality and tests
* update ephemeral flag only after successful join dht
* joinDht -> setEphemeral
* setEphem(true) test, currently failing
* setEphemeral(true) now working
* rm left over debug artifacts
* update docs to api alteration
* trigger newly ephem node gc from the ght via requests instead of ping, as we need ping for holepunching to bootstrap nodes
* charCodeAt instead of string slice
5 years ago
Francis Gulotta
581b283ea8
fix readme example code
6 years ago
Mathias Buus
3a05e9c03e
Next version ( #2 )
* rebase on top old history
* fix dep
* more missing deps
* updated docs
* impl readme api
* final tweaks
* more tests
* revert version
* remove dead code
7 years ago
Mathias Buus
fbfbca601e
add .bootstrap and fix ping bug
8 years ago
Mathias Buus
963510c3e9
closest -> update
8 years ago
Mathias Buus
cd301f0916
Update README.md
8 years ago
Mathias Buus
ecbdda5dad
api docs
8 years ago
Mathias Buus
beae648a54
add travis
8 years ago
Mathias Buus
14b57e049a
add readme
8 years ago