steamutils 1.0.40 → 1.0.41

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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4071,15 +4071,15 @@ class SteamUser {
4071
4071
  })
4072
4072
  const $ = cheerio.load(result?.data || '')
4073
4073
 
4074
- if($('#steam_authenticator_form #steam_authenticator_check[checked]')){
4074
+ if($('#steam_authenticator_form #steam_authenticator_check[checked]')?.length){
4075
4075
  return 'steam_authenticator'
4076
4076
  }
4077
4077
 
4078
- if($('#email_authenticator_form #email_authenticator_check[checked]')){
4078
+ if($('#email_authenticator_form #email_authenticator_check[checked]')?.length){
4079
4079
  return 'email_authenticator'
4080
4080
  }
4081
4081
 
4082
- if($('#none_authenticator_form #none_authenticator_check[checked]')){
4082
+ if($('#none_authenticator_form #none_authenticator_check[checked]')?.length){
4083
4083
  return 'none_authenticator'
4084
4084
  }
4085
4085
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "dependencies": {
5
5
  "axios": "^1.3.4",
6
6
  "cheerio": "^1.0.0-rc.12",