@routr/edgeport 2.6.4 → 2.7.1
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/fs.d.ts +6 -6
- package/dist/config/fs.js +6 -6
- package/dist/config/schema.js +1 -1
- package/dist/server_properties.js +1 -0
- package/dist/tracer.js +1 -1
- package/package.json +3 -3
package/dist/config/fs.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ export declare const isFile: (path: string) => any;
|
|
|
6
6
|
* Reads a file and returns a JSON object or throws an error.
|
|
7
7
|
* The file must be a valid JSON, YAML, or TOML file.
|
|
8
8
|
*
|
|
9
|
-
* @param {string} path - The path to the file
|
|
10
|
-
* @return {object} The JSON object
|
|
11
|
-
* @throws {Error} If the file is not a valid JSON, YAML, or TOML file
|
|
12
|
-
* @throws {Error} If the file does not exist
|
|
13
|
-
* @throws {Error} If the file is not readable
|
|
14
|
-
* @throws {Error} If the file is empty
|
|
9
|
+
* @param {string} path - The path to the file
|
|
10
|
+
* @return {object} The JSON object
|
|
11
|
+
* @throws {Error} If the file is not a valid JSON, YAML, or TOML file
|
|
12
|
+
* @throws {Error} If the file does not exist
|
|
13
|
+
* @throws {Error} If the file is not readable
|
|
14
|
+
* @throws {Error} If the file is empty
|
|
15
15
|
*/
|
|
16
16
|
export declare const readConfigFile: (path: string) => JsonObject;
|
package/dist/config/fs.js
CHANGED
|
@@ -46,12 +46,12 @@ exports.isFile = isFile;
|
|
|
46
46
|
* Reads a file and returns a JSON object or throws an error.
|
|
47
47
|
* The file must be a valid JSON, YAML, or TOML file.
|
|
48
48
|
*
|
|
49
|
-
* @param {string} path - The path to the file
|
|
50
|
-
* @return {object} The JSON object
|
|
51
|
-
* @throws {Error} If the file is not a valid JSON, YAML, or TOML file
|
|
52
|
-
* @throws {Error} If the file does not exist
|
|
53
|
-
* @throws {Error} If the file is not readable
|
|
54
|
-
* @throws {Error} If the file is empty
|
|
49
|
+
* @param {string} path - The path to the file
|
|
50
|
+
* @return {object} The JSON object
|
|
51
|
+
* @throws {Error} If the file is not a valid JSON, YAML, or TOML file
|
|
52
|
+
* @throws {Error} If the file does not exist
|
|
53
|
+
* @throws {Error} If the file is not readable
|
|
54
|
+
* @throws {Error} If the file is empty
|
|
55
55
|
*/
|
|
56
56
|
const readConfigFile = (path) => {
|
|
57
57
|
if (!(0, exports.exists)(path) || !(0, exports.isFile)(path)) {
|
package/dist/config/schema.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.schema = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright (C)
|
|
5
|
+
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|
|
6
6
|
* http://github.com/fonoster/routr
|
|
7
7
|
*
|
|
8
8
|
* This file is part of Routr
|
|
@@ -23,6 +23,7 @@ function getServerProperties(config) {
|
|
|
23
23
|
// Guard against denial of service attack.
|
|
24
24
|
properties.setProperty("gov.nist.javax.sip.MAX_MESSAGE_SIZE", "1048576");
|
|
25
25
|
properties.setProperty("gov.nist.javax.sip.LOG_MESSAGE_CONTENT", "true");
|
|
26
|
+
properties.setProperty("gov.nist.javax.sip.DELIVER_UNSOLICITED_NOTIFY", "true");
|
|
26
27
|
// Default host
|
|
27
28
|
properties.setProperty("javax.sip.IP_ADDRESS", config.spec.bindAddr);
|
|
28
29
|
if (config.spec.securityContext) {
|
package/dist/tracer.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.init = void 0;
|
|
7
7
|
/*
|
|
8
|
-
* Copyright (C)
|
|
8
|
+
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|
|
9
9
|
* http://github.com/fonoster/routr
|
|
10
10
|
*
|
|
11
11
|
* This file is part of Routr
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/edgeport",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
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",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"url": "https://github.com/fonoster/routr/issues"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@routr/common": "^2.
|
|
32
|
+
"@routr/common": "^2.7.0",
|
|
33
33
|
"ajv": "^6.12.6",
|
|
34
34
|
"fp-ts": "^2.11.8",
|
|
35
35
|
"js-yaml": "^4.1.0",
|
|
36
36
|
"toml": "^3.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "1d208c03146ce0fa2a7f0e4996f4377059e54e77"
|
|
39
39
|
}
|