steamutils 1.3.13 → 1.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +15 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -6157,11 +6157,24 @@ class SteamUser {
|
|
6157
6157
|
miniprofile: playerMiniprofile,
|
6158
6158
|
url: playerURL,
|
6159
6159
|
name: playerName,
|
6160
|
-
}
|
6160
|
+
},
|
6161
6161
|
reportContents,
|
6162
6162
|
})
|
6163
6163
|
})
|
6164
|
-
return
|
6164
|
+
return {
|
6165
|
+
reports,
|
6166
|
+
token: continue_token,
|
6167
|
+
text: continue_text
|
6168
|
+
};
|
6169
|
+
}
|
6170
|
+
|
6171
|
+
async getAllPlayerReports(onPageCb) {
|
6172
|
+
let token = null
|
6173
|
+
do {
|
6174
|
+
const result = await this.getPlayerReports(token)
|
6175
|
+
token = result.token
|
6176
|
+
onPageCb?.(result)
|
6177
|
+
} while (token)
|
6165
6178
|
}
|
6166
6179
|
}
|
6167
6180
|
|