@eleven-am/pondsocket 0.1.87 → 0.1.88
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.
- package/nest.js +3 -3
- package/package.json +1 -1
package/nest.js
CHANGED
|
@@ -369,7 +369,7 @@ function OnJoinRequest() {
|
|
|
369
369
|
if (typeof event === 'string' && isNotEmpty(rest)) {
|
|
370
370
|
response.send(event, rest, assigns);
|
|
371
371
|
}
|
|
372
|
-
else
|
|
372
|
+
else {
|
|
373
373
|
response.accept(assigns);
|
|
374
374
|
}
|
|
375
375
|
if (presence) {
|
|
@@ -401,7 +401,7 @@ function OnEvent(event = '*') {
|
|
|
401
401
|
if (typeof event === 'string' && isNotEmpty(rest)) {
|
|
402
402
|
response.send(event, rest, assigns);
|
|
403
403
|
}
|
|
404
|
-
else
|
|
404
|
+
else {
|
|
405
405
|
response.accept(assigns);
|
|
406
406
|
}
|
|
407
407
|
if (presence) {
|
|
@@ -436,7 +436,7 @@ function OnConnectionRequest() {
|
|
|
436
436
|
if (typeof event === 'string' && isNotEmpty(rest)) {
|
|
437
437
|
response.send(event, rest, assigns);
|
|
438
438
|
}
|
|
439
|
-
else
|
|
439
|
+
else {
|
|
440
440
|
response.accept(assigns);
|
|
441
441
|
}
|
|
442
442
|
}
|