@dongdev/fca-unofficial 3.0.28 → 3.0.29

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.
@@ -9,8 +9,6 @@ const { getFrom } = require("../src/utils/constants");
9
9
  const { loadConfig } = require("./config");
10
10
  const { config } = loadConfig();
11
11
  const axiosBase = require("axios");
12
- const parseUserHtml = require("./parseUseerHtml");
13
-
14
12
  const regions = [
15
13
  { code: "PRN", name: "Pacific Northwest Region", location: "Khu vực Tây Bắc Thái Bình Dương" },
16
14
  { code: "VLL", name: "Valley Region", location: "Valley" },
@@ -1056,7 +1054,6 @@ function loginHelper(appState, Cookie, email, password, globalOptions, callback)
1056
1054
  let fb_dtsg;
1057
1055
  let irisSeqID;
1058
1056
  try {
1059
- parseUserHtml(html);
1060
1057
  const m1 = html.match(/"endpoint":"([^"]+)"/);
1061
1058
  const m2 = m1 ? null : html.match(/endpoint\\":\\"([^\\"]+)\\"/);
1062
1059
  const raw = (m1 && m1[1]) || (m2 && m2[1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dongdev/fca-unofficial",
3
- "version": "3.0.28",
3
+ "version": "3.0.29",
4
4
  "description": "Unofficial Facebook Chat API for Node.js - Interact with Facebook Messenger programmatically",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",