@sipgate/integration-bridge 0.12.7 → 0.12.8
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.extractHeaderMiddleware = void 0;
|
|
4
|
-
const DEFAULT_LOCALE = "
|
|
4
|
+
const DEFAULT_LOCALE = "en-GB";
|
|
5
5
|
function extractHeaderMiddleware(req, res, next) {
|
|
6
6
|
const apiKey = req.get("x-provider-key") || "";
|
|
7
7
|
const apiUrl = req.get("x-provider-url") || "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sipgate/integration-bridge",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.8",
|
|
4
4
|
"description": "sipgate Integration Bridge Framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -58,20 +58,20 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/body-parser": "1.19.2",
|
|
60
60
|
"@types/compression": "1.7.2",
|
|
61
|
-
"@types/cors": "2.8.
|
|
61
|
+
"@types/cors": "2.8.13",
|
|
62
62
|
"@types/express": "4.17.14",
|
|
63
63
|
"@types/jest": "28.1.8",
|
|
64
64
|
"@types/lru-cache": "7.10.9",
|
|
65
|
-
"@types/node": "18.11.
|
|
65
|
+
"@types/node": "18.11.13",
|
|
66
66
|
"@types/redis": "4.0.10",
|
|
67
67
|
"husky": "8.0.2",
|
|
68
68
|
"jest": "28.1.3",
|
|
69
69
|
"lint-staged": "13.1.0",
|
|
70
70
|
"node-mocks-http": "1.12.1",
|
|
71
|
-
"prettier": "2.8.
|
|
71
|
+
"prettier": "2.8.1",
|
|
72
72
|
"rimraf": "3.0.2",
|
|
73
73
|
"ts-jest": "28.0.8",
|
|
74
|
-
"typescript": "4.9.
|
|
74
|
+
"typescript": "4.9.4"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"ajv": "^8.11.0",
|