Commit Graph

23 Commits

Author SHA1 Message Date
Derrick Hammer 57f1e40eff
fix: add endPeerOnError handler 2023-07-22 10:28:31 -04:00
Derrick Hammer a74b2d416e
fix: presentSeed needs to be presentKey 2023-07-04 05:45:40 -04:00
Derrick Hammer 81c24fe7ec
refactor: move to new sdks and portal 2023-07-04 05:16:23 -04:00
Derrick Hammer 4aa39018d8
*Moved protomux client to its own package 2023-04-08 21:04:52 -04:00
Derrick Hammer 35df37fdff
* Add import for b4a, create a _created Promise, replace _opened Promise with _created Promise, and add getter for ready Promise. Also, add methods to add and queue messages, and fix package.json dependencies. 2023-04-08 20:18:56 -04:00
Derrick Hammer 876d56b25a
* Add `setupStream` to the list of imports and set up stream for `dhtInstance.swarm` when the "setup" event occurs. 2023-04-08 20:17:44 -04:00
Derrick Hammer 5d0d7a52e8
*Change approach to proxying protomux requests over the kernel 2023-04-07 22:08:49 -04:00
Derrick Hammer 7b65990741
Revert "*Use setup event to ensure the RPC channels are setup for the stream only after state sync from the master protomux"
This reverts commit 88a191ae13.
2023-04-06 16:52:37 -04:00
Derrick Hammer 88a191ae13
*Use setup event to ensure the RPC channels are setup for the stream only after state sync from the master protomux 2023-04-06 13:42:42 -04:00
Derrick Hammer 827024b579
*Use swarm start, not swarm init 2023-03-29 16:54:58 -04:00
Derrick Hammer c155a4ea1c
Revert "*Use swarm start, not swarm ready"
This reverts commit 5bc9280069.
2023-03-29 16:53:47 -04:00
Derrick Hammer 5bc9280069
*Use swarm start, not swarm ready 2023-03-29 16:36:29 -04:00
Derrick Hammer 4eb5f24696
*Call swarm init and ready before calling readyWithRelays on ready method 2023-03-19 15:22:41 -04:00
Derrick Hammer 4e26f67b1d
*handle possibility that callerInput is undefined 2023-03-19 15:21:27 -04:00
Derrick Hammer 623f800418
*Use createClient factory 2023-03-19 15:20:53 -04:00
Derrick Hammer 51bc9ccb32
*update to use new rpc and swarm system
*remove un-used query types for now
2023-03-18 12:33:08 -04:00
Derrick Hammer f4e1dad0f7
*Wrap sendUpdate in a function to ensure the request has not been canceled since the low level streamx appears to buffer 2022-08-31 21:15:12 -04:00
Derrick Hammer 320b5c0a35
*Add cancel support to streaming query via setReceiveUpdate 2022-08-31 20:03:11 -04:00
Derrick Hammer b094cb9274
*Fix arguments for streamingQuery 2022-08-31 19:38:54 -04:00
Derrick Hammer af08c1f01c
*make getNetwork async and wait on a new moduleReady promise 2022-08-31 16:40:54 -04:00
Derrick Hammer 4290641f94
*Add API to create multiple networks
*Add a default network
2022-08-31 14:30:16 -04:00
Derrick Hammer 0c4406b8a5
*Use new RPC protocol 2022-08-31 00:28:34 -04:00
Derrick Hammer 7a1e3444a4 *Initial version 2022-07-21 13:04:17 -04:00