Commit Graph

59 Commits

Author SHA1 Message Date
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
Derrick Hammer 237e5796a8
*If object is null, default to empty object 2022-08-14 09:26:23 -04:00
Derrick Hammer 03a5933394 *Update dist 2022-07-31 23:11:31 -04:00
Derrick Hammer 681d3f4b9f *Ensure object is an array to handle both arrays and objects 2022-07-31 23:11:22 -04:00
Derrick Hammer 1174999864 *Add missing files 2022-07-31 23:02:03 -04:00
Derrick Hammer 9095cd5b5a *Update dist 2022-07-31 23:00:49 -04:00
Derrick Hammer 5cefe245af *Use custom json flatten algorithm to ensure deterministic hashing 2022-07-31 23:00:17 -04:00
Derrick Hammer 29271df627 *Update dist 2022-07-31 21:04:17 -04:00
Derrick Hammer 94c9cea074 *Update deps 2022-07-31 21:04:08 -04:00
Derrick Hammer eeffce5f02 *prettier 2022-07-31 21:03:35 -04:00
Derrick Hammer 8ecb7722b4 *Use json-stable-stringify to ensure deterministic json 2022-07-31 21:03:03 -04:00
Derrick Hammer cf3853702f *Use NodeJS.Timeout type 2022-07-31 21:02:27 -04:00
Derrick Hammer 8c95ddc07b *add typedef 2022-07-27 18:49:11 -04:00
Derrick Hammer ffbbc71c48 *Update dist 2022-07-26 21:25:47 -04:00
Derrick Hammer 9ad9010a96 *Promise property should be optional and cast 2022-07-26 21:25:38 -04:00
Derrick Hammer f14f32215c *Update dist 2022-07-26 20:59:27 -04:00
Derrick Hammer d3d94c7162 *Lazy load dht ready promise 2022-07-26 20:58:41 -04:00
Derrick Hammer efa8b50463 *Update dist 2022-07-25 21:58:53 -04:00
Derrick Hammer bce3f6d175 *Use js suffix 2022-07-25 21:58:44 -04:00
Derrick Hammer 33fc4e9190 *add typescript devdep 2022-07-25 21:58:22 -04:00
Derrick Hammer 2baf7a1eec *Update dist 2022-07-23 11:43:05 -04:00
Derrick Hammer bd4ac1584b *Add error file with const's for future use 2022-07-23 11:42:29 -04:00
Derrick Hammer 563173bd95 *Add a timeout for querying a relay with rejection 2022-07-23 11:41:58 -04:00
Derrick Hammer c7eede8435 *RPC/DHT protocol now uses a command before the data to separate it from other communications 2022-07-23 11:40:44 -04:00
Derrick Hammer cfc519b57b *add timeout setting for individual relay 2022-07-23 11:39:17 -04:00
Derrick Hammer 7d0bf7a538 *Update dist 2022-07-20 02:04:37 -04:00
Derrick Hammer 77f4d63186 *Add build command 2022-07-20 02:04:16 -04:00
Derrick Hammer 9a2f37a3b0 *rename promise to result 2022-07-19 20:30:07 -04:00
Derrick Hammer 79bf18a2ed *Update dist 2022-07-19 14:48:27 -04:00
Derrick Hammer 47daf47f45 *Add libskynet as dep 2022-07-19 14:47:56 -04:00
Derrick Hammer 42d53b6137 *Rwrite checkResponses 2022-07-19 14:47:33 -04:00
Derrick Hammer da06f787dc *DHT connect in queryRelay can be a promise 2022-07-19 14:46:10 -04:00
Derrick Hammer 1c18b041f3 *Move from require to import 2022-07-19 14:43:28 -04:00
Derrick Hammer d7ec437ce3 *Update dist 2022-06-27 16:26:13 -04:00