Derrick Hammer
|
8141edeb79
|
dep: update module hash
|
2023-07-01 16:39:25 -04:00 |
Derrick Hammer
|
009dc4e003
|
refactor: switch to emittery
|
2023-07-01 16:06:03 -04:00 |
Derrick Hammer
|
d22b636889
|
refactor: use new sdks and portal system
|
2023-07-01 05:36:28 -04:00 |
Derrick Hammer
|
00f37b829b
|
*Update module hash
|
2023-04-16 22:44:04 -04:00 |
Derrick Hammer
|
060faf45ac
|
*Update module hash
|
2023-04-09 11:52:44 -04:00 |
Derrick Hammer
|
4829b48058
|
*Update module hash
|
2023-04-08 21:21:04 -04:00 |
Derrick Hammer
|
9740402e82
|
*Update module hash
|
2023-04-08 21:02:10 -04:00 |
Derrick Hammer
|
20e9a6e0e5
|
* Add EventEmitter2 library for event handling and remove EventEmitter3 library in index.ts; update package.json to include EventEmitter2 library.
|
2023-04-08 16:11:03 -04:00 |
Derrick Hammer
|
fdda2befa8
|
* Refactor swarm setup event to include the current instance in the emitted data.
|
2023-04-08 15:56:43 -04:00 |
Derrick Hammer
|
cf27a6518f
|
* Add call to emitAsync method to trigger "setup" event on swarm object.
|
2023-04-08 15:55:09 -04:00 |
Derrick Hammer
|
0d7090206c
|
*Remove use of protomux
|
2023-04-08 15:19:31 -04:00 |
Derrick Hammer
|
3a207c107c
|
*Remove syncProtomux
|
2023-04-08 15:18:37 -04:00 |
Derrick Hammer
|
7c8763c530
|
*Export MODULE
|
2023-04-07 13:20:31 -04:00 |
Derrick Hammer
|
1d0718af05
|
*Pass socket id
|
2023-04-06 17:34:23 -04:00 |
Derrick Hammer
|
9ae392e1ab
|
*Switch to simpler protomux sync approach
|
2023-04-06 16:36:13 -04:00 |
Derrick Hammer
|
c0acff3955
|
*Flag protomux as slave
|
2023-04-06 14:38:07 -04:00 |
Derrick Hammer
|
eec453ba91
|
*await on the update being sent, and the update getting received
|
2023-04-06 14:29:15 -04:00 |
Derrick Hammer
|
0596a132f3
|
*Move setup emit until after the setup promise has resolved
|
2023-04-06 10:48:27 -04:00 |
Derrick Hammer
|
aefd401d22
|
*Create a setup defer to ensure we wait until the 1st sync is done before setting up the stream on our end
|
2023-04-06 10:29:59 -04:00 |
Derrick Hammer
|
382ce99ada
|
*Add protomux userData field as null, otherwise it does not get set
|
2023-04-06 10:17:16 -04:00 |
Derrick Hammer
|
794ab2f792
|
*forgot to pass swarm to socket
|
2023-04-06 10:08:23 -04:00 |
Derrick Hammer
|
a9bc1e3a73
|
*emit setup event to allow setup of a socket before triggering the connection event
*add a link to the parent swarm in the socket to call emit
|
2023-04-06 09:57:04 -04:00 |
Derrick Hammer
|
a59de99e56
|
*Use pdefer to wait until the other site has responded that they synced changes and gave true
|
2023-04-05 18:01:59 -04:00 |
Derrick Hammer
|
7a6a740484
|
*update module hash
|
2023-04-05 04:07:46 -04:00 |
Derrick Hammer
|
55159d89ce
|
*implement syncing protomux channel/message state
|
2023-04-05 03:54:27 -04:00 |
Derrick Hammer
|
be450ecbce
|
*update module hash
|
2023-04-04 11:23:55 -04:00 |
Derrick Hammer
|
275c08efe7
|
*update module hash
|
2023-04-04 08:08:00 -04:00 |
Derrick Hammer
|
990d77d86e
|
*Update module hash
|
2023-04-04 06:28:27 -04:00 |
Derrick Hammer
|
8d74bf96af
|
*Update module hash
|
2023-03-29 17:03:26 -04:00 |
Derrick Hammer
|
c7a7fa9194
|
*update module hash
|
2023-03-24 16:14:21 -04:00 |
Derrick Hammer
|
1aa1be90d4
|
*update module hash
|
2023-03-19 15:23:32 -04:00 |
Derrick Hammer
|
1c167aad2a
|
*modify connect to return an existing connection if it exists, and if not, throw a not implemented error
|
2023-03-19 14:55:23 -04:00 |
Derrick Hammer
|
1a4f33c697
|
*Move _connectBackoff retry to costructor so we don't create duplicate hooks
|
2023-03-19 14:03:24 -04:00 |
Derrick Hammer
|
290ca18c4b
|
*Store the listenConnections connection so don't create duplicates incase init/ready is called multiple times
|
2023-03-19 14:02:50 -04:00 |
Derrick Hammer
|
ce24ca1bd9
|
*missing storing the socket
|
2023-03-19 11:14:31 -04:00 |
Derrick Hammer
|
c869488951
|
*Track socks to reuse objects as we are storing state on them
|
2023-03-19 10:48:11 -04:00 |
Derrick Hammer
|
4e504124b2
|
*update module hash
|
2023-03-18 14:42:22 -04:00 |
Derrick Hammer
|
44b9842ea9
|
*add dht getter that returns a mock object including ready
|
2023-03-18 13:55:33 -04:00 |
Derrick Hammer
|
acc2ed4db3
|
*Update module hash
|
2023-03-16 14:24:41 -04:00 |
Derrick Hammer
|
36dd596aab
|
*Methods not needed
|
2023-02-17 21:05:28 -05:00 |
Derrick Hammer
|
7028609da4
|
*Set hash length to 32
|
2023-02-17 21:03:42 -05:00 |
Derrick Hammer
|
4977f88d55
|
*Mixed up code
|
2023-02-17 20:06:46 -05:00 |
Derrick Hammer
|
232f82d828
|
*Support strings in join with nobile blake2b hashing
|
2023-02-17 20:04:21 -05:00 |
Derrick Hammer
|
df63f8be30
|
*Add persistent tracking of topics
|
2023-02-17 19:35:56 -05:00 |
Derrick Hammer
|
b98db98b6a
|
*Missing await
|
2023-02-17 16:50:05 -05:00 |
Derrick Hammer
|
6f30bb7faa
|
*set maxAttempts to Number.MAX_SAFE_INTEGER
|
2023-02-17 11:28:07 -05:00 |
Derrick Hammer
|
ff7266f05e
|
*Switch to backoff.js
|
2023-02-17 09:25:58 -05:00 |
Derrick Hammer
|
b76aa38f76
|
*Move listenConnections call to private method that will do a backoff connection after returning
|
2023-02-17 08:49:35 -05:00 |
Derrick Hammer
|
d3460ae956
|
*Move backoff reset to the ready method
|
2023-02-17 08:31:24 -05:00 |
Derrick Hammer
|
a7384cf688
|
*Listen for connections before waiting for ready
|
2023-02-17 08:20:02 -05:00 |