appium-webdriveragent 5.12.0 → 5.12.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.12.1](https://github.com/appium/WebDriverAgent/compare/v5.12.0...v5.12.1) (2023-10-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * when 0 is given for handleKeyboardInput ([#798](https://github.com/appium/WebDriverAgent/issues/798)) ([58ebe8e](https://github.com/appium/WebDriverAgent/commit/58ebe8eb52966963ee30a5c066beb3bf9fed3161))
7
+
1
8
  ## [5.12.0](https://github.com/appium/WebDriverAgent/compare/v5.11.7...v5.12.0) (2023-10-26)
2
9
 
3
10
 
@@ -551,7 +551,7 @@
551
551
  + (id<FBResponsePayload>)handleKeyboardInput:(FBRouteRequest *)request
552
552
  {
553
553
  FBElementCache *elementCache = request.session.elementCache;
554
- BOOL hasElement = nil != request.parameters[@"uuid"];
554
+ BOOL hasElement = ![request.parameters[@"uuid"] isEqual:@"0"];
555
555
  XCUIElement *destination = hasElement
556
556
  ? [elementCache elementForUUID:(NSString *)request.parameters[@"uuid"]]
557
557
  : request.session.activeApplication;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "5.12.0",
3
+ "version": "5.12.1",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {