@routr/processor 2.12.1 → 2.13.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.
- package/dist/alterations.js +2 -1
- package/package.json +3 -3
package/dist/alterations.js
CHANGED
|
@@ -108,8 +108,9 @@ const addRouteToPeerEdgePort = (route) => (request) => {
|
|
|
108
108
|
};
|
|
109
109
|
exports.addRouteToPeerEdgePort = addRouteToPeerEdgePort;
|
|
110
110
|
const applyXHeaders = (route) => (request) => {
|
|
111
|
+
var _a;
|
|
111
112
|
const req = common_1.Helper.deepCopy(request);
|
|
112
|
-
if (route.headers
|
|
113
|
+
if (((_a = route.headers) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
113
114
|
const headersToRemove = route.headers
|
|
114
115
|
.filter((h) => h.action === common_1.CommonTypes.HeaderModifierAction.REMOVE)
|
|
115
116
|
.map((h) => h.name.toLowerCase());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/processor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "Processor server and API",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
|
24
24
|
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
|
25
25
|
"@opentelemetry/semantic-conventions": "^1.0.4",
|
|
26
|
-
"@routr/common": "^2.
|
|
26
|
+
"@routr/common": "^2.13.0",
|
|
27
27
|
"fp-ts": "^2.11.8",
|
|
28
28
|
"phone": "^3.1.32"
|
|
29
29
|
},
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"bugs": {
|
|
45
45
|
"url": "https://github.com/fonoster/routr/issues"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "6272ef833472f0df1204073739c48eeb37ce705f"
|
|
48
48
|
}
|