steamutils 1.2.61 → 1.2.62

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6002,7 +6002,7 @@ class SteamUser {
6002
6002
  return null
6003
6003
  }
6004
6004
  const $ = cheerio.load(response)
6005
- const text = $('.help_event_limiteduser .help_event_limiteduser_spend').text()
6005
+ const text = $('.help_event_limiteduser .help_event_limiteduser_spend').text().replaceAll(/[\t\n\r]/gi, ' ').replaceAll(/\s+/g, ' ').trim()
6006
6006
  if (text?.startsWith("Amount Spent on Steam")) {
6007
6007
  return text
6008
6008
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.61",
3
+ "version": "1.2.62",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.5.1",