appium-webdriveragent 7.1.1 → 7.1.2

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
+ ## [7.1.2](https://github.com/appium/WebDriverAgent/compare/v7.1.1...v7.1.2) (2024-03-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Always assume en0 is the WiFi interface ([#864](https://github.com/appium/WebDriverAgent/issues/864)) ([6dbfb3f](https://github.com/appium/WebDriverAgent/commit/6dbfb3f2ec8e0bfa5a42c6f8ab882893bfe3f534))
7
+
1
8
  ## [7.1.1](https://github.com/appium/WebDriverAgent/compare/v7.1.0...v7.1.1) (2024-03-13)
2
9
 
3
10
 
@@ -70,7 +70,7 @@ typedef NS_ENUM(NSUInteger, FBUIInterfaceAppearance) {
70
70
  - (nullable NSData *)fb_screenshotWithError:(NSError*__autoreleasing*)error;
71
71
 
72
72
  /**
73
- Returns device current wifi ip4 address
73
+ Returns device's current wifi ip4 address
74
74
  */
75
75
  - (nullable NSString *)fb_wifiIPAddress;
76
76
 
@@ -134,7 +134,7 @@ static bool fb_isLocked;
134
134
  continue;
135
135
  }
136
136
  NSString *interfaceName = [NSString stringWithUTF8String:temp_addr->ifa_name];
137
- if(![interfaceName containsString:@"en"]) {
137
+ if(![interfaceName isEqualToString:@"en0"]) {
138
138
  temp_addr = temp_addr->ifa_next;
139
139
  continue;
140
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-webdriveragent",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Package bundling WebDriverAgent",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {