Commit Graph

154 Commits

Author SHA1 Message Date
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 2ebe64b33a
*Update dist 2023-04-16 22:44:11 -04:00
Derrick Hammer 00f37b829b
*Update module hash 2023-04-16 22:44:04 -04:00
Derrick Hammer 8daf4b4e7d
*Update dist 2023-04-09 11:52:55 -04:00
Derrick Hammer 060faf45ac
*Update module hash 2023-04-09 11:52:44 -04:00
Derrick Hammer f7a5628a91
*Update dist 2023-04-08 21:21:14 -04:00
Derrick Hammer 4829b48058
*Update module hash 2023-04-08 21:21:04 -04:00
Derrick Hammer 79bbf5c144
*Update dist 2023-04-08 21:02:16 -04:00
Derrick Hammer 9740402e82
*Update module hash 2023-04-08 21:02:10 -04:00
Derrick Hammer bb657e5af0
* Refactor event emitter library to eventemitter2 and remove unnecessary import of protomux. Rewrite on and off methods to accept options object and change event listener parameter name for consistency. Replace call to protomux with emitting a setup event. 2023-04-08 16:11:39 -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 952b3a0d1a
*Update deps 2023-04-08 15:41:52 -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 92bc8e5ce8
*Update dist 2023-04-07 13:20:36 -04:00
Derrick Hammer 7c8763c530
*Export MODULE 2023-04-07 13:20:31 -04:00
Derrick Hammer d10aad49f4
*Update dist 2023-04-06 17:34:42 -04:00
Derrick Hammer 1d0718af05
*Pass socket id 2023-04-06 17:34:23 -04:00
Derrick Hammer b274b82d3c
*Update dist 2023-04-06 16:36:41 -04:00
Derrick Hammer 9ae392e1ab
*Switch to simpler protomux sync approach 2023-04-06 16:36:13 -04:00
Derrick Hammer 62058d31fd
*Update dist 2023-04-06 14:38:17 -04:00
Derrick Hammer c0acff3955
*Flag protomux as slave 2023-04-06 14:38:07 -04:00
Derrick Hammer caec48d0a6
*Update dist 2023-04-06 14:36:16 -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 c2ebdc00b9
*Update dist 2023-04-06 10:48:50 -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 f5127bd809
*Update dist 2023-04-06 10:30:15 -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 650998c810
*Update dist 2023-04-06 10:17:33 -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 4cd89acb12
*update dist 2023-04-06 10:08:44 -04:00
Derrick Hammer 794ab2f792
*forgot to pass swarm to socket 2023-04-06 10:08:23 -04:00
Derrick Hammer 9c1bedc83e
*Update dist 2023-04-06 09:57:29 -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 4541386514
*Update dist 2023-04-05 18:02:23 -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 bce1bca13e
*update dist 2023-04-05 04:08:02 -04:00
Derrick Hammer 7a6a740484
*update module hash 2023-04-05 04:07:46 -04:00
Derrick Hammer 301f751ad4
*update dist 2023-04-05 03:54:36 -04:00
Derrick Hammer 55159d89ce
*implement syncing protomux channel/message state 2023-04-05 03:54:27 -04:00
Derrick Hammer 3bdaedd939
*update dist 2023-04-04 11:24:11 -04:00
Derrick Hammer be450ecbce
*update module hash 2023-04-04 11:23:55 -04:00
Derrick Hammer 7486904592
*update dist 2023-04-04 08:08:05 -04:00
Derrick Hammer 275c08efe7
*update module hash 2023-04-04 08:08:00 -04:00
Derrick Hammer d61df5d4e8
*Update dist 2023-04-04 06:28:48 -04:00
Derrick Hammer 990d77d86e
*Update module hash 2023-04-04 06:28:27 -04:00