@serve.zone/remoteingress 4.10.0 → 4.12.0

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.10.0',
6
+ version: '4.12.0',
7
7
  description: 'Edge ingress tunnel for DcRouter - accepts incoming TCP connections at network edge and tunnels them to DcRouter SmartProxy preserving client IP via PROXY protocol v1.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwyQkFBMkI7SUFDakMsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHlLQUF5SztDQUN2TCxDQUFBIn0=
@@ -11,6 +11,7 @@ type TAllowedEdge = {
11
11
  id: string;
12
12
  secret: string;
13
13
  listenPorts?: number[];
14
+ listenPortsUdp?: number[];
14
15
  stunIntervalSecs?: number;
15
16
  };
16
17
  export declare class RemoteIngressHub extends EventEmitter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/remoteingress",
3
- "version": "4.10.0",
3
+ "version": "4.12.0",
4
4
  "private": false,
5
5
  "description": "Edge ingress tunnel for DcRouter - accepts incoming TCP connections at network edge and tunnels them to DcRouter SmartProxy preserving client IP via PROXY protocol v1.",
6
6
  "main": "dist_ts/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/remoteingress',
6
- version: '4.10.0',
6
+ version: '4.12.0',
7
7
  description: 'Edge ingress tunnel for DcRouter - accepts incoming TCP connections at network edge and tunnels them to DcRouter SmartProxy preserving client IP via PROXY protocol v1.'
8
8
  }
@@ -22,7 +22,7 @@ type THubCommands = {
22
22
  };
23
23
  updateAllowedEdges: {
24
24
  params: {
25
- edges: Array<{ id: string; secret: string; listenPorts?: number[]; stunIntervalSecs?: number }>;
25
+ edges: Array<{ id: string; secret: string; listenPorts?: number[]; listenPortsUdp?: number[]; stunIntervalSecs?: number }>;
26
26
  };
27
27
  result: { updated: boolean };
28
28
  };
@@ -50,7 +50,7 @@ export interface IHubConfig {
50
50
  };
51
51
  }
52
52
 
53
- type TAllowedEdge = { id: string; secret: string; listenPorts?: number[]; stunIntervalSecs?: number };
53
+ type TAllowedEdge = { id: string; secret: string; listenPorts?: number[]; listenPortsUdp?: number[]; stunIntervalSecs?: number };
54
54
 
55
55
  const MAX_RESTART_ATTEMPTS = 10;
56
56
  const MAX_RESTART_BACKOFF_MS = 30_000;