@dongdev/fca-unofficial 0.0.3 → 0.0.4
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/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -79,7 +79,7 @@ function setOptions(globalOptions, options) {
|
|
79
79
|
}
|
80
80
|
}
|
81
81
|
|
82
|
-
function buildAPI(globalOptions, html, jar) {
|
82
|
+
function buildAPI(globalOptions, html, jar, bypass_region_err) {
|
83
83
|
var maybeCookie = jar.getCookies("https://www.facebook.com").filter(function (val) {
|
84
84
|
return val.cookieString().split("=")[0] === "c_user";
|
85
85
|
});
|
@@ -129,6 +129,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
129
129
|
}
|
130
130
|
else {
|
131
131
|
log.warn("login", "Cannot get MQTT region & sequence ID.");
|
132
|
+
log.info('login', 'Bypass vùng tài khoản thành công');
|
132
133
|
noMqttData = html;
|
133
134
|
}
|
134
135
|
}
|
@@ -159,6 +160,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
159
160
|
};
|
160
161
|
|
161
162
|
if (noMqttData) api["htmlData"] = noMqttData;
|
163
|
+
if (bypass_region_err) log.info('login', 'Bypass vùng tài khoản thành công');
|
162
164
|
|
163
165
|
const apiFuncNames = [
|
164
166
|
'addExternalModule',
|