@fox
function challengeMe(error){
return Client.Web.Challenge.resolve(error,'phone')
.then(function(challenge){
console.log(challenge.type);
if(challenge.type !== 'phone' || challenge.type !== 'email') return;
await BAS_API("solve_base64("manual","BAS_USER_ASK" + "Ð—Ð°Ð¿Ñ€Ð¾Ñ Ð½Ð¾Ð¼ÐµÑ€Ð° Ð´Ð»Ñ " + VAR_ACCOUNT_LOGIN)!\nVAR_PHONE = _result()");
return challenge.phone('VAR_PHONE')
.then(function(){return challenge});
})
.then(function(challenge){
return challenge.code('123456');
})
.then(function(challenge){
return loginAndFollow(device, storage, user, password);
})
}