Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 3a0fc7f1e2 chore(release): 0.0.2-develop.4 [skip ci]
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/libhyperproxy/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-08-02)

### Bug Fixes

* pass remoteAddress and remotePort as part of socket options ([608aace](608aace286))
2023-08-02 20:38:33 +00:00
Derrick Hammer 3e646eb473
Merge remote-tracking branch 'origin/develop' into develop 2023-08-02 16:37:30 -04:00
Derrick Hammer 608aace286
fix: pass remoteAddress and remotePort as part of socket options 2023-08-02 16:37:21 -04:00
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,10 @@
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/libhyperproxy/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-08-02)
### Bug Fixes
* pass remoteAddress and remotePort as part of socket options ([608aace](https://git.lumeweb.com/LumeWeb/libhyperproxy/commit/608aace286bc62b327954d369023412c40e8e83d))
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/libhyperproxy/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-08-02)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libhyperproxy",
"version": "0.0.2-develop.3",
"version": "0.0.2-develop.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libhyperproxy",
"version": "0.0.2-develop.3",
"version": "0.0.2-develop.4",
"dependencies": {
"binconv": "^0.2.0",
"compact-encoding": "^2.12.0",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libhyperproxy",
"version": "0.0.2-develop.3",
"version": "0.0.2-develop.4",
"main": "lib/index.js",
"type": "module",
"repository": {

View File

@ -190,7 +190,10 @@ export default class MultiSocketProxy extends Proxy {
const peer = this._nextPeer();
const socketId = nextSocketId();
const socket = new this.socketClass(socketId, this, peer, options);
const socket = new this.socketClass(socketId, this, peer, options, {
remoteAddress: options.host,
remotePort: options.port,
});
this._sockets.set(socketId, socket);
return socket;