fca-naughty1 1.4.7 → 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +27 -11
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- /**
3
+ /*
4
4
  FACEBOOK CHAT API BY NAUGHTY
5
5
  */
6
6
 
@@ -32,8 +32,8 @@ global.Fca = new Object({
32
32
  "Language": "en",
33
33
  "PreKey": "",
34
34
  "AutoUpdate": false,
35
- "MainColor": "#9900FF",
36
- "MainName": "[ FCA-PRIYANSH ]",
35
+ "MainColor": "#00FFFF",
36
+ "MainName": "[ FCA-ÑAUGHTY ]",
37
37
  "Logo": true,
38
38
  "Uptime": true,
39
39
  "Config": "default",
@@ -41,12 +41,12 @@ global.Fca = new Object({
41
41
  "AutoLogin": false,
42
42
  "BroadCast": true,
43
43
  "AuthString": "SD4S XQ32 O2JA WXB3 FUX2 OPJ7 Q7JZ 4R6Z | https://i.imgur.com/RAg3rvw.png Please remove this !, Recommend If You Using getUserInfoV2",
44
- "EncryptFeature": true,
44
+ "EncryptFeature": false,
45
45
  "ResetDataLogin": false,
46
46
  "AutoRestartMinutes": 0,
47
47
  "HTML": {
48
48
  "HTML": true,
49
- "UserName": "Guest",
49
+ "UserName": "Naughty",
50
50
  "MusicLink": "https://drive.google.com/uc?id=1zlAALlxk1TnO7jXtEP_O6yvemtzA2ukA&export=download"
51
51
  }
52
52
  },
@@ -91,7 +91,23 @@ global.Fca = new Object({
91
91
  });
92
92
 
93
93
  /!-[ Check File To Run Process ]-!/
94
- console.log("UNOFFICIAL FACEBOOK CHAT API MADE BY FARIS");
94
+ console.log(`┌────────────────────────────────────────────────────────────────────────────────┐
95
+ │ │
96
+ │ │
97
+ │ │
98
+ │ ███╗ ██╗ █████╗ ██╗ ██╗ ██████╗ ██╗ ██╗████████╗██╗ ██╗ │
99
+ │ ████╗ ██║██╔══██╗██║ ██║██╔════╝ ██║ ██║╚══██╔══╝╚██╗ ██╔╝ │
100
+ │ ██╔██╗ ██║███████║██║ ██║██║ ███╗███████║ ██║ ╚████╔╝ │
101
+ │ ██║╚██╗██║██╔══██║██║ ██║██║ ██║██╔══██║ ██║ ╚██╔╝ │
102
+ │ ██║ ╚████║██║ ██║╚██████╔╝╚██████╔╝██║ ██║ ██║ ██║ │
103
+ │ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ │
104
+ │ │
105
+ │ │
106
+ │ FCA-NAUGHTY1 │
107
+ │ Version: 1.4.8 │
108
+ └────────────────────────────────────────────────────────────────────────────────┘`);
109
+
110
+
95
111
  let Boolean_Fca = ["AutoUpdate","Uptime","BroadCast","EncryptFeature","AutoLogin","ResetDataLogin","Login2Fa","Logo"];
96
112
  let String_Fca = ["MainName","PreKey","Language","AuthString","Config"]
97
113
  let Number_Fca = ["AutoRestartMinutes"];
@@ -350,7 +366,7 @@ function buildAPI(globalOptions, html, jar) {
350
366
  }
351
367
  case false: {
352
368
  throw { error: global.Fca.Require.Language.Index.ErrAppState };
353
-
369
+
354
370
  }
355
371
  }
356
372
  }
@@ -375,7 +391,7 @@ function buildAPI(globalOptions, html, jar) {
375
391
  }
376
392
 
377
393
  let Slot = Object.keys(CHECK_MQTT);
378
-
394
+
379
395
  var mqttEndpoint,region,irisSeqID;
380
396
  Object.keys(CHECK_MQTT).map(function(MQTT) {
381
397
  if (CHECK_MQTT[MQTT] && !region) {
@@ -571,7 +587,7 @@ function makeLogin(jar, email, password, loginOptions, callback, prCallback) {
571
587
  $("form input").map((i, v) => arr.push({ val: $(v).val(), name: $(v).attr("name") }));
572
588
  arr = arr.filter(v => { return v.val && v.val.length });
573
589
  var from2 = utils.arrToForm(arr);
574
-
590
+
575
591
  if (html.indexOf("checkpoint/?next") > -1) {
576
592
  setTimeout(() => {
577
593
  checkVerified = setInterval((_form) => {}, 5000, {
@@ -1281,7 +1297,7 @@ function login(loginData, options, callback) {
1281
1297
  emitReady: false,
1282
1298
  userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8"
1283
1299
  };
1284
-
1300
+
1285
1301
  if (loginData.email && loginData.password) {
1286
1302
  setOptions(globalOptions, {
1287
1303
  logLevel: "silent",
@@ -1307,7 +1323,7 @@ function login(loginData, options, callback) {
1307
1323
  };
1308
1324
  callback = prCallback;
1309
1325
  }
1310
-
1326
+
1311
1327
  (async function() {
1312
1328
  var Premium = require("./Extra/Src/Premium");
1313
1329
  global.Fca.Data.PremText = await Premium(global.Fca.Require.Security.create().uuid) || "Bạn Đang Sài Phiên Bản: Free !";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fca-naughty1",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Facebook-chat-api by Naughty",
5
5
  "main": "index.js",
6
6
  "scripts": {