Derrick Hammer
|
e95b366ea4
|
*Use just acquire not waitForUnlock
|
2023-03-29 14:57:18 -04:00 |
Derrick Hammer
|
276da74eb5
|
*Update dist
|
2023-03-29 14:50:42 -04:00 |
Derrick Hammer
|
b6dda4dd5e
|
*Ensure we release the mutex before aborting if we have an active relay
|
2023-03-29 14:50:24 -04:00 |
Derrick Hammer
|
4b6ab61da5
|
*Update dist
|
2023-03-19 13:23:20 -04:00 |
Derrick Hammer
|
9102cc77d5
|
*Add offSelf and onceSelf
|
2023-03-19 13:23:07 -04:00 |
Derrick Hammer
|
f5d93fe03d
|
*Update dist
|
2023-03-19 12:00:17 -04:00 |
Derrick Hammer
|
b3e0722364
|
*Add close event for when the relay connection closes
|
2023-03-19 12:00:00 -04:00 |
Derrick Hammer
|
e48440710e
|
*Update dist
|
2023-02-17 22:23:06 -05:00 |
Derrick Hammer
|
42f0c1b60d
|
*Add onSelf and emitSelf methods to use local event emitter
*Emit local init before processing queued actions
|
2023-02-17 22:22:46 -05:00 |
Derrick Hammer
|
8427cbdff6
|
*Update dist
|
2023-02-17 16:32:55 -05:00 |
Derrick Hammer
|
e8a44315a8
|
*Need to hook to the stream directly
|
2023-02-17 16:32:39 -05:00 |
Derrick Hammer
|
411582ef05
|
*Update dist
|
2023-02-17 08:04:33 -05:00 |
Derrick Hammer
|
439bd9f022
|
*Add ready property
|
2023-02-17 08:04:16 -05:00 |
Derrick Hammer
|
343fda1172
|
*Update dist
|
2023-02-05 14:03:09 -05:00 |
Derrick Hammer
|
701a3190ae
|
*Convert more api methods to use _processOrQueueAction
|
2023-02-05 14:02:53 -05:00 |
Derrick Hammer
|
b4e406b468
|
*Update dist
|
2023-02-01 13:45:36 -05:00 |
Derrick Hammer
|
5bdbf77971
|
*Add public api methods from hyperswarm
|
2023-02-01 13:45:21 -05:00 |
Derrick Hammer
|
511185e921
|
*Update deps
|
2023-02-01 13:14:06 -05:00 |
Derrick Hammer
|
2a4806b0b3
|
*Update dist
|
2023-02-01 08:36:58 -05:00 |
Derrick Hammer
|
fb13e6e323
|
*Add getter for activeRelay
|
2023-02-01 08:36:43 -05:00 |
Derrick Hammer
|
400d768fe8
|
*Update dist
|
2023-02-01 08:31:06 -05:00 |
Derrick Hammer
|
c7fd7f294b
|
*Emit the ready event after successful init
|
2023-02-01 08:29:35 -05:00 |
Derrick Hammer
|
50aa507410
|
*Update dist
|
2023-02-01 08:22:47 -05:00 |
Derrick Hammer
|
249311c522
|
*Rename ready to init
|
2023-02-01 08:22:30 -05:00 |
Derrick Hammer
|
a1afba565e
|
*Update dist
|
2023-02-01 08:15:36 -05:00 |
Derrick Hammer
|
9d14579ae9
|
*Add a mutex lock so we are only ever attempting 1 bootup at a time
*Only try to process relays when we have one
|
2023-02-01 08:15:16 -05:00 |
Derrick Hammer
|
5a49d74b77
|
*Update dist
|
2023-02-01 05:01:12 -05:00 |
Derrick Hammer
|
af76d85983
|
*Need to wrap DhtNode in a hyperswarm instance
|
2023-02-01 05:00:51 -05:00 |
Derrick Hammer
|
17ca564f43
|
*dht-relay ready is on the main object, dht object does not exist
|
2023-02-01 04:57:22 -05:00 |
Derrick Hammer
|
9ae03e12e2
|
*Update dist
|
2023-02-01 04:51:05 -05:00 |
Derrick Hammer
|
5472397958
|
*Need to pass arguments as a spread
|
2023-02-01 04:50:55 -05:00 |
Derrick Hammer
|
6a843447b1
|
*Update dist
|
2023-02-01 04:42:29 -05:00 |
Derrick Hammer
|
cc7c7c8edf
|
*Only run loop while this._activeRelay is not set
|
2023-02-01 04:41:45 -05:00 |
Derrick Hammer
|
21fb795488
|
*Update dist
|
2023-01-31 08:49:16 -05:00 |
Derrick Hammer
|
9b815444e1
|
*If discover returns false, treat like an error
|
2023-01-31 08:48:47 -05:00 |
Derrick Hammer
|
2b836207ab
|
*Update @lumeweb/kernel-peer-discovery-client
|
2023-01-31 08:15:18 -05:00 |
Derrick Hammer
|
47ab88f56f
|
*Update deps
|
2023-01-31 08:07:14 -05:00 |
Derrick Hammer
|
f20aafe52e
|
*Update @lumeweb/libkernel-universal
|
2023-01-31 07:49:54 -05:00 |
Derrick Hammer
|
f597e56285
|
*Update @lumeweb/libkernel-universal
|
2023-01-31 07:43:55 -05:00 |
Derrick Hammer
|
ce8edbdaa0
|
*Update dist
|
2023-01-31 07:39:11 -05:00 |
Derrick Hammer
|
5073788529
|
*only use RNG if we have more than 1 relay available
|
2023-01-31 07:38:48 -05:00 |
Derrick Hammer
|
929b64cc1d
|
*Update @lumeweb/kernel-peer-discovery-client
|
2023-01-31 07:24:09 -05:00 |
Derrick Hammer
|
e61bd06454
|
*Update dist
|
2023-01-31 06:58:39 -05:00 |
Derrick Hammer
|
281121b7cc
|
*Add basic eventemitter action queue to process once we have an active relay, or to immediately process if we already have one
|
2023-01-31 06:58:03 -05:00 |
Derrick Hammer
|
bd82046a94
|
*Update dist
|
2023-01-31 05:43:58 -05:00 |
Derrick Hammer
|
e2ab0b8e91
|
*Switch to eventemitter2
|
2023-01-31 05:43:29 -05:00 |
Derrick Hammer
|
a41e162b1d
|
*Update dist
|
2023-01-31 05:10:34 -05:00 |
Derrick Hammer
|
35e394fec4
|
*rewrite for new design
|
2023-01-31 05:10:12 -05:00 |
Derrick Hammer
|
f8b5bcab64
|
*update dist
|
2022-08-14 07:25:37 -04:00 |
Derrick Hammer
|
5276de4363
|
*add getter to return relay servers
|
2022-08-14 07:25:16 -04:00 |