node-ainzfb-new 1.6.0 → 1.6.1-test

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/.gitattributes +0 -0
  2. package/.github/dependabot.yml +0 -0
  3. package/.github/workflows/nodejs.yml +0 -0
  4. package/.github/workflows/npmpublish.yml +0 -0
  5. package/DOCS.md +0 -0
  6. package/Extra/Database/index.js +0 -0
  7. package/Extra/Database/methods.js +0 -0
  8. package/Extra/ExtraAddons.js +0 -0
  9. package/Extra/ExtraGetThread.js +0 -0
  10. package/Extra/ExtraUptimeRobot.js +0 -0
  11. package/Extra/PM2/ecosystem.config.js +0 -0
  12. package/Extra/Src/Last-Run.js +0 -0
  13. package/LICENSE-MIT +0 -0
  14. package/Language/index.json +0 -0
  15. package/README.md +0 -0
  16. package/StateCrypt.js +0 -0
  17. package/broadcast.js +0 -0
  18. package/index.js +1 -1
  19. package/logger.js +0 -0
  20. package/package.json +1 -2
  21. package/src/addExternalModule.js +0 -0
  22. package/src/addUserToGroup.js +0 -0
  23. package/src/changeAdminStatus.js +0 -0
  24. package/src/changeArchivedStatus.js +0 -0
  25. package/src/changeBio.js +0 -0
  26. package/src/changeBlockedStatus.js +0 -0
  27. package/src/changeGroupImage.js +0 -0
  28. package/src/changeNickname.js +0 -0
  29. package/src/changeThreadColor.js +0 -0
  30. package/src/changeThreadEmoji.js +0 -0
  31. package/src/createNewGroup.js +0 -0
  32. package/src/createPoll.js +0 -0
  33. package/src/deleteMessage.js +0 -0
  34. package/src/deleteThread.js +0 -0
  35. package/src/forwardAttachment.js +0 -0
  36. package/src/getAccessToken.js +0 -0
  37. package/src/getCurrentUserID.js +0 -0
  38. package/src/getEmojiUrl.js +0 -0
  39. package/src/getFriendsList.js +0 -0
  40. package/src/getMessage.js +0 -0
  41. package/src/getThreadHistory.js +0 -0
  42. package/src/getThreadHistoryDeprecated.js +0 -0
  43. package/src/getThreadInfo.js +0 -0
  44. package/src/getThreadInfoDeprecated.js +0 -0
  45. package/src/getThreadList.js +0 -0
  46. package/src/getThreadListDeprecated.js +0 -0
  47. package/src/getThreadPictures.js +0 -0
  48. package/src/getUserID.js +0 -0
  49. package/src/getUserInfo.js +0 -0
  50. package/src/getUserInfoV2.js +0 -0
  51. package/src/handleFriendRequest.js +0 -0
  52. package/src/handleMessageRequest.js +0 -0
  53. package/src/httpGet.js +0 -0
  54. package/src/httpPost.js +0 -0
  55. package/src/httpPostFormData.js +0 -0
  56. package/src/listenMqtt.js +0 -0
  57. package/src/logout.js +0 -0
  58. package/src/markAsDelivered.js +0 -0
  59. package/src/markAsRead.js +0 -0
  60. package/src/markAsReadAll.js +0 -0
  61. package/src/markAsSeen.js +0 -0
  62. package/src/muteThread.js +0 -0
  63. package/src/removeUserFromGroup.js +0 -0
  64. package/src/resolvePhotoUrl.js +0 -0
  65. package/src/searchForThread.js +0 -0
  66. package/src/sendMessage.js +0 -0
  67. package/src/sendTypingIndicator.js +0 -0
  68. package/src/setMessageReaction.js +0 -0
  69. package/src/setPostReaction.js +0 -0
  70. package/src/setTitle.js +0 -0
  71. package/src/threadColors.js +0 -0
  72. package/src/unfriend.js +0 -0
  73. package/src/unsendMessage.js +0 -0
  74. package/utils.js +5 -5
  75. package/CHANGELOG.md +0 -2
package/.gitattributes CHANGED
File without changes
File without changes
File without changes
File without changes
package/DOCS.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/LICENSE-MIT CHANGED
File without changes
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.6.0",
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",
@@ -30,7 +30,6 @@
30
30
  "chalk": "^4.1.2",
31
31
  "cheerio": "latest",
32
32
  "crypto": "latest",
33
- "facebook-chat-api": "latest",
34
33
  "gettext.js": "^1.1.1",
35
34
  "got": "^11.8.3",
36
35
  "https-proxy-agent": "latest",
File without changes
File without changes
File without changes
File without changes
package/src/changeBio.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/createPoll.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/getMessage.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/getUserID.js CHANGED
File without changes
File without changes
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
File without changes
package/src/listenMqtt.js CHANGED
File without changes
package/src/logout.js CHANGED
File without changes
File without changes
package/src/markAsRead.js CHANGED
File without changes
File without changes
package/src/markAsSeen.js CHANGED
File without changes
package/src/muteThread.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/src/setTitle.js CHANGED
File without changes
File without changes
package/src/unfriend.js CHANGED
File without changes
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:get,
1246
- post:post,
1247
- getv2:getv2,
1248
- postv2:postv2,
1245
+ get,
1246
+ post,
1247
+ getv2,
1248
+ postv2,
1249
1249
  postFormData:postFormData,
1250
1250
  generateThreadingID:generateThreadingID,
1251
1251
  generateOfflineThreadingID:generateOfflineThreadingID,
1252
- getGUID:getGUID,
1252
+ getGUID,
1253
1253
  getFrom:getFrom,
1254
1254
  makeParsable:makeParsable,
1255
1255
  arrToForm:arrToForm,
package/CHANGELOG.md DELETED
@@ -1,2 +0,0 @@
1
- # Changelog
2
- Too lazy to write changelog, sorry! (will write changelog in the next release, through.)