livedesk 0.1.105 → 0.1.106

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.105",
3
+ "version": "0.1.106",
4
4
  "description": "LiveDesk Hub and client launcher",
5
5
  "type": "module",
6
6
  "bin": {