meta-horizonn 1.3.5 → 1.3.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/Main.js +1 -1
- package/package.json +1 -1
- package/src/unsendMqttMessage.js +2 -2
- package/utils.js +14 -14
package/Main.js
CHANGED
@@ -369,7 +369,7 @@ function BypassAutomationNotification(response, jar, globalOptions, appstate,ID)
|
|
369
369
|
*/
|
370
370
|
|
371
371
|
function buildAPI(globalOptions, html, jar, bypass_region) {
|
372
|
-
const fb_dtsg = utils.
|
372
|
+
const fb_dtsg = utils.getFrom(html, '["DTSGInitData",[],{"token":"', '","')[0];
|
373
373
|
|
374
374
|
// var maybeCookie = jar.getCookies("https://www.facebook.com").filter(function(/** @type {{ cookieString: () => string; }} */val) { return val.cookieString().split("=")[0] === "c_user"; });
|
375
375
|
//check tiktik
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "meta-horizonn",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.6",
|
4
4
|
"description": "Facebook-Chat-API Protect and Deploy by Kanzu and HZI Team. Kem is redeveloped. Rename package is Meta Horizonn and package supported ChatBot Messenger.",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
package/src/unsendMqttMessage.js
CHANGED
package/utils.js
CHANGED
@@ -3016,21 +3016,21 @@ function cleanHTML (text) {
|
|
3016
3016
|
|
3017
3017
|
module.exports = {
|
3018
3018
|
cleanHTML,
|
3019
|
-
isReadableStream:isReadableStream,
|
3020
|
-
get:get,
|
3021
|
-
post:post,
|
3022
|
-
postFormData:postFormData,
|
3023
|
-
generateThreadingID:generateThreadingID,
|
3024
|
-
generateOfflineThreadingID:generateOfflineThreadingID,
|
3025
|
-
getGUID:getGUID,
|
3026
|
-
getFrom:getFrom,
|
3027
|
-
makeParsable:makeParsable,
|
3028
|
-
arrToForm:arrToForm,
|
3029
|
-
getSignatureID:getSignatureID,
|
3019
|
+
isReadableStream: isReadableStream,
|
3020
|
+
get: get,
|
3021
|
+
post: post,
|
3022
|
+
postFormData: postFormData,
|
3023
|
+
generateThreadingID: generateThreadingID,
|
3024
|
+
generateOfflineThreadingID: generateOfflineThreadingID,
|
3025
|
+
getGUID: getGUID,
|
3026
|
+
getFrom: getFrom,
|
3027
|
+
makeParsable: makeParsable,
|
3028
|
+
arrToForm: arrToForm,
|
3029
|
+
getSignatureID: getSignatureID,
|
3030
3030
|
getJar: request.jar,
|
3031
|
-
generateTimestampRelative:generateTimestampRelative,
|
3032
|
-
makeDefaults:makeDefaults,
|
3033
|
-
parseAndCheckLogin:parseAndCheckLogin,
|
3031
|
+
generateTimestampRelative: generateTimestampRelative,
|
3032
|
+
makeDefaults: makeDefaults,
|
3033
|
+
parseAndCheckLogin: parseAndCheckLogin,
|
3034
3034
|
getGender: getGenderByPhysicalMethod,
|
3035
3035
|
getData_Path,
|
3036
3036
|
setData_Path,
|