@routr/connect 2.13.9 → 2.13.10

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.
Files changed (2) hide show
  1. package/dist/router.js +4 -3
  2. package/package.json +5 -5
package/dist/router.js CHANGED
@@ -56,12 +56,13 @@ function router(location, apiClient) {
56
56
  if (!payload.allowedMethods.includes(common_1.Method.INVITE)) {
57
57
  return common_1.CommonResponse.createForbiddenResponse();
58
58
  }
59
+ const { ref, domainRef } = payload;
59
60
  caller = {
60
61
  apiVersion: common_1.CommonConnect.APIVersion.V2,
61
- ref: payload.ref,
62
+ ref,
62
63
  name: (_a = request.message.from.address.displayName) !== null && _a !== void 0 ? _a : common_1.CommonTypes.ANONYMOUS,
63
- domain: domain,
64
- domainRef: payload.domainRef,
64
+ domain,
65
+ domainRef,
65
66
  username: common_1.CommonTypes.ANONYMOUS,
66
67
  privacy: processor_1.Extensions.getHeaderValue(request, "Privacy"),
67
68
  enabled: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routr/connect",
3
- "version": "2.13.9",
3
+ "version": "2.13.10",
4
4
  "description": "Default processor",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/routr#readme",
@@ -28,9 +28,9 @@
28
28
  "@opentelemetry/sdk-trace-base": "^1.0.4",
29
29
  "@opentelemetry/sdk-trace-node": "^1.0.4",
30
30
  "@opentelemetry/semantic-conventions": "^1.0.4",
31
- "@routr/common": "^2.13.7",
32
- "@routr/location": "^2.13.9",
33
- "@routr/processor": "^2.13.9",
31
+ "@routr/common": "^2.13.10",
32
+ "@routr/location": "^2.13.10",
33
+ "@routr/processor": "^2.13.10",
34
34
  "jsonwebtoken": "^9.0.0"
35
35
  },
36
36
  "devDependencies": {
@@ -49,5 +49,5 @@
49
49
  "bugs": {
50
50
  "url": "https://github.com/fonoster/routr/issues"
51
51
  },
52
- "gitHead": "1759162c264d75d7f7cc161534b3bae65818d331"
52
+ "gitHead": "77c54bd11e67c097f998d4d8e75b648272eca579"
53
53
  }