steamutils 1.1.72 → 1.1.74
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2455,7 +2455,7 @@ class SteamUser {
|
|
2455
2455
|
p.teamScore = p.team === 'ct' ? ctScore : tScore
|
2456
2456
|
})
|
2457
2457
|
|
2458
|
-
const matchIDs = [matchInfo.map, matchInfo.time, matchInfo.
|
2458
|
+
const matchIDs = [matchInfo.map, matchInfo.time, matchInfo.duration]
|
2459
2459
|
const nonHashMatchID = matchIDs.join('').replaceAll(/[^a-zA-Z0-9]/gi, '')
|
2460
2460
|
const matchID = sha256(nonHashMatchID).toString()
|
2461
2461
|
|
@@ -3189,6 +3189,7 @@ class SteamUser {
|
|
3189
3189
|
const friendBlockContent = friendBlock.find('.friendBlockContent')
|
3190
3190
|
friendBlock.find('.friendSmallText .whiteLink').remove()
|
3191
3191
|
const friendSmallText = friendBlockContent.find('.friendSmallText').text()?.trim()
|
3192
|
+
const avatar = friendBlock.find('.playerAvatar > img').attr('src')
|
3192
3193
|
|
3193
3194
|
const playingTime = {
|
3194
3195
|
last2Week: '',
|
@@ -3211,6 +3212,7 @@ class SteamUser {
|
|
3211
3212
|
name,
|
3212
3213
|
onlineStatus,
|
3213
3214
|
miniprofile,
|
3215
|
+
avatar,
|
3214
3216
|
})
|
3215
3217
|
})
|
3216
3218
|
}
|