meta-horizonn 1.3.9 → 1.4.0
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 +4 -4
- package/package.json +1 -1
- package/utils.js +2 -1
package/Main.js
CHANGED
@@ -440,7 +440,7 @@ else userID = maybeUser[0].cookieString().split("=")[1].toString();
|
|
440
440
|
switch (Slot.indexOf(MQTT)) {
|
441
441
|
case 0: {
|
442
442
|
irisSeqID = CHECK_MQTT[MQTT][1];
|
443
|
-
mqttEndpoint = CHECK_MQTT[MQTT][2];
|
443
|
+
mqttEndpoint = CHECK_MQTT[MQTT][2].replace(/\\\//g, "/");
|
444
444
|
region = new URL(mqttEndpoint).searchParams.get("region").toUpperCase();
|
445
445
|
return;
|
446
446
|
}
|
@@ -451,14 +451,14 @@ else userID = maybeUser[0].cookieString().split("=")[1].toString();
|
|
451
451
|
return;
|
452
452
|
}
|
453
453
|
case 2: {
|
454
|
-
mqttEndpoint = CHECK_MQTT[MQTT][
|
454
|
+
mqttEndpoint = CHECK_MQTT[MQTT][2].replace(/\\\//g, "/"); // is important lmao f?
|
455
455
|
region = new URL(mqttEndpoint).searchParams.get("region").toUpperCase();
|
456
456
|
return;
|
457
457
|
}
|
458
458
|
}
|
459
459
|
return;
|
460
460
|
}
|
461
|
-
});
|
461
|
+
});
|
462
462
|
|
463
463
|
const regions = [
|
464
464
|
{
|
@@ -1255,7 +1255,7 @@ try {
|
|
1255
1255
|
.then(function(res){
|
1256
1256
|
// console.log('okay');
|
1257
1257
|
// global.Fca.Require.fs.writeFileSync('./AAAAA.html', JSON.stringify(res.body, null, 2));
|
1258
|
-
var html = res.body,Obj = buildAPI(globalOptions, html, jar, bypass_region_err);
|
1258
|
+
var html = res.body, Obj = buildAPI(globalOptions, html, jar, bypass_region_err);
|
1259
1259
|
ctx = Obj.ctx;
|
1260
1260
|
api = Obj.api;
|
1261
1261
|
// process.env.api = Obj.api;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "meta-horizonn",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.4.0",
|
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": {
|