steamutils 1.1.12 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +5 -1
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -854,6 +854,7 @@ function SteamClient({
|
|
854
854
|
invite,
|
855
855
|
steamId,
|
856
856
|
timestamp,
|
857
|
+
from_limited_account: data.from_limited_account,
|
857
858
|
})
|
858
859
|
|
859
860
|
});
|
@@ -1051,7 +1052,10 @@ function SteamClient({
|
|
1051
1052
|
const ownedAppsCount = shouldLog ? (ownedApps?.length || 0) : 0
|
1052
1053
|
let recommendedApps = Math.random() > 0.5 ? _.shuffle(userData.rgRecommendedApps || []) : []
|
1053
1054
|
if (!recommendedApps?.length) {
|
1054
|
-
|
1055
|
+
try {
|
1056
|
+
recommendedApps = (await axios.request({url: 'https://raw.githubusercontent.com/5x/easy-steam-free-packages/master/src/script/packages_db.json'}))?.data?.packages || []
|
1057
|
+
} catch (e) {
|
1058
|
+
}
|
1055
1059
|
}
|
1056
1060
|
_.remove(recommendedApps, app => ownedApps.includes(app))
|
1057
1061
|
recommendedApps = _.shuffle(recommendedApps)
|