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.
- package/index.js +3 -3
- 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
|
}
|