@routr/edgeport 2.0.5-alpha.6 → 2.0.5-alpha.7
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.
- package/dist/config/schema.d.ts +1 -1
- package/dist/config/schema.js +2 -2
- package/dist/edgeport.js +3 -3
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
package/dist/config/schema.d.ts
CHANGED
package/dist/config/schema.js
CHANGED
|
@@ -55,8 +55,8 @@ exports.schema = {
|
|
|
55
55
|
"description": "Ipv4 interface to accept request on",
|
|
56
56
|
"type": "string"
|
|
57
57
|
},
|
|
58
|
-
"
|
|
59
|
-
"description": "EdgePort external addresses.
|
|
58
|
+
"externalIps": {
|
|
59
|
+
"description": "EdgePort external ip addresses.",
|
|
60
60
|
"type": "array",
|
|
61
61
|
"items": {
|
|
62
62
|
"type": "string"
|
package/dist/edgeport.js
CHANGED
|
@@ -17,10 +17,10 @@ function EdgePort(config) {
|
|
|
17
17
|
assertions_1.assertHasSecurityContext(config);
|
|
18
18
|
const sipStack = create_sip_stack_1.default(server_properties_1.default(config));
|
|
19
19
|
const sipProvider = create_sip_provider_1.default(sipStack, create_listening_points_1.default(sipStack, config));
|
|
20
|
-
const
|
|
20
|
+
const externalIps = new ArrayList();
|
|
21
21
|
const localnets = new ArrayList();
|
|
22
|
-
(_a = config.spec.
|
|
22
|
+
(_a = config.spec.externalIps) === null || _a === void 0 ? void 0 : _a.forEach((addr) => externalIps.add(addr));
|
|
23
23
|
(_b = config.spec.localnets) === null || _b === void 0 ? void 0 : _b.forEach((net) => localnets.add(net));
|
|
24
|
-
sipProvider.addSipListener(new GRPCSipListener(sipProvider, config,
|
|
24
|
+
sipProvider.addSipListener(new GRPCSipListener(sipProvider, config, externalIps, localnets));
|
|
25
25
|
}
|
|
26
26
|
exports.default = EdgePort;
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/edgeport",
|
|
3
|
-
"version": "2.0.5-alpha.
|
|
3
|
+
"version": "2.0.5-alpha.7",
|
|
4
4
|
"description": "SIP endpoint at the edge of the network",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"fp-ts": "^2.11.8"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "690b6fc677009c8c416c7c737b1cc5360b9ed7c7"
|
|
35
35
|
}
|