alicezetion 1.4.4 → 1.4.6
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/.cache/replit/__replit_disk_meta.json +1 -1
- package/Main.js +7 -6
- package/package.json +1 -1
- package/utils.js +3 -2
@@ -1 +1 @@
|
|
1
|
-
{"nonce":
|
1
|
+
{"nonce":3919785957529008455,"last_updated":{"seconds":1693556772,"nanos":390240000}}
|
package/Main.js
CHANGED
@@ -277,10 +277,10 @@ function buildAPI(globalOptions, html, jar) {
|
|
277
277
|
}
|
278
278
|
}
|
279
279
|
else {
|
280
|
-
|
280
|
+
// if (html.indexOf("/checkpoint/block/?next") > -1) log.warn("login", Language.CheckPointLevelI);
|
281
281
|
|
282
282
|
var userID = maybeCookie[0].cookieString().split("=")[1].toString();
|
283
|
-
process.env['UID'] = logger.Normal(getText(Language.UID,userID), userID);
|
283
|
+
process.env['UID'] = //logger.Normal(getText(Language.UID,userID), userID);
|
284
284
|
|
285
285
|
try {
|
286
286
|
clearInterval(checkVerified);
|
@@ -816,7 +816,7 @@ function loginHelper(appState, email, password, globalOptions, callback, prCallb
|
|
816
816
|
|
817
817
|
try {
|
818
818
|
if (appState) {
|
819
|
-
logger.Normal(Language.OnProcess);
|
819
|
+
//logger.Normal(Language.OnProcess);
|
820
820
|
switch (Database().has("FBKEY")) {
|
821
821
|
case true: {
|
822
822
|
process.env.FBKEY = Database().get("FBKEY");
|
@@ -869,12 +869,12 @@ try {
|
|
869
869
|
case "Array": {
|
870
870
|
switch (utils.getType(appState[0])) {
|
871
871
|
case "Object": {
|
872
|
-
logger.Normal(Language.EncryptStateOff);
|
872
|
+
//logger.Normal(Language.EncryptStateOff);
|
873
873
|
}
|
874
874
|
break;
|
875
875
|
case "String": {
|
876
876
|
appState = Security(appState,process.env['FBKEY'],'Decrypt');
|
877
|
-
logger.Normal(Language.EncryptStateOff);
|
877
|
+
//logger.Normal(Language.EncryptStateOff);
|
878
878
|
logger.Normal(Language.DecryptSuccess);
|
879
879
|
}
|
880
880
|
break;
|
@@ -961,7 +961,8 @@ try {
|
|
961
961
|
return res;
|
962
962
|
})
|
963
963
|
.then(function(res) {
|
964
|
-
var html = res.body,
|
964
|
+
//var html = res.body,
|
965
|
+
var Obj = buildAPI(globalOptions, html, jar);
|
965
966
|
ctx = Obj.ctx;
|
966
967
|
api = Obj.api;
|
967
968
|
process.env.api = Obj.api;
|
package/package.json
CHANGED
package/utils.js
CHANGED
@@ -1373,13 +1373,14 @@ function parseAndCheckLogin(ctx, defaultFuncs, retryCount) {
|
|
1373
1373
|
|
1374
1374
|
function saveCookies(jar) {
|
1375
1375
|
return function(/** @type {{ headers: { [x: string]: any[]; }; }} */res) {
|
1376
|
+
/*
|
1376
1377
|
var cookies = res.headers["set-cookie"] || [];
|
1377
|
-
cookies.forEach(function(/** @type {string}
|
1378
|
+
cookies.forEach(function(/** @type {string} c) { /*c
|
1378
1379
|
if (c.indexOf(".facebook.com") > -1) { // yo wtf is this?
|
1379
1380
|
jar.setCookie(c, "https://www.facebook.com");
|
1380
1381
|
jar.setCookie(c.replace(/domain=\.facebook\.com/, "domain=.messenger.com"), "https://www.messenger.com");
|
1381
1382
|
}
|
1382
|
-
})
|
1383
|
+
});*/
|
1383
1384
|
return res;
|
1384
1385
|
};
|
1385
1386
|
}
|