steamutils 1.1.39 → 1.1.40
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2296,7 +2296,7 @@ class SteamUser {
|
|
2296
2296
|
i = MAX_RETRY
|
2297
2297
|
while (result?.data?.success !== true && i--) {
|
2298
2298
|
result = await _self._httpRequest(
|
2299
|
-
`${this.getMySteamUserProfileURL()}/gcpd/${AppID_CSGO}?ajax=1&tab=${matchHistoryType}
|
2299
|
+
`${this.getMySteamUserProfileURL()}/gcpd/${AppID_CSGO}?ajax=1&tab=${matchHistoryType}${token ? `&continue_token=${token}` : ''}&sessionid=${_self._sessionid}`)
|
2300
2300
|
}
|
2301
2301
|
if (!result.data) {
|
2302
2302
|
return null
|
@@ -2511,7 +2511,7 @@ class SteamUser {
|
|
2511
2511
|
const matches = []
|
2512
2512
|
|
2513
2513
|
do {
|
2514
|
-
result = await
|
2514
|
+
result = await this._getHistoryMatches(matchHistoryType, result?.continue_token)
|
2515
2515
|
stop = shouldStop({
|
2516
2516
|
maxPage,
|
2517
2517
|
currentPage: page,
|