@fonoster/callrecord 0.32.0 → 0.34.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.
Files changed (2) hide show
  1. package/dist/vcon.js +1 -1
  2. package/package.json +3 -3
package/dist/vcon.js CHANGED
@@ -156,7 +156,7 @@ function buildVcon(callRef, entries, options) {
156
156
  startedAt = e.at;
157
157
  }
158
158
  else if (e.source === "event" && type === "call.failed") {
159
- failure !== null && failure !== void 0 ? failure : (failure = Object.assign({ reason: String(m.reason) }, (typeof m.sipStatus === "number" ? { sipStatus: m.sipStatus } : {})));
159
+ failure !== null && failure !== void 0 ? failure : (failure = Object.assign(Object.assign({ reason: String(m.reason) }, (typeof m.sipStatus === "number" ? { sipStatus: m.sipStatus } : {})), (typeof m.provider === "string" ? { provider: m.provider } : {})));
160
160
  }
161
161
  else if (e.source === "event" && type === "amd.result") {
162
162
  amd !== null && amd !== void 0 ? amd : (amd = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ status: String((_j = m.status) !== null && _j !== void 0 ? _j : "unknown") }, (typeof m.confidence === "number"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/callrecord",
3
- "version": "0.32.0",
3
+ "version": "0.34.1",
4
4
  "description": "Call records: working records during calls, sealed and signed vCon files after hangup",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@aws-sdk/client-s3": "^3.958.0",
20
- "@fonoster/logger": "^0.32.0"
20
+ "@fonoster/logger": "^0.34.1"
21
21
  },
22
22
  "files": [
23
23
  "dist",
@@ -39,5 +39,5 @@
39
39
  "devDependencies": {
40
40
  "ajv": "^8.18.0"
41
41
  },
42
- "gitHead": "26503065668ba982e416f9fec44e3b090fb9ae88"
42
+ "gitHead": "f521d836e94a24a5b17a25fba3e03e680637016d"
43
43
  }