@binance/common 1.2.3 → 1.2.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/dist/index.js CHANGED
@@ -568,7 +568,8 @@ var ConfigurationRestAPI = class {
568
568
  proxy: param.proxy && {
569
569
  host: param.proxy.host,
570
570
  port: param.proxy.port,
571
- auth: param.proxy.auth
571
+ ...param.proxy.protocol && { protocol: param.proxy.protocol },
572
+ ...param.proxy.auth && { auth: param.proxy.auth }
572
573
  },
573
574
  httpsAgent: param.httpsAgent ?? false,
574
575
  headers: {