steamutils 1.1.40 → 1.1.41
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2483,7 +2483,8 @@ class SteamUser {
|
|
2483
2483
|
if (!Started_playing_CS_GO || !(Started_playing_CS_GO = moment(Started_playing_CS_GO.replace('GMT', '+00'), `YYYY-MM-DD HH:mm:ss Z`)).isValid()) {
|
2484
2484
|
Started_playing_CS_GO = null
|
2485
2485
|
}
|
2486
|
-
|
2486
|
+
|
2487
|
+
await Promise.all(matchHistoryTypes.map(async (matchHistoryType) => {
|
2487
2488
|
results[matchHistoryType] = await this._getFullHistoryMatches({
|
2488
2489
|
matchHistoryType,
|
2489
2490
|
cbOnMatch,
|
@@ -2492,7 +2493,8 @@ class SteamUser {
|
|
2492
2493
|
Started_playing_CS_GO,
|
2493
2494
|
shouldStop,
|
2494
2495
|
})
|
2495
|
-
}
|
2496
|
+
}))
|
2497
|
+
|
2496
2498
|
return results
|
2497
2499
|
}
|
2498
2500
|
|