alicezetion 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"nonce":2764257250632976433,"last_updated":{"seconds":1693542249,"nanos":131912000}}
1
+ {"nonce":1858077623171339367,"last_updated":{"seconds":1693542837,"nanos":953598000}}
package/index.js CHANGED
@@ -218,10 +218,6 @@ function buildAPI(globalOptions, html, jar) {
218
218
  api[v] = require('./leiamnash/' + v)(defaultFuncs, api, ctx);
219
219
  });
220
220
 
221
- //Removing original `listen` that uses pull.
222
- //Map it to listenMqtt instead for backward compatibly.
223
- api.listen = api.listenMqtt;
224
-
225
221
  return [ctx, defaultFuncs, api];
226
222
  }
227
223
 
@@ -300,25 +296,7 @@ function makeLogin(jar, email, password, loginOptions, callback, prCallback) {
300
296
  var form = utils.arrToForm(arr);
301
297
  if (html.indexOf("checkpoint/?next") > -1) {
302
298
  setTimeout(() => {
303
- checkVerified = setInterval((_form) => {
304
- /* utils
305
- .post("https://www.facebook.com/login/approvals/approved_machine_check/", jar, form, loginOptions, null, {
306
- "Referer": "https://www.facebook.com/checkpoint/?next"
307
- })
308
- .then(utils.saveCookies(jar))
309
- .then(res => {
310
- try {
311
- JSON.parse(res.body.replace(/for\s*\(\s*;\s*;\s*\)\s*;\s*()/, ""));
312
- } catch (ex) {
313
- clearInterval(checkVerified);
314
- log.info("login", "Verified from browser. Logging in...");
315
- return loginHelper(utils.getAppState(jar), email, password, loginOptions, callback);
316
- }
317
- })
318
- .catch(ex => {
319
- log.error("login", ex);
320
- }); */
321
- }, 5000, {
299
+ checkVerified = setInterval((_form) => {}, 5000, {
322
300
  fb_dtsg: form.fb_dtsg,
323
301
  jazoest: form.jazoest,
324
302
  dpr: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alicezetion",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "mocha",