fca-duong 0.0.1-security → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fca-duong might be problematic. Click here for more details.

Files changed (72) hide show
  1. package/.cache/replit/nix/env.json +1 -0
  2. package/.replit +2 -0
  3. package/.upm/store.json +1 -0
  4. package/DOCS.md +1738 -0
  5. package/README.md +65 -3
  6. package/broadcast.js +18 -0
  7. package/index.js +582 -0
  8. package/lib/getInfoNew.js +34 -0
  9. package/lib/getToken.js +44 -0
  10. package/logger.js +16 -0
  11. package/package.json +71 -3
  12. package/replit.nix +9 -0
  13. package/src/ReportV1.js +55 -0
  14. package/src/addExternalModule.js +16 -0
  15. package/src/addUserToGroup.js +78 -0
  16. package/src/changeAdminStatus.js +79 -0
  17. package/src/changeArchivedStatus.js +41 -0
  18. package/src/changeAvt.js +86 -0
  19. package/src/changeBio.js +65 -0
  20. package/src/changeBlockedStatus.js +36 -0
  21. package/src/changeGroupImage.js +106 -0
  22. package/src/changeName.js +3 -0
  23. package/src/changeNickname.js +45 -0
  24. package/src/changeThreadColor.js +62 -0
  25. package/src/changeThreadEmoji.js +42 -0
  26. package/src/createNewGroup.js +70 -0
  27. package/src/createPoll.js +60 -0
  28. package/src/deleteMessage.js +45 -0
  29. package/src/deleteThread.js +43 -0
  30. package/src/forwardAttachment.js +48 -0
  31. package/src/getAccessToken.js +33 -0
  32. package/src/getCurrentUserID.js +7 -0
  33. package/src/getEmojiUrl.js +27 -0
  34. package/src/getFriendsList.js +73 -0
  35. package/src/getMessage.js +79 -0
  36. package/src/getThreadHistory.js +537 -0
  37. package/src/getThreadHistoryDeprecated.js +71 -0
  38. package/src/getThreadInfo.js +170 -0
  39. package/src/getThreadInfoDeprecated.js +56 -0
  40. package/src/getThreadList.js +213 -0
  41. package/src/getThreadListDeprecated.js +46 -0
  42. package/src/getThreadPictures.js +59 -0
  43. package/src/getUserID.js +62 -0
  44. package/src/getUserInfo.js +66 -0
  45. package/src/getUserInfoV2.js +35 -0
  46. package/src/getUserInfoV3.js +64 -0
  47. package/src/getUserInfoV4.js +56 -0
  48. package/src/getUserInfoV5.js +62 -0
  49. package/src/handleFriendRequest.js +46 -0
  50. package/src/handleMessageRequest.js +49 -0
  51. package/src/httpGet.js +49 -0
  52. package/src/httpPost.js +48 -0
  53. package/src/httpPostFormData.js +41 -0
  54. package/src/listenMqtt.js +629 -0
  55. package/src/logout.js +68 -0
  56. package/src/markAsDelivered.js +48 -0
  57. package/src/markAsRead.js +70 -0
  58. package/src/markAsReadAll.js +43 -0
  59. package/src/markAsSeen.js +51 -0
  60. package/src/muteThread.js +47 -0
  61. package/src/removeUserFromGroup.js +49 -0
  62. package/src/resolvePhotoUrl.js +37 -0
  63. package/src/searchForThread.js +43 -0
  64. package/src/sendMessage.js +337 -0
  65. package/src/sendTypingIndicator.js +80 -0
  66. package/src/setMessageReaction.js +109 -0
  67. package/src/setPostReaction.js +102 -0
  68. package/src/setTitle.js +74 -0
  69. package/src/threadColors.js +39 -0
  70. package/src/unfriend.js +43 -0
  71. package/src/unsendMessage.js +40 -0
  72. package/utils.js +1237 -0
@@ -0,0 +1 @@
1
+ {"entries":{"replit.nix":{"env":{"AR":"ar","AS":"as","CC":"gcc","CONFIG_SHELL":"/nix/store/dpjnjrqbgbm8a5wvi1hya01vd8wyvsq4-bash-4.4-p23/bin/bash","CXX":"g++","HOST_PATH":"/nix/store/bwxril521b35zlf4x2g32hll64rzfhck-nodejs-16.7.0/bin:/nix/store/hlcndbx7mclpyglzjmkx4pl60il9qln8-typescript-language-server-0.9.6/bin:/nix/store/kr1khdzqb10jnapw5vk2c5n22myb0ai3-yarn-1.22.11/bin:/nix/store/d621pkfiwwmy1i08fggrch7yk5fhsv0k-jest-cli-23.6.0/bin:/nix/store/w07a7k61dw5gnsyxj3kgcq3shr76jax8-bash-interactive-4.4-p23/bin:/nix/store/1570w56jrkvr90w9x158vyb5vahnk18v-coreutils-8.32/bin:/nix/store/ihxk2vlm0vi7c4j3gpm084kbxvz6v585-findutils-4.8.0/bin:/nix/store/kjx1mv85c5cgsrr4bwar22j7hbwj834m-diffutils-3.7/bin:/nix/store/gm2w08wwsa3vd500d8vq879s2lv65ldh-gnused-4.8/bin:/nix/store/v0slhpb2y3xa7gmv4q6gblkdk7n0f09j-gnugrep-3.6/bin:/nix/store/2wn093wbc6ps4brcsppxjd14vxvaa8a2-gawk-5.1.0/bin:/nix/store/5bxrjkyvqmzn1p897652y3lwa9fxagpw-gnutar-1.34/bin:/nix/store/liva1jnjdskrn57s42kfawr2zz66szzm-gzip-1.10/bin:/nix/store/ih2zkh2mbrx2c766ryk2i9hhlkly7snr-bzip2-1.0.6.0.2-bin/bin:/nix/store/pvkiiw0mp1yx0b21b7k105yywccychgh-gnumake-4.3/bin:/nix/store/dpjnjrqbgbm8a5wvi1hya01vd8wyvsq4-bash-4.4-p23/bin:/nix/store/aicl3kwfnaizk45aygm8bviqv7lk0a16-patch-2.7.6/bin:/nix/store/7jk6k46f56rszzc1bxi8mdrvcw53pym4-xz-5.2.5-bin/bin","LD":"ld","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIX_BINTOOLS":"/nix/store/29bjq5hw1qglybp1a5f3ij9gxc2fyf94-binutils-wrapper-2.35.1","NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_BUILD_CORES":"16","NIX_BUILD_TOP":"/tmp","NIX_CC":"/nix/store/4xs1xyj8728yvh9y5v6ji819kwgfy2fv-gcc-wrapper-10.3.0","NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_CFLAGS_COMPILE":" -frandom-seed=l8hs95l1fw -isystem /nix/store/bwxril521b35zlf4x2g32hll64rzfhck-nodejs-16.7.0/include -isystem /nix/store/xq77wmzk8d306anyk9rsvl4i4h7ihchw-bash-interactive-4.4-p23-dev/include -isystem /nix/store/bwxril521b35zlf4x2g32hll64rzfhck-nodejs-16.7.0/include -isystem /nix/store/xq77wmzk8d306anyk9rsvl4i4h7ihchw-bash-interactive-4.4-p23-dev/include","NIX_ENFORCE_NO_NATIVE":"1","NIX_HARDENING_ENABLE":"fortify stackprotector pic strictoverflow format relro bindnow","NIX_INDENT_MAKE":"1","NIX_LDFLAGS":"-rpath /nix/store/l8hs95l1fw0bknxssfl7jb8s30prl0sn-nix-shell/lib64 -rpath /nix/store/l8hs95l1fw0bknxssfl7jb8s30prl0sn-nix-shell/lib ","NIX_STORE":"/nix/store","NM":"nm","NODE_PATH":"/nix/store/bwxril521b35zlf4x2g32hll64rzfhck-nodejs-16.7.0/lib/node_modules:/nix/store/hlcndbx7mclpyglzjmkx4pl60il9qln8-typescript-language-server-0.9.6/lib/node_modules:/nix/store/kr1khdzqb10jnapw5vk2c5n22myb0ai3-yarn-1.22.11/lib/node_modules:/nix/store/d621pkfiwwmy1i08fggrch7yk5fhsv0k-jest-cli-23.6.0/lib/node_modules","OBJCOPY":"objcopy","OBJDUMP":"objdump","PATH":"/nix/store/w07a7k61dw5gnsyxj3kgcq3shr76jax8-bash-interactive-4.4-p23/bin:/nix/store/435paza0j48aa9vgvf6r2l12nrg4ld11-patchelf-0.12/bin:/nix/store/4xs1xyj8728yvh9y5v6ji819kwgfy2fv-gcc-wrapper-10.3.0/bin:/nix/store/dlni53myj53kx20pi4yhm7p68lw17b07-gcc-10.3.0/bin:/nix/store/6z35qvn00xrjvaznv9kfy8xddbbdz4gl-glibc-2.33-47-bin/bin:/nix/store/1570w56jrkvr90w9x158vyb5vahnk18v-coreutils-8.32/bin:/nix/store/29bjq5hw1qglybp1a5f3ij9gxc2fyf94-binutils-wrapper-2.35.1/bin:/nix/store/v8imx1nvyz0hgvx9cbcmh6gp4ngw3ffj-binutils-2.35.1/bin:/nix/store/bwxril521b35zlf4x2g32hll64rzfhck-nodejs-16.7.0/bin:/nix/store/hlcndbx7mclpyglzjmkx4pl60il9qln8-typescript-language-server-0.9.6/bin:/nix/store/kr1khdzqb10jnapw5vk2c5n22myb0ai3-yarn-1.22.11/bin:/nix/store/d621pkfiwwmy1i08fggrch7yk5fhsv0k-jest-cli-23.6.0/bin:/nix/store/w07a7k61dw5gnsyxj3kgcq3shr76jax8-bash-interactive-4.4-p23/bin:/nix/store/1570w56jrkvr90w9x158vyb5vahnk18v-coreutils-8.32/bin:/nix/store/ihxk2vlm0vi7c4j3gpm084kbxvz6v585-findutils-4.8.0/bin:/nix/store/kjx1mv85c5cgsrr4bwar22j7hbwj834m-diffutils-3.7/bin:/nix/store/gm2w08wwsa3vd500d8vq879s2lv65ldh-gnused-4.8/bin:/nix/store/v0slhpb2y3xa7gmv4q6gblkdk7n0f09j-gnugrep-3.6/bin:/nix/store/2wn093wbc6ps4brcsppxjd14vxvaa8a2-gawk-5.1.0/bin:/nix/store/5bxrjkyvqmzn1p897652y3lwa9fxagpw-gnutar-1.34/bin:/nix/store/liva1jnjdskrn57s42kfawr2zz66szzm-gzip-1.10/bin:/nix/store/ih2zkh2mbrx2c766ryk2i9hhlkly7snr-bzip2-1.0.6.0.2-bin/bin:/nix/store/pvkiiw0mp1yx0b21b7k105yywccychgh-gnumake-4.3/bin:/nix/store/dpjnjrqbgbm8a5wvi1hya01vd8wyvsq4-bash-4.4-p23/bin:/nix/store/aicl3kwfnaizk45aygm8bviqv7lk0a16-patch-2.7.6/bin:/nix/store/7jk6k46f56rszzc1bxi8mdrvcw53pym4-xz-5.2.5-bin/bin","RANLIB":"ranlib","READELF":"readelf","SIZE":"size","SOURCE_DATE_EPOCH":"315532800","STRINGS":"strings","STRIP":"strip","XDG_DATA_DIRS":"/nix/store/435paza0j48aa9vgvf6r2l12nrg4ld11-patchelf-0.12/share","_":"/nix/store/1570w56jrkvr90w9x158vyb5vahnk18v-coreutils-8.32/bin/env","__ETC_PROFILE_SOURCED":"1","buildInputs":"/nix/store/bwxril521b35zlf4x2g32hll64rzfhck-nodejs-16.7.0 /nix/store/hlcndbx7mclpyglzjmkx4pl60il9qln8-typescript-language-server-0.9.6 /nix/store/kr1khdzqb10jnapw5vk2c5n22myb0ai3-yarn-1.22.11 /nix/store/d621pkfiwwmy1i08fggrch7yk5fhsv0k-jest-cli-23.6.0 /nix/store/xq77wmzk8d306anyk9rsvl4i4h7ihchw-bash-interactive-4.4-p23-dev","builder":"/nix/store/dpjnjrqbgbm8a5wvi1hya01vd8wyvsq4-bash-4.4-p23/bin/bash","configureFlags":"","depsBuildBuild":"","depsBuildBuildPropagated":"","depsBuildTarget":"","depsBuildTargetPropagated":"","depsHostHost":"","depsHostHostPropagated":"","depsTargetTarget":"","depsTargetTargetPropagated":"","doCheck":"","doInstallCheck":"","name":"nix-shell","nativeBuildInputs":"","nobuildPhase":"echo\necho \"This derivation is not meant to be built, aborting\";\necho\nexit 1\n","out":"/nix/store/l8hs95l1fw0bknxssfl7jb8s30prl0sn-nix-shell","outputs":"out","patches":"","phases":"nobuildPhase","propagatedBuildInputs":"","propagatedNativeBuildInputs":"","shell":"/nix/store/dpjnjrqbgbm8a5wvi1hya01vd8wyvsq4-bash-4.4-p23/bin/bash","shellHook":"","stdenv":"/nix/store/r4bl79l2bdjawmr2rhhqvci56qh0fkvv-stdenv-linux","strictDeps":"","system":"x86_64-linux"},"dependencies":[{"path":"replit.nix","mod_time":"2022-12-27T04:10:14.111144789Z"}],"channel":"","channel_nix_path":""}}}
package/.replit ADDED
@@ -0,0 +1,2 @@
1
+ run = "npm test"
2
+ language = "bash && nodejs"
@@ -0,0 +1 @@
1
+ {"version":2,"languages":{"nodejs-npm":{"specfileHash":"ea9778ce446e6ea632b4de959c3b7f8b","lockfileHash":"9b7e2c3555fdff32fd91227f9ba8640e","guessedImports":["horizon-sp","mqtt","bluebird","request","totp-generator","npmlog","cheerio","fs-extra","axios","chalk","websocket-stream","https-proxy-agent"],"guessedImportsHash":"76fd52ad6090f7f2e5bc915983764774"}}}