From c006526f69889896fe266ac7dcb48bad2f6eebba Mon Sep 17 00:00:00 2001 From: Alex Corn Date: Tue, 27 Jun 2023 04:28:28 -0400 Subject: [PATCH] Pass httpProxy down to steam-session --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index fcee9e6..42cb47a 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,9 @@ SteamCommunity.prototype.login = function(details) { // eslint-disable-next-line no-async-promise-executor return new Promise(async (resolve, reject) => { let platformType = details.authTokenPlatformType || EAuthTokenPlatformType.MobileApp; - let session = new LoginSession(platformType); + let session = new LoginSession(platformType, { + httpProxy: this._options.httpProxy + }); session.on('authenticated', async () => { try {