Commit Graph

142 Commits

Author SHA1 Message Date
Derrick Hammer a226c7deea
Revert "*Update dist"
This reverts commit b7978ddc0d.
2022-09-20 06:13:51 -04:00
Derrick Hammer 1d73d23700
Revert "*add a _timeoutCanceled property and abort handeTimeout if true"
This reverts commit 309b9b0ac6.
2022-09-20 06:13:38 -04:00
Derrick Hammer f9036e1c73
Revert "*Switch from clearing the timeout to setting the _timeoutCanceled flag"
This reverts commit b50f7036ff.
2022-09-20 06:13:37 -04:00
Derrick Hammer b7978ddc0d
*Update dist 2022-09-18 16:03:13 -04:00
Derrick Hammer b50f7036ff
*Switch from clearing the timeout to setting the _timeoutCanceled flag 2022-09-18 16:02:39 -04:00
Derrick Hammer 309b9b0ac6
*add a _timeoutCanceled property and abort handeTimeout if true 2022-09-18 16:01:51 -04:00
Derrick Hammer c841b45013
*Update dist 2022-09-09 22:25:58 -04:00
Derrick Hammer 4478eb3a23
*Remove unneeded return 2022-09-09 22:25:30 -04:00
Derrick Hammer 3d52e6fd7b
*Update dist 2022-09-09 22:13:47 -04:00
Derrick Hammer 88377a75ce
*If the error is a timeout, flag it to the resolve method 2022-09-09 22:05:22 -04:00
Derrick Hammer 62ef56b554
*Change how we check/clear the timer 2022-09-09 22:04:55 -04:00
Derrick Hammer 9a04c82a5b
*Update dist 2022-09-09 21:21:04 -04:00
Derrick Hammer 0eb1e33fce
*Clear query timer with relay timer 2022-09-09 21:20:37 -04:00
Derrick Hammer 3485a3f533
Change how we clear the timer 2022-09-09 21:18:02 -04:00
Derrick Hammer a3cb70fa24
*Update dist 2022-09-09 06:05:13 -04:00
Derrick Hammer 46f693a1f2
*Handle edge case if we have no responses 2022-09-09 06:04:02 -04:00
Derrick Hammer e6ec3cdc4c
*Update dist 2022-08-31 20:56:56 -04:00
Derrick Hammer e151647e8f
*If stream is canceled remove listener to prevent repeat cancel messages 2022-08-31 20:56:21 -04:00
Derrick Hammer f201005112
*Update dist 2022-08-31 20:45:09 -04:00
Derrick Hammer bba6fa89be
*If the stream is canceled send a message with a cancel property 2022-08-31 20:44:47 -04:00
Derrick Hammer 327c429d1e
*Update dist 2022-08-31 19:59:06 -04:00
Derrick Hammer dafe044e00
*Add support for canceling a streaming query and stop the data stream 2022-08-31 19:58:44 -04:00
Derrick Hammer 925bbba9e5
*Update dist 2022-08-31 19:35:23 -04:00
Derrick Hammer 26fd962090
*ensure passed streamHandler overrides options 2022-08-31 19:35:04 -04:00
Derrick Hammer 403297c255
*Update dist 2022-08-30 22:49:05 -04:00
Derrick Hammer a4f0f10a85
*Add bypassCache to simpleQuery 2022-08-30 22:48:46 -04:00
Derrick Hammer 70a6092079
*Update dist 2022-08-30 22:43:05 -04:00
Derrick Hammer ac8b1d4bf2
*Only close socket when stream is done 2022-08-30 22:42:43 -04:00
Derrick Hammer c750fce402
*Update dist 2022-08-28 23:19:45 -04:00
Derrick Hammer 4f855110f5
*Resolve should return a RPCResponse 2022-08-28 23:17:04 -04:00
Derrick Hammer bb0841cf4a
*Consolidate code to flatHash helper 2022-08-28 23:16:33 -04:00
Derrick Hammer 2785bdfa50
*Update dist 2022-08-28 22:18:04 -04:00
Derrick Hammer 951a7e3426
*Move to use @lumeweb/relay-types 2022-08-28 22:14:33 -04:00
Derrick Hammer ac53e5833a
*Update dist 2022-08-28 02:33:49 -04:00
Derrick Hammer 00ccbc9536
*Dont call init in constructor
*Rename init to run
*Make run a chained method and not async
2022-08-28 02:26:40 -04:00
Derrick Hammer b5bb0c1889
*Duplicate init call 2022-08-28 02:12:44 -04:00
Derrick Hammer ea2dc58838
*Missing typeof 2022-08-28 02:12:19 -04:00
Derrick Hammer a8121f0a39
*Update dist 2022-08-27 15:13:00 -04:00
Derrick Hammer e6e160c6ca
*Fix import 2022-08-27 15:12:42 -04:00
Derrick Hammer 11acd58320
*ERR_NOT_READY not needed 2022-08-27 15:11:01 -04:00
Derrick Hammer fb849550db
*Heavily refactor to use new RPC schema
*Create basic, wisdom, and streaming rpc request variants
2022-08-27 15:09:34 -04:00
Derrick Hammer f7a8b69a55
*Update dist 2022-08-18 19:20:23 -04:00
Derrick Hammer cc5c988ce7
*Add safety check on timer 2022-08-18 19:20:06 -04:00
Derrick Hammer b00e598c07
*Fix import 2022-08-18 19:17:41 -04:00
Derrick Hammer 801ae6cd4c
*add typecast 2022-08-18 19:17:32 -04:00
Derrick Hammer 152522e579
*Add error property to RPCResponse 2022-08-18 19:17:12 -04:00
Derrick Hammer d7b0c7d4de
*Update force to bypassCache 2022-08-18 19:10:07 -04:00
Derrick Hammer ef62888c31
*Update dist 2022-08-14 09:44:50 -04:00
Derrick Hammer 2a7fa853c9
*Add a max retry limit 2022-08-14 09:44:32 -04:00
Derrick Hammer 12db0806a8
*Update dist 2022-08-14 09:27:02 -04:00