appium-uiautomator2-driver 3.5.2 → 3.5.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.
package/lib/driver.ts CHANGED
@@ -947,18 +947,18 @@ class AndroidUiautomator2Driver
947
947
  }
948
948
 
949
949
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
950
- proxyActive(sessionId: string) {
950
+ proxyActive(sessionId: string): boolean {
951
951
  // we always have an active proxy to the UiAutomator2 server
952
952
  return true;
953
953
  }
954
954
 
955
955
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
956
- canProxy(sessionId: string) {
956
+ canProxy(sessionId: string): boolean {
957
957
  // we can always proxy to the uiautomator2 server
958
958
  return true;
959
959
  }
960
960
 
961
- getProxyAvoidList() {
961
+ getProxyAvoidList(): RouteMatcher[] {
962
962
  // we are maintaining two sets of NO_PROXY lists, one for chromedriver(CHROME_NO_PROXY)
963
963
  // and one for uiautomator2(NO_PROXY), based on current context will return related NO_PROXY list
964
964
  if (util.hasValue(this.chromedriver)) {