kuzzle 2.53.0-beta.1 → 2.54.0-beta.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.
|
@@ -521,9 +521,7 @@ class SecurityController extends baseController_1.NativeController {
|
|
|
521
521
|
*/
|
|
522
522
|
async mGetUsers(request) {
|
|
523
523
|
let ids;
|
|
524
|
-
if (request.input.body &&
|
|
525
|
-
request.input.body.ids &&
|
|
526
|
-
Object.keys(request.input.body.ids).length) {
|
|
524
|
+
if (request.input.body?.ids && Object.keys(request.input.body.ids).length) {
|
|
527
525
|
ids = request.getBodyArray("ids");
|
|
528
526
|
}
|
|
529
527
|
else {
|
|
@@ -431,7 +431,7 @@ class HotelClerk {
|
|
|
431
431
|
this.logger.error(`Cannot remove room "${roomId}": room not found`);
|
|
432
432
|
throw realtimeError.get("room_not_found", roomId);
|
|
433
433
|
}
|
|
434
|
-
for (const channel of
|
|
434
|
+
for (const channel of room.channels.keys()) {
|
|
435
435
|
global.kuzzle.entryPoint.leaveChannel(channel, connectionId);
|
|
436
436
|
}
|
|
437
437
|
room.removeConnection(connectionId);
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kuzzle",
|
|
3
3
|
"author": "The Kuzzle Team <support@kuzzle.io>",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.54.0-beta.1",
|
|
5
5
|
"description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "rm -Rf ./dist && tsc && node ./bin/copy-protobuf.js",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kuzzle",
|
|
3
3
|
"author": "The Kuzzle Team <support@kuzzle.io>",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.54.0-beta.1",
|
|
5
5
|
"description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "rm -Rf ./dist && tsc && node ./bin/copy-protobuf.js",
|