steamutils 1.2.61 → 1.2.62
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- 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 {
|