Commit Graph

26 Commits

Author SHA1 Message Date
Derrick Hammer c42cf65b8c
*Options needs to be optional 2023-03-24 13:28:54 -04:00
Derrick Hammer 0a6d56572b
*Make relay optional.
*Have RpcNetwork.simpleQuery take an options bag
2023-03-24 13:20:37 -04:00
Derrick Hammer 71e41ae003
*Remove unneeded queues 2023-03-23 13:02:46 -04:00
Derrick Hammer 09825ea3c7
*Add createClient 2023-03-23 13:02:29 -04:00
Derrick Hammer 15a4ef2eac
*Update module hash 2023-03-23 12:45:19 -04:00
Derrick Hammer 1a844804ec
*Refactor to use new RPC module API and new kernel client API 2023-03-23 12:42:21 -04:00
Derrick Hammer 85447be885
*Bug fix first promise in result which returns just an ErrTuple 2022-09-05 06:26:20 -04:00
Derrick Hammer 951a6f9554
*add cancel support to streaming query
*handle connectModule return properly
2022-08-31 20:10:24 -04:00
Derrick Hammer 62849f009b
*Streaming query needs to pass relay 2022-08-31 19:23:38 -04:00
Derrick Hammer 1e3e8f35bc
*Update StreamingRpcQuery result to handle connectModule properly 2022-08-31 19:15:40 -04:00
Derrick Hammer 498cbfbce5
*Override streamHandler since a function cannot be passed between modules 2022-08-31 19:04:44 -04:00
Derrick Hammer 7f6bd96b33
*Update and bug fix rpc classes 2022-08-31 17:32:52 -04:00
Derrick Hammer 34c91c15d7
*Default id should be 1 2022-08-31 15:25:18 -04:00
Derrick Hammer 9d04fa3933
*Add support for a network id 2022-08-31 14:42:26 -04:00
Derrick Hammer f4cb988053
*If an error, return it as a RPCResponse object instead of throwing an error 2022-08-30 22:17:39 -04:00
Derrick Hammer 7efa878f15
*Properly pass both query and options 2022-08-30 21:49:40 -04:00
Derrick Hammer 5345135b02
*Update to use new RPC protocol
*Add support for multiple RPC query types
2022-08-30 21:39:26 -04:00
Derrick Hammer 91896daff1
*Fix array override 2022-08-03 11:50:13 -04:00
Derrick Hammer 663f565c8d *Refactor action queue
*Dynamically load callModule and connectModule
2022-07-21 00:58:24 -04:00
Derrick Hammer f38c6f53cf Revert "*Process the queue in reverse"
This reverts commit 8986d45e8e.
2022-07-20 18:45:10 -04:00
Derrick Hammer 8986d45e8e *Process the queue in reverse 2022-07-20 18:36:47 -04:00
Derrick Hammer 38a599ce55 *Ensure we await on the promise not the wrapper 2022-07-20 18:31:55 -04:00
Derrick Hammer 833bb751bc *Use callbacks to ensure promises process serially 2022-07-20 18:25:27 -04:00
Derrick Hammer b2560e9b25 *Add more safety checks on window 2022-07-20 17:22:10 -04:00
Derrick Hammer 22fc7e73e2 *Process queued promises serially with try catch 2022-07-20 04:45:36 -04:00
Derrick Hammer 97a4d8d170 *Initial version 2022-07-20 03:35:58 -04:00