appium-webdriveragent 16.17.8 → 16.17.9

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
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [16.17.9](https://github.com/appium/appium-ios/compare/appium-webdriveragent@16.17.8...appium-webdriveragent@16.17.9) (2026-11-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ * compare with lowercase for the direction in scroll ([#148](https://github.com/appium/appium-ios/issues/148)) ([4709a5c](https://github.com/appium/appium-ios/commit/4709a5c85e8d4b437a1641b22e3a1e69bef9d23a))
11
+
12
+
6
13
  ## [16.17.8](https://github.com/appium/appium-ios/compare/appium-webdriveragent@16.17.7...appium-webdriveragent@16.17.8) (2026-11-02)
7
14
 
8
15
  ### Bug Fixes
@@ -403,13 +403,14 @@
403
403
  if (direction) {
404
404
  NSString *const distanceString = request.arguments[@"distance"] ?: @"1.0";
405
405
  CGFloat distance = (CGFloat)distanceString.doubleValue;
406
- if ([direction isEqualToString:@"up"]) {
406
+ NSString *const directionLower = direction.lowercaseString;
407
+ if ([directionLower isEqualToString:@"up"]) {
407
408
  [element fb_scrollUpByNormalizedDistance:distance];
408
- } else if ([direction isEqualToString:@"down"]) {
409
+ } else if ([directionLower isEqualToString:@"down"]) {
409
410
  [element fb_scrollDownByNormalizedDistance:distance];
410
- } else if ([direction isEqualToString:@"left"]) {
411
+ } else if ([directionLower isEqualToString:@"left"]) {
411
412
  [element fb_scrollLeftByNormalizedDistance:distance];
412
- } else if ([direction isEqualToString:@"right"]) {
413
+ } else if ([directionLower isEqualToString:@"right"]) {
413
414
  [element fb_scrollRightByNormalizedDistance:distance];
414
415
  }
415
416
  return FBResponseWithOK();
@@ -15,11 +15,11 @@
15
15
  <key>CFBundlePackageType</key>
16
16
  <string>FMWK</string>
17
17
  <key>CFBundleShortVersionString</key>
18
- <string>16.17.8</string>
18
+ <string>16.17.9</string>
19
19
  <key>CFBundleSignature</key>
20
20
  <string>????</string>
21
21
  <key>CFBundleVersion</key>
22
- <string>16.17.8</string>
22
+ <string>16.17.9</string>
23
23
  <key>NSPrincipalClass</key>
24
24
  <string/>
25
25
  </dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "16.17.8",
3
+ "version": "16.17.9",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "keywords": [
6
6
  "Appium",
@@ -83,5 +83,5 @@
83
83
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
84
84
  "npm": ">=10"
85
85
  },
86
- "gitHead": "83d81c71b44903ff841c9af14f508768ad76fb0d"
86
+ "gitHead": "afeb9cd03af16c7f3cea23633c82d715642c4e58"
87
87
  }