Commit Graph

73 Commits

Author SHA1 Message Date
Derrick Hammer 518bdca8ad
* Refactor Peer and MultiSocket classes to handle new peer channels more efficiently and cleanly. 2023-04-16 03:06:34 -04:00
Derrick Hammer 84bc6ce1cb
*update dist 2023-04-16 00:48:03 -04:00
Derrick Hammer 605f760fe3
*missing init 2023-04-16 00:47:45 -04:00
Derrick Hammer a8419313b5
*update dist 2023-04-15 22:38:07 -04:00
Derrick Hammer f11e3fed78
*implement handlePeer 2023-04-15 22:37:49 -04:00
Derrick Hammer 95d866c69e
*Remove _socketOptions overrides 2023-04-15 22:35:22 -04:00
Derrick Hammer 5fa5385249
*update dist 2023-04-15 22:17:57 -04:00
Derrick Hammer 774e84996e
*further refactoring 2023-04-15 22:17:30 -04:00
Derrick Hammer 4b1b828c69
*update dist 2023-04-15 19:45:35 -04:00
Derrick Hammer 8ea1ad3006
*make _socketOptions protected 2023-04-15 19:45:16 -04:00
Derrick Hammer ddf6b2c9d8
*add getter for socketOptions 2023-04-15 19:44:01 -04:00
Derrick Hammer 422c11b9b8
*update dist 2023-04-15 19:35:19 -04:00
Derrick Hammer b2b041c3a1
*override callbacks 2023-04-15 19:34:45 -04:00
Derrick Hammer d63fa22d00
*make protected 2023-04-15 19:34:24 -04:00
Derrick Hammer f8b8633287
*update dist 2023-04-15 18:40:09 -04:00
Derrick Hammer c01d866d8b
*refactoring
*create basicproxy
*create multisocket proxy with dummy and tcp socket classes based off IPFS proxy code
2023-04-15 18:39:47 -04:00
Derrick Hammer 22023baedc
*update dist 2023-04-09 12:24:05 -04:00
Derrick Hammer 94342e6929
*async fetch remotePublicKey 2023-04-09 12:23:49 -04:00
Derrick Hammer 6099a6c4f6
*Update dist 2023-04-09 12:15:38 -04:00
Derrick Hammer 5c666d38c0
*Need to async fetch rawStream 2023-04-09 12:15:23 -04:00
Derrick Hammer 94e817f045
*Update dist 2023-04-08 20:56:45 -04:00
Derrick Hammer 92245a6c1c
*As a kernel-based protomux may be used, need to await on createChannel and addMessage 2023-04-08 20:56:26 -04:00
Derrick Hammer 8e0edc4bcd
*Update dist 2023-03-15 08:14:29 -04:00
Derrick Hammer c1d495a54b
*add createDefaultMessage option to disable the default socket pipe 2023-03-15 08:14:07 -04:00
Derrick Hammer 27261fedd2
*Update dist 2023-03-07 03:25:02 -05:00
Derrick Hammer 2e639eb92a
*Move socket creation outside channel onopen 2023-03-07 03:24:15 -05:00
Derrick Hammer 619fe7913c
*Update dist 2023-03-05 03:00:28 -05:00
Derrick Hammer 7bbfe577c3
*Add getter for socket 2023-03-05 03:00:04 -05:00
Derrick Hammer 41984ae588
*Update dist 2023-03-03 05:22:55 -05:00
Derrick Hammer 6c6f6c4954
*Add onchannel to allow creating additional messages 2023-03-03 05:22:29 -05:00
Derrick Hammer b14509d6f1
*Update dist 2023-03-02 05:41:30 -05:00
Derrick Hammer b3a7c0b4e1
*Add getter for channel 2023-03-02 05:41:13 -05:00
Derrick Hammer baf0ac31e6
*Update dist 2023-03-02 05:37:30 -05:00
Derrick Hammer ae2ee61bec
*Update types and add new bound versions 2023-03-02 05:37:01 -05:00
Derrick Hammer b9611cecd7
*Update OnOpen type 2023-03-02 05:30:51 -05:00
Derrick Hammer e5f4f59477
*Don't bind this, but inject ourselves as the first argument 2023-03-02 05:30:14 -05:00
Derrick Hammer c9cfb64c80
*Update dist 2023-03-02 05:26:40 -05:00
Derrick Hammer 4220037402
*Store channel as a private property
*Bind all callbacks to the current peer
2023-03-02 05:25:50 -05:00
Derrick Hammer 1d4cb917c5
*update dist 2023-02-25 22:49:50 -05:00
Derrick Hammer 08b4bbc893
*make alias types optional 2023-02-25 22:49:34 -05:00
Derrick Hammer 3b7be7e892
*alias close to end 2023-02-25 22:48:57 -05:00
Derrick Hammer f89e2716f5
*Update dist 2023-02-25 22:47:19 -05:00
Derrick Hammer 84f2f96e12
*Change WS aliases to be conditional
*Remove on/off aliases since streamx already provides it
2023-02-25 22:46:34 -05:00
Derrick Hammer b1ad8399d3
*Update dist 2023-02-25 22:38:46 -05:00
Derrick Hammer 7980aa29c7
*Add websocket compatibility with readyState 2023-02-25 22:38:25 -05:00
Derrick Hammer d94eec7c7e
*update dist 2023-02-25 22:21:39 -05:00
Derrick Hammer 68cd8008a6
*add emulateWebsocket to proxy 2023-02-25 22:21:09 -05:00
Derrick Hammer 6b42c2400f
*Update dist 2023-02-25 22:16:59 -05:00
Derrick Hammer bdacd01849
*add emulateWebsocket to peer 2023-02-25 22:16:40 -05:00
Derrick Hammer 603d7c4e14
*update dist 2023-02-25 22:12:36 -05:00