@xkwdstore/agent 2.1.5 → 2.1.7

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.
@@ -992,6 +992,9 @@ async function _startSessionLocked(params, opts, accountKey, accountId, accountU
992
992
  // pin is still applied via proxyHostForDns.
993
993
  proxyServerUrl: requireProxy && !proxyBinding.proxyOption && proxyIdentity ? proxyIdentity.server : null,
994
994
  proxyHostForDns: requireProxy && proxyIdentity ? proxyIdentity.host : null,
995
+ // Credentials present => Chromium's authenticated-proxy HTTP/2 path, which
996
+ // stalls on Google properties. Pin HTTP/1.1 for this case only.
997
+ proxyAuthenticated: Boolean(proxyIdentity && proxyIdentity.username !== undefined && proxyIdentity.username !== ''),
995
998
  baseArgs: [
996
999
  '--disable-blink-features=AutomationControlled',
997
1000
  '--force-webrtc-ip-handling-policy=disable_non_proxied_udp',