channel-worker 1.0.28 → 1.0.29

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.
@@ -620,10 +620,14 @@ class CommandPoller {
620
620
  await new Promise(r => setTimeout(r, 300));
621
621
  // Type text
622
622
  await send('Input.insertText', { text });
623
- // Press Enter if requested
623
+ // Press Enter/comma if requested (to confirm tag)
624
624
  if (press_enter) {
625
- await send('Input.dispatchKeyEvent', { type: 'keyDown', key: 'Enter', code: 'Enter', windowsVirtualKeyCode: 13 });
626
- await send('Input.dispatchKeyEvent', { type: 'keyUp', key: 'Enter', code: 'Enter', windowsVirtualKeyCode: 13 });
625
+ // Type comma to separate tags (Facebook accepts comma as delimiter)
626
+ await send('Input.insertText', { text: ',' });
627
+ await new Promise(r => setTimeout(r, 300));
628
+ // Also press Enter
629
+ await send('Input.dispatchKeyEvent', { type: 'rawKeyDown', key: 'Enter', code: 'Enter', windowsVirtualKeyCode: 13, nativeVirtualKeyCode: 13 });
630
+ await send('Input.dispatchKeyEvent', { type: 'keyUp', key: 'Enter', code: 'Enter', windowsVirtualKeyCode: 13, nativeVirtualKeyCode: 13 });
627
631
  }
628
632
  ws.close();
629
633
  resolve({ success: true, length: text.length });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "Channel Manager worker daemon — runs on remote machines to execute video pipeline jobs",
5
5
  "main": "lib/daemon.js",
6
6
  "bin": {