livedesk 0.1.105 → 0.1.107
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/hub/src/server.js
CHANGED
|
@@ -862,6 +862,11 @@ inputWss.on('connection', ws => {
|
|
|
862
862
|
const deviceId = String(payload?.deviceId || '').trim();
|
|
863
863
|
const input = payload?.input && typeof payload.input === 'object' ? payload.input : payload;
|
|
864
864
|
const result = remoteHub.sendInputControl(deviceId, input);
|
|
865
|
+
const fireAndForget = payload?.fireAndForget === true
|
|
866
|
+
|| String(input?.type || '').toLowerCase() === 'pointermove';
|
|
867
|
+
if (fireAndForget && result?.ok) {
|
|
868
|
+
return;
|
|
869
|
+
}
|
|
865
870
|
sendJson(ws, {
|
|
866
871
|
type: result?.ok ? 'RemoteInputQueued' : 'RemoteInputError',
|
|
867
872
|
requestId: payload?.requestId || '',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "livedesk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.107",
|
|
4
4
|
"description": "LiveDesk Hub and client launcher",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"node": ">=20"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@livedesk/client": "0.1.
|
|
33
|
+
"@livedesk/client": "0.1.77",
|
|
34
34
|
"cors": "^2.8.5",
|
|
35
35
|
"express": "^4.21.2",
|
|
36
36
|
"ws": "^8.18.3"
|