@observertc/observer-js 0.9.25-beta → 0.9.26-beta
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"joinClientProcess.d.ts","sourceRoot":"","sources":["../../src/processes/joinClientProcess.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAI3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,OAAO,EAAE,0BAA0B,EAAE,CAAC;IAEtC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;CAC9C,CAAC;AAEF,wBAAgB,uBAAuB,CACtC,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,gBAAgB,GACvB,CAAC,KAAK,EAAE,sBAAsB,KAAK,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"joinClientProcess.d.ts","sourceRoot":"","sources":["../../src/processes/joinClientProcess.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAG9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAI3C,MAAM,MAAM,sBAAsB,GAAG;IACpC,OAAO,EAAE,0BAA0B,EAAE,CAAC;IAEtC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;CAC9C,CAAC;AAEF,wBAAgB,uBAAuB,CACtC,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,gBAAgB,GACvB,CAAC,KAAK,EAAE,sBAAsB,KAAK,OAAO,CAAC,IAAI,CAAC,CAqHlD"}
|
|
@@ -49,7 +49,7 @@ function createJoinClientProcess(storageProvider, reports) {
|
|
|
49
49
|
const newCalls = new Map();
|
|
50
50
|
const newClients = new Map();
|
|
51
51
|
for (const joinedClient of joinedClients) {
|
|
52
|
-
const { serviceId, mediaUnitId, roomId, callId, clientId, joined: timestamp, timeZoneId, marker } = joinedClient;
|
|
52
|
+
const { serviceId, mediaUnitId, roomId, callId, clientId, userId, joined: timestamp, timeZoneId, marker } = joinedClient;
|
|
53
53
|
let call = existingCalls.get(callId);
|
|
54
54
|
if (!call) {
|
|
55
55
|
call = new Models.Call({
|
|
@@ -78,6 +78,7 @@ function createJoinClientProcess(storageProvider, reports) {
|
|
|
78
78
|
joined: BigInt(timestamp),
|
|
79
79
|
timeZoneId,
|
|
80
80
|
marker,
|
|
81
|
+
userId,
|
|
81
82
|
}));
|
|
82
83
|
}
|
|
83
84
|
const alreadyInsertedCalls = 0 < newCalls.size ? yield callStorage.insertAll(newCalls) : new Map();
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ export function createJoinClientProcess(
|
|
|
33
33
|
const newClients = new Map<string, Models.Client>();
|
|
34
34
|
|
|
35
35
|
for (const joinedClient of joinedClients) {
|
|
36
|
-
const { serviceId, mediaUnitId, roomId, callId, clientId, joined: timestamp, timeZoneId, marker } = joinedClient;
|
|
36
|
+
const { serviceId, mediaUnitId, roomId, callId, clientId, userId, joined: timestamp, timeZoneId, marker } = joinedClient;
|
|
37
37
|
|
|
38
38
|
let call = existingCalls.get(callId);
|
|
39
39
|
|
|
@@ -68,6 +68,7 @@ export function createJoinClientProcess(
|
|
|
68
68
|
joined: BigInt(timestamp),
|
|
69
69
|
timeZoneId,
|
|
70
70
|
marker,
|
|
71
|
+
userId,
|
|
71
72
|
})
|
|
72
73
|
);
|
|
73
74
|
}
|