Merge branch 'master' into v4

# Conflicts:
#	components/http.js
#	components/users.js
#	package.json
This commit is contained in:
Alex Corn 2023-04-24 17:57:25 -04:00
commit b98997a595
No known key found for this signature in database
GPG Key ID: E51989A3E7A27FDF
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ SteamCommunity.prototype._checkCommunityError = function(html, callback) {
return err;
}
if (typeof html == 'string' && html.match(/g_steamID = false;/) && html.match(/<h1>Sign In<\/h1>/)) {
if (typeof html == 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('<title>Sign In</title>') > -1) {
err = new Error('Not Logged In');
callback(err);
this._notifySessionExpired(err);

View File

@ -518,7 +518,7 @@ SteamCommunity.prototype.getUserInventoryContents = function(userID, appID, cont
},
qs: {
l: language, // Default language
count: 5000, // Max items per 'page'
count: 2000, // Max items per 'page'
start_assetid: start
},
json: true