Commit Graph

122 Commits

Author SHA1 Message Date
Derrick Hammer 379649b006
*Create helper getSwarmToSocketConnectionId
*on join method, disable server mode
*rename handleJoinPeer to handleJoin
*rename handleSocketListenEvent to handleSocketListenEvent
*on socketListenEvent, if setReceiveUpdate is ever called, assume we want to terminate
* Ensure full 64 bit private key is passed to handlePresentSeedModule
*Re-organize api methods
*Add new socket methods
*Add socketGetInfo method which creates an IPV6 address from the pubkey
2023-02-06 12:33:11 -05:00
Derrick Hammer 236e445ff8
*Change ready to init
*Add new ready method that listens for a ready event but returns if activeRelay is set
2023-02-01 12:07:46 -05:00
Derrick Hammer 4e443f4ccb
*Replace dht references with swarm 2023-02-01 08:18:31 -05:00
Derrick Hammer d608392532
*Rewrite to use new design 2023-02-01 07:50:45 -05:00
Derrick Hammer 4a62c94ee3
*Rename package 2023-02-01 07:50:11 -05:00
Derrick Hammer c6497655c7
*Temp build script 2023-02-01 07:49:26 -05:00
Derrick Hammer 44ed118571
*Switch to iife 2023-02-01 07:49:00 -05:00
Derrick Hammer ce3fbcad0b
*Bug fix and improve response handling 2022-09-19 08:11:54 -04:00
Derrick Hammer b25706e8ac
*Update DHT management 2022-08-31 17:14:42 -04:00
Derrick Hammer 4956592d1d
*add getRelayServers api method 2022-08-14 07:28:40 -04:00
Derrick Hammer 37fbd1ee62
*Fix build order 2022-08-14 07:26:50 -04:00
Derrick Hammer 5652eccd1b
*Add method to get current relays in a DHT instance 2022-08-14 06:49:24 -04:00
Derrick Hammer f8229abf66
*Need to shift off the first element from hexToBuf 2022-08-13 20:05:51 -04:00
Derrick Hammer cd33e1508b
*add socketExists api method 2022-08-13 15:12:49 -04:00
Derrick Hammer 4e4a22542f
*Switch from Buffer to hexToBuf 2022-08-13 15:11:18 -04:00
Derrick Hammer 77c473611a
*Support multiple dht connections with a default DHT connection 2022-08-03 12:01:11 -04:00
Derrick Hammer e01d4fc9b5 *Use noise-handshake fork to fix handshake communication bug 2022-07-31 04:10:04 -04:00
Derrick Hammer 5a3e8d7fb5 *Add browser polyfills 2022-07-27 18:46:42 -04:00
Derrick Hammer b351708da7 *Add process global 2022-07-27 18:46:15 -04:00
Derrick Hammer 869f53938b *Override sodium library with WASM version 2022-07-21 14:59:25 -04:00
Derrick Hammer 05f3916b4a *Initial version 2022-07-21 13:03:18 -04:00
Derrick Hammer bb0c5fe92e
Initial commit 2022-06-28 09:14:07 -04:00