node-ainzfb-new 1.5.9 → 1.6.1-test
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/.gitattributes +0 -0
- package/.github/dependabot.yml +0 -0
- package/.github/workflows/nodejs.yml +0 -0
- package/.github/workflows/npmpublish.yml +0 -0
- package/DOCS.md +0 -0
- package/Extra/Database/index.js +0 -0
- package/Extra/Database/methods.js +0 -0
- package/Extra/ExtraAddons.js +0 -0
- package/Extra/ExtraGetThread.js +0 -0
- package/Extra/ExtraUptimeRobot.js +0 -0
- package/Extra/PM2/ecosystem.config.js +0 -0
- package/Extra/Src/Last-Run.js +0 -0
- package/LICENSE-MIT +0 -0
- package/Language/index.json +0 -0
- package/README.md +0 -0
- package/StateCrypt.js +0 -0
- package/broadcast.js +0 -0
- package/index.js +1 -1
- package/logger.js +0 -0
- package/package.json +2 -4
- package/src/addExternalModule.js +0 -0
- package/src/addUserToGroup.js +0 -0
- package/src/changeAdminStatus.js +0 -0
- package/src/changeArchivedStatus.js +0 -0
- package/src/changeBio.js +0 -0
- package/src/changeBlockedStatus.js +0 -0
- package/src/changeGroupImage.js +0 -0
- package/src/changeNickname.js +0 -0
- package/src/changeThreadColor.js +0 -0
- package/src/changeThreadEmoji.js +0 -0
- package/src/createNewGroup.js +0 -0
- package/src/createPoll.js +0 -0
- package/src/deleteMessage.js +0 -0
- package/src/deleteThread.js +0 -0
- package/src/forwardAttachment.js +0 -0
- package/src/getAccessToken.js +0 -0
- package/src/getCurrentUserID.js +0 -0
- package/src/getEmojiUrl.js +0 -0
- package/src/getFriendsList.js +0 -0
- package/src/getMessage.js +0 -0
- package/src/getThreadHistory.js +0 -0
- package/src/getThreadHistoryDeprecated.js +0 -0
- package/src/getThreadInfo.js +0 -0
- package/src/getThreadInfoDeprecated.js +0 -0
- package/src/getThreadList.js +0 -0
- package/src/getThreadListDeprecated.js +0 -0
- package/src/getThreadPictures.js +0 -0
- package/src/getUserID.js +0 -0
- package/src/getUserInfo.js +0 -0
- package/src/getUserInfoV2.js +0 -0
- package/src/handleFriendRequest.js +0 -0
- package/src/handleMessageRequest.js +0 -0
- package/src/httpGet.js +0 -0
- package/src/httpPost.js +0 -0
- package/src/httpPostFormData.js +0 -0
- package/src/listenMqtt.js +0 -0
- package/src/logout.js +0 -0
- package/src/markAsDelivered.js +0 -0
- package/src/markAsRead.js +0 -0
- package/src/markAsReadAll.js +0 -0
- package/src/markAsSeen.js +0 -0
- package/src/muteThread.js +0 -0
- package/src/removeUserFromGroup.js +0 -0
- package/src/resolvePhotoUrl.js +0 -0
- package/src/searchForThread.js +0 -0
- package/src/sendMessage.js +0 -0
- package/src/sendTypingIndicator.js +0 -0
- package/src/setMessageReaction.js +0 -0
- package/src/setPostReaction.js +0 -0
- package/src/setTitle.js +0 -0
- package/src/threadColors.js +0 -0
- package/src/unfriend.js +0 -0
- package/src/unsendMessage.js +0 -0
- package/utils.js +5 -5
- package/CHANGELOG.md +0 -2
package/.gitattributes
CHANGED
|
File without changes
|
package/.github/dependabot.yml
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/DOCS.md
CHANGED
|
File without changes
|
package/Extra/Database/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/Extra/ExtraAddons.js
CHANGED
|
File without changes
|
package/Extra/ExtraGetThread.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/Extra/Src/Last-Run.js
CHANGED
|
File without changes
|
package/LICENSE-MIT
CHANGED
|
File without changes
|
package/Language/index.json
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/StateCrypt.js
CHANGED
|
File without changes
|
package/broadcast.js
CHANGED
|
File without changes
|
package/index.js
CHANGED
|
@@ -997,7 +997,7 @@ async function loginHelper(appState, email, password, globalOptions, callback, p
|
|
|
997
997
|
Fetch('https://raw.githubusercontent.com/amogusdevlol/node-ainzfb/main/package.json').then(async(res) => {
|
|
998
998
|
const localbrand = JSON.parse(readFileSync('./node_modules/node-ainzfb-new/package.json')).version;
|
|
999
999
|
if (Number(localbrand.replace(/\./g, "")) < Number(JSON.parse(res.body.toString()).version.replace(/\./g, ""))) {
|
|
1000
|
-
log.warn("[ FCA-SUS ] •", getText.gettext(Language.NewVersionFound, JSON.parse(readFileSync('./node_modules/node-ainzfb/package.json')).version, JSON.parse(res.body.toString()).version));
|
|
1000
|
+
log.warn("[ FCA-SUS ] •", getText.gettext(Language.NewVersionFound, JSON.parse(readFileSync('./node_modules/node-ainzfb-new/package.json')).version, JSON.parse(res.body.toString()).version));
|
|
1001
1001
|
log.warn("[ FCA-SUS ] •", Language.AutoUpdate);
|
|
1002
1002
|
try {
|
|
1003
1003
|
execSync('npm install node-ainzfb-new@latest', { stdio: 'inherit' });
|
package/logger.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-ainzfb-new",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1-test",
|
|
4
4
|
"description": "A Facebook chat API that doesn't rely on XMPP. Will NOT be deprecated after April 30th 2015.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "mocha",
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"keywords": [
|
|
15
15
|
"facebook",
|
|
16
16
|
"chat",
|
|
17
|
-
"api",
|
|
18
17
|
"fca"
|
|
19
18
|
],
|
|
20
19
|
"bugs": {
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
"author": "Avery, David, Maude, Benjamin, Kanzu",
|
|
24
23
|
"license": "MIT",
|
|
25
24
|
"dependencies": {
|
|
26
|
-
"@replit/database": "
|
|
25
|
+
"@replit/database": "latest",
|
|
27
26
|
"aes-js": "latest",
|
|
28
27
|
"assert": "latest",
|
|
29
28
|
"better-sqlite3": "latest",
|
|
@@ -31,7 +30,6 @@
|
|
|
31
30
|
"chalk": "^4.1.2",
|
|
32
31
|
"cheerio": "latest",
|
|
33
32
|
"crypto": "latest",
|
|
34
|
-
"facebook-chat-api": "latest",
|
|
35
33
|
"gettext.js": "^1.1.1",
|
|
36
34
|
"got": "^11.8.3",
|
|
37
35
|
"https-proxy-agent": "latest",
|
package/src/addExternalModule.js
CHANGED
|
File without changes
|
package/src/addUserToGroup.js
CHANGED
|
File without changes
|
package/src/changeAdminStatus.js
CHANGED
|
File without changes
|
|
File without changes
|
package/src/changeBio.js
CHANGED
|
File without changes
|
|
File without changes
|
package/src/changeGroupImage.js
CHANGED
|
File without changes
|
package/src/changeNickname.js
CHANGED
|
File without changes
|
package/src/changeThreadColor.js
CHANGED
|
File without changes
|
package/src/changeThreadEmoji.js
CHANGED
|
File without changes
|
package/src/createNewGroup.js
CHANGED
|
File without changes
|
package/src/createPoll.js
CHANGED
|
File without changes
|
package/src/deleteMessage.js
CHANGED
|
File without changes
|
package/src/deleteThread.js
CHANGED
|
File without changes
|
package/src/forwardAttachment.js
CHANGED
|
File without changes
|
package/src/getAccessToken.js
CHANGED
|
File without changes
|
package/src/getCurrentUserID.js
CHANGED
|
File without changes
|
package/src/getEmojiUrl.js
CHANGED
|
File without changes
|
package/src/getFriendsList.js
CHANGED
|
File without changes
|
package/src/getMessage.js
CHANGED
|
File without changes
|
package/src/getThreadHistory.js
CHANGED
|
File without changes
|
|
File without changes
|
package/src/getThreadInfo.js
CHANGED
|
File without changes
|
|
File without changes
|
package/src/getThreadList.js
CHANGED
|
File without changes
|
|
File without changes
|
package/src/getThreadPictures.js
CHANGED
|
File without changes
|
package/src/getUserID.js
CHANGED
|
File without changes
|
package/src/getUserInfo.js
CHANGED
|
File without changes
|
package/src/getUserInfoV2.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/httpGet.js
CHANGED
|
File without changes
|
package/src/httpPost.js
CHANGED
|
File without changes
|
package/src/httpPostFormData.js
CHANGED
|
File without changes
|
package/src/listenMqtt.js
CHANGED
|
File without changes
|
package/src/logout.js
CHANGED
|
File without changes
|
package/src/markAsDelivered.js
CHANGED
|
File without changes
|
package/src/markAsRead.js
CHANGED
|
File without changes
|
package/src/markAsReadAll.js
CHANGED
|
File without changes
|
package/src/markAsSeen.js
CHANGED
|
File without changes
|
package/src/muteThread.js
CHANGED
|
File without changes
|
|
File without changes
|
package/src/resolvePhotoUrl.js
CHANGED
|
File without changes
|
package/src/searchForThread.js
CHANGED
|
File without changes
|
package/src/sendMessage.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/setPostReaction.js
CHANGED
|
File without changes
|
package/src/setTitle.js
CHANGED
|
File without changes
|
package/src/threadColors.js
CHANGED
|
File without changes
|
package/src/unfriend.js
CHANGED
|
File without changes
|
package/src/unsendMessage.js
CHANGED
|
File without changes
|
package/utils.js
CHANGED
|
@@ -1242,14 +1242,14 @@ function getAppState(jar) {
|
|
|
1242
1242
|
|
|
1243
1243
|
module.exports = {
|
|
1244
1244
|
isReadableStream:isReadableStream,
|
|
1245
|
-
get
|
|
1246
|
-
post
|
|
1247
|
-
getv2
|
|
1248
|
-
postv2
|
|
1245
|
+
get,
|
|
1246
|
+
post,
|
|
1247
|
+
getv2,
|
|
1248
|
+
postv2,
|
|
1249
1249
|
postFormData:postFormData,
|
|
1250
1250
|
generateThreadingID:generateThreadingID,
|
|
1251
1251
|
generateOfflineThreadingID:generateOfflineThreadingID,
|
|
1252
|
-
getGUID
|
|
1252
|
+
getGUID,
|
|
1253
1253
|
getFrom:getFrom,
|
|
1254
1254
|
makeParsable:makeParsable,
|
|
1255
1255
|
arrToForm:arrToForm,
|
package/CHANGELOG.md
DELETED