steamutils 1.3.13 → 1.3.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +15 -2
  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 reports;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.3.13",
3
+ "version": "1.3.16",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "alpha-common-utils": "^1.0.5",