@observertc/observer-js
Advanced tools
Comparing version 0.9.12-beta to 0.9.13-beta
@@ -7,3 +7,3 @@ "use strict"; | ||
function visitClient(observedClient, client, reports, fetchSamples) { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l; | ||
const { mediaUnitId, clientId, userId } = observedClient; | ||
@@ -108,4 +108,4 @@ const { callId, serviceId, roomId } = observedClient.call; | ||
userId, | ||
timestamp: Date.now(), | ||
...callEvent, | ||
timestamp: (_l = callEvent.timestamp) !== null && _l !== void 0 ? _l : Date.now(), | ||
}); | ||
@@ -112,0 +112,0 @@ } |
{ | ||
"name": "@observertc/observer-js", | ||
"version": "0.9.12-beta", | ||
"version": "0.9.13-beta", | ||
"description": "Server Side NodeJS Library for processing ObserveRTC Samples", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -139,4 +139,4 @@ import { ObservedClient } from '../../samples/ObservedClient'; | ||
userId, | ||
timestamp: Date.now(), | ||
...callEvent, | ||
timestamp: callEvent.timestamp ?? Date.now(), | ||
}); | ||
@@ -143,0 +143,0 @@ } |
1008019