@serve.zone/remoteingress 4.14.1 → 4.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/remoteingress',
6
- version: '4.14.1',
6
+ version: '4.14.2',
7
7
  description: 'Edge ingress tunnel for DcRouter - tunnels TCP and UDP traffic from the network edge to SmartProxy over TLS or QUIC, preserving client IP via PROXY protocol.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwyQkFBMkI7SUFDakMsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLCtKQUErSjtDQUM3SyxDQUFBIn0=
package/license.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Task Venture Capital GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/remoteingress",
3
- "version": "4.14.1",
3
+ "version": "4.14.2",
4
4
  "private": false,
5
5
  "description": "Edge ingress tunnel for DcRouter - tunnels TCP and UDP traffic from the network edge to SmartProxy over TLS or QUIC, preserving client IP via PROXY protocol.",
6
6
  "main": "dist_ts/index.js",
@@ -14,17 +14,17 @@
14
14
  "buildDocs": "(tsdoc)"
15
15
  },
16
16
  "devDependencies": {
17
- "@git.zone/tsbuild": "^4.1.2",
18
- "@git.zone/tsbundle": "^2.8.3",
19
- "@git.zone/tsrun": "^2.0.1",
20
- "@git.zone/tsrust": "^1.3.0",
21
- "@git.zone/tstest": "^3.1.8",
17
+ "@git.zone/tsbuild": "^4.4.0",
18
+ "@git.zone/tsbundle": "^2.10.0",
19
+ "@git.zone/tsrun": "^2.0.2",
20
+ "@git.zone/tsrust": "^1.3.2",
21
+ "@git.zone/tstest": "^3.6.0",
22
22
  "@push.rocks/tapbundle": "^6.0.3",
23
- "@types/node": "^25.3.0"
23
+ "@types/node": "^25.5.0"
24
24
  },
25
25
  "dependencies": {
26
26
  "@push.rocks/qenv": "^6.1.3",
27
- "@push.rocks/smartrust": "^1.2.1"
27
+ "@push.rocks/smartrust": "^1.3.2"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",
@@ -47,7 +47,7 @@
47
47
  "dist_rust/**/*",
48
48
  "assets/**/*",
49
49
  "cli.js",
50
- "npmextra.json",
50
+ ".smartconfig.json",
51
51
  "readme.md"
52
52
  ],
53
53
  "keywords": [
package/readme.md CHANGED
@@ -189,7 +189,7 @@ Tokens are base64url-encoded — safe for environment variables, CLI arguments,
189
189
 
190
190
  | Method / Property | Description |
191
191
  |-------------------|-------------|
192
- | `start(config?)` | Start the hub. Config: `{ tunnelPort?: number, targetHost?: string }`. Listens on both TCP and UDP (QUIC) on the tunnel port. |
192
+ | `start(config?)` | Start the hub. Config: `{ tunnelPort?, targetHost?, tls?: { certPem?, keyPem? } }`. Listens on both TCP and UDP (QUIC) on the tunnel port. |
193
193
  | `stop()` | Graceful shutdown. |
194
194
  | `updateAllowedEdges(edges)` | Set authorized edges. Each: `{ id, secret, listenPorts?, listenPortsUdp?, stunIntervalSecs? }`. Port changes are pushed to connected edges in real time. |
195
195
  | `getStatus()` | Returns `{ running, tunnelPort, connectedEdges: [...] }`. |
@@ -221,6 +221,10 @@ Tokens are base64url-encoded — safe for environment variables, CLI arguments,
221
221
  interface IHubConfig {
222
222
  tunnelPort?: number; // default: 8443
223
223
  targetHost?: string; // default: '127.0.0.1'
224
+ tls?: {
225
+ certPem?: string; // PEM-encoded TLS certificate
226
+ keyPem?: string; // PEM-encoded TLS private key
227
+ };
224
228
  }
225
229
 
226
230
  interface IEdgeConfig {
@@ -372,7 +376,7 @@ await edge.start({ token });
372
376
 
373
377
  ## License and Legal Information
374
378
 
375
- This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.
379
+ This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license](./license.md) file.
376
380
 
377
381
  **Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
378
382
 
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/remoteingress',
6
- version: '4.14.1',
6
+ version: '4.14.2',
7
7
  description: 'Edge ingress tunnel for DcRouter - tunnels TCP and UDP traffic from the network edge to SmartProxy over TLS or QUIC, preserving client IP via PROXY protocol.'
8
8
  }
File without changes