Derrick Hammer
|
7bbfe577c3
|
*Add getter for socket
|
2023-03-05 03:00:04 -05:00 |
Derrick Hammer
|
6c6f6c4954
|
*Add onchannel to allow creating additional messages
|
2023-03-03 05:22:29 -05:00 |
Derrick Hammer
|
b3a7c0b4e1
|
*Add getter for channel
|
2023-03-02 05:41:13 -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
|
4220037402
|
*Store channel as a private property
*Bind all callbacks to the current peer
|
2023-03-02 05:25: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
|
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
|
7980aa29c7
|
*Add websocket compatibility with readyState
|
2023-02-25 22:38:25 -05:00 |
Derrick Hammer
|
68cd8008a6
|
*add emulateWebsocket to proxy
|
2023-02-25 22:21:09 -05:00 |
Derrick Hammer
|
bdacd01849
|
*add emulateWebsocket to peer
|
2023-02-25 22:16:40 -05:00 |
Derrick Hammer
|
4d75c11299
|
*event message must pass a MessageEvent
|
2023-02-25 22:12:05 -05:00 |
Derrick Hammer
|
68c12f22be
|
*Add option to emulate a websocket
|
2023-02-25 22:10:00 -05:00 |
Derrick Hammer
|
11550659d0
|
*alias write to send to be WS compatible
|
2023-02-25 22:06:37 -05:00 |
Derrick Hammer
|
39471ad9c2
|
*Create on/off event handler aliases
|
2023-02-25 12:06:51 -05:00 |
Derrick Hammer
|
ab98103503
|
*Alias addListener and removeListener to have WS compatible API methods
|
2023-02-25 01:51:35 -05:00 |
Derrick Hammer
|
9a73a2625a
|
*Bug fix ip version detection
|
2023-02-24 23:51:50 -05:00 |
Derrick Hammer
|
5e41c10ab6
|
*Update pass peers public key
|
2023-02-24 23:14:36 -05:00 |
Derrick Hammer
|
108e1b3dd8
|
*Add remotePublicKey to socket class
|
2023-02-24 20:04:30 -05:00 |
Derrick Hammer
|
47c93b1f1a
|
*need to use socket destroy
|
2023-02-16 01:02:00 -05:00 |
Derrick Hammer
|
d48dde7bd1
|
*Add declares for readable and writable
|
2023-02-06 10:52:13 -05:00 |
Derrick Hammer
|
b4b30cbdea
|
*If data is a Uint8Array, convert to a buffer
|
2023-02-06 05:51:13 -05:00 |
Derrick Hammer
|
4e12788db5
|
*Initial commit
|
2023-01-12 12:39:23 -05:00 |