@illgrenoble/webx-client 1.10.2 → 1.10.4

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.
@@ -1428,13 +1428,13 @@ Guacamole.Keyboard = function Keyboard(element) {
1428
1428
  this.listenTo = function listenTo(element) {
1429
1429
 
1430
1430
  // When key pressed
1431
- element.addEventListener("keydown", keyDownListener, true);
1431
+ element.addEventListener("keydown", keyDownListener, {capture: true, passive: false});
1432
1432
 
1433
1433
  // When key pressed
1434
- element.addEventListener("keypress", keyPressListener, true);
1434
+ element.addEventListener("keypress", keyPressListener, {capture: true, passive: false});
1435
1435
 
1436
1436
  // When key released
1437
- element.addEventListener("keyup", keyUpListener, true);
1437
+ element.addEventListener("keyup", keyUpListener, {capture: true, passive: false});
1438
1438
 
1439
1439
 
1440
1440
  // Automatically type text entered into the wrapped field
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@illgrenoble/webx-client",
3
3
  "description": "Client javascript library to display WebX remote desktop in a browser.",
4
- "version": "1.10.2",
4
+ "version": "1.10.4",
5
5
  "scripts": {
6
6
  "lint": "eslint . --ext .ts",
7
7
  "lint:fix": "eslint . --ext .ts --fix",