@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.mjs CHANGED
@@ -440,7 +440,8 @@ var ConfigurationRestAPI = class {
440
440
  proxy: param.proxy && {
441
441
  host: param.proxy.host,
442
442
  port: param.proxy.port,
443
- auth: param.proxy.auth
443
+ ...param.proxy.protocol && { protocol: param.proxy.protocol },
444
+ ...param.proxy.auth && { auth: param.proxy.auth }
444
445
  },
445
446
  httpsAgent: param.httpsAgent ?? false,
446
447
  headers: {