Derrick Hammer
|
9c7f240056
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-08-02 15:19:04 -04:00 |
Derrick Hammer
|
3ed168abd7
|
fix: add stub unref method for UDP
|
2023-08-02 15:18:59 -04:00 |
semantic-release-bot
|
fa4209c869
|
chore(release): 0.0.2-develop.2 [skip ci]
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/libhyperproxy/compare/v0.0.2-develop.1...v0.0.2-develop.2) (2023-07-09)
### Bug Fixes
* import setTimeout so we are using the same instance in browser ([bb26fb3 ](bb26fb3955 ))
|
2023-07-09 14:59:57 +00:00 |
Derrick Hammer
|
bb26fb3955
|
fix: import setTimeout so we are using the same instance in browser
|
2023-07-09 10:59:14 -04:00 |
Derrick Hammer
|
62464627bc
|
Merge remote-tracking branch 'origin/develop' into develop
|
2023-07-08 01:18:06 -04:00 |
Derrick Hammer
|
a8811d9fae
|
chore: unneeded import
|
2023-07-08 01:03:49 -04:00 |
semantic-release-bot
|
03a8db88d8
|
chore(release): 0.0.2-develop.1 [skip ci]
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/libhyperproxy/compare/v0.0.1...v0.0.2-develop.1) (2023-07-05)
|
2023-07-05 10:26:20 +00:00 |
Derrick Hammer
|
2c931edb85
|
ci: add missing config
|
2023-07-05 06:25:15 -04:00 |
Derrick Hammer
|
abd3d1d136
|
ci: setup
|
2023-07-05 06:23:26 -04:00 |
Derrick Hammer
|
1ad6c1d692
|
refactor: bug fixes, added type asserts and use ? chaining where needed
|
2023-07-05 06:19:41 -04:00 |
Derrick Hammer
|
8797249ae5
|
refactor: switch to new devops
|
2023-07-05 06:17:57 -04:00 |
Derrick Hammer
|
85cc802977
|
*update dist
|
2023-04-16 19:00:57 -04:00 |
Derrick Hammer
|
eb65447adb
|
*convert data to buffer
|
2023-04-16 19:00:33 -04:00 |
Derrick Hammer
|
c2031b4c7f
|
*Update dist
|
2023-04-16 17:34:59 -04:00 |
Derrick Hammer
|
ec937e786b
|
* Refactor socket preencoding and encoding to use socketEncoding when _server is defined.
|
2023-04-16 17:34:42 -04:00 |
Derrick Hammer
|
f3e5cebe45
|
*update dist
|
2023-04-16 17:17:49 -04:00 |
Derrick Hammer
|
9cb6d0b6e4
|
* Fix typo in multiSocket.ts where "m" should be "m.id".
|
2023-04-16 17:17:31 -04:00 |
Derrick Hammer
|
e3e6757e47
|
* Refactor multiSocket.ts to check for server mode before checking for allowedPorts inclusion when accepting a new socket connection.
|
2023-04-16 17:13:47 -04:00 |
Derrick Hammer
|
3a1ea39a79
|
*Update dist
|
2023-04-16 14:29:26 -04:00 |
Derrick Hammer
|
e19e4c1744
|
* Add serializeError import to multiSocket.ts and implement preencode and encode functions using JSON serialization for error messages.
|
2023-04-16 14:29:07 -04:00 |
Derrick Hammer
|
3a41474b26
|
*update dist
|
2023-04-16 14:20:12 -04:00 |
Derrick Hammer
|
339dbba08c
|
* Fix error in multiSocket.ts where 'this' was used instead of 'self' to refer to the current object.
|
2023-04-16 14:19:55 -04:00 |
Derrick Hammer
|
c4c1fd8f6b
|
*Update dist
|
2023-04-16 14:15:51 -04:00 |
Derrick Hammer
|
623601df27
|
* Fix decoding method to correctly parse JSON data in multiSocket.ts.
|
2023-04-16 14:15:21 -04:00 |
Derrick Hammer
|
cfd5f69cfb
|
*Update dist
|
2023-04-16 07:11:59 -04:00 |
Derrick Hammer
|
bc85076e7f
|
* Refactor peer.ts to use call both handle and on* callbacks for open and close
* emit "peerChannelOpen" event on new channel open.
|
2023-04-16 07:11:39 -04:00 |
Derrick Hammer
|
85ff38d871
|
* Add initialization of messages and empty implementation of handleChannelOnOpen in Peer class.
|
2023-04-16 07:10:21 -04:00 |
Derrick Hammer
|
39499397ea
|
* Remove the invocation of the _onclose callback function when the socket is closed.
|
2023-04-16 07:09:42 -04:00 |
Derrick Hammer
|
1882752839
|
* Add await keyword to multiSocket.ts to await for message to be added to the peer channel.
|
2023-04-16 07:09:09 -04:00 |
Derrick Hammer
|
9791e7c4a1
|
*Update dist
|
2023-04-16 06:08:50 -04:00 |
Derrick Hammer
|
d30528caa0
|
* Add event emitter for when peer connection is established.
|
2023-04-16 06:08:31 -04:00 |
Derrick Hammer
|
b3d6fd4668
|
*Update dist
|
2023-04-16 05:48:53 -04:00 |
Derrick Hammer
|
b04db8668b
|
*Put _nextPeer into the constructor
|
2023-04-16 05:48:32 -04:00 |
Derrick Hammer
|
35bf05c25e
|
*Update dist
|
2023-04-16 05:38:59 -04:00 |
Derrick Hammer
|
f842cd84c4
|
**createSocket does not need to be async
|
2023-04-16 05:38:36 -04:00 |
Derrick Hammer
|
c3c8e6fb3b
|
*Update dist
|
2023-04-16 05:24:00 -04:00 |
Derrick Hammer
|
96dd1ad46e
|
* as public key may be from the web client, need to use new _getPublicKey utility that uses maybeGetAsyncProperty
|
2023-04-16 05:23:36 -04:00 |
Derrick Hammer
|
10a7b4ebc6
|
*Update dist
|
2023-04-16 03:42:14 -04:00 |
Derrick Hammer
|
1c9a430d5e
|
* Refactor handlePeer function to use async/await and emit "peer" event, and make Proxy class extend EventEmitter.
|
2023-04-16 03:41:50 -04:00 |
Derrick Hammer
|
8b678e81e8
|
*Update dist
|
2023-04-16 03:17:02 -04:00 |
Derrick Hammer
|
13ff64002d
|
* Update references from peer.socket to peer.stream in multiSocket.ts.
|
2023-04-16 03:16:40 -04:00 |
Derrick Hammer
|
40e139df0d
|
*Update dist
|
2023-04-16 03:06:53 -04:00 |
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 |