nayan-remake-api 0.0.1-security → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nayan-remake-api might be problematic. Click here for more details.
- package/.cache/replit/__replit_disk_meta.json +1 -0
- package/.config/configstore/update-notifier-npm.json +4 -0
- package/.config/configstore/update-notifier-npm.json.1735545094 +4 -0
- package/.replit +80 -0
- package/CHANGELOG.md +2 -0
- package/DOCS.md +1947 -0
- package/LICENSE-MIT +21 -0
- package/README.md +198 -3
- package/index.js +641 -0
- package/package.json +69 -3
- package/replit.nix +8 -0
- package/src/addExternalModule.js +19 -0
- package/src/addUserToGroup.js +113 -0
- package/src/changeAdminStatus.js +79 -0
- package/src/changeArchivedStatus.js +55 -0
- package/src/changeAvatar.js +127 -0
- package/src/changeBio.js +77 -0
- package/src/changeBlockedStatus.js +47 -0
- package/src/changeGroupImage.js +133 -0
- package/src/changeNickname.js +59 -0
- package/src/changeThreadColor.js +65 -0
- package/src/changeThreadEmoji.js +55 -0
- package/src/createNewGroup.js +86 -0
- package/src/createPoll.js +71 -0
- package/src/deleteMessage.js +56 -0
- package/src/deleteThread.js +56 -0
- package/src/forwardAttachment.js +60 -0
- package/src/getCurrentUserID.js +7 -0
- package/src/getEmojiUrl.js +29 -0
- package/src/getFriendsList.js +84 -0
- package/src/getMessage.js +716 -0
- package/src/getThreadHistory.js +666 -0
- package/src/getThreadInfo.js +232 -0
- package/src/getThreadList.js +237 -0
- package/src/getThreadPictures.js +79 -0
- package/src/getUserID.js +66 -0
- package/src/getUserInfo.js +74 -0
- package/src/handleFriendRequest.js +61 -0
- package/src/handleMessageRequest.js +65 -0
- package/src/httpGet.js +57 -0
- package/src/httpPost.js +57 -0
- package/src/httpPostFormData.js +59 -0
- package/src/listenMqtt.js +862 -0
- package/src/logout.js +75 -0
- package/src/markAsDelivered.js +58 -0
- package/src/markAsRead.js +80 -0
- package/src/markAsReadAll.js +50 -0
- package/src/markAsSeen.js +59 -0
- package/src/muteThread.js +52 -0
- package/src/n +1 -0
- package/src/removeUserFromGroup.js +79 -0
- package/src/resolvePhotoUrl.js +45 -0
- package/src/searchForThread.js +53 -0
- package/src/sendMessage.js +449 -0
- package/src/sendTypingIndicator.js +103 -0
- package/src/setMessageReaction.js +117 -0
- package/src/setPostReaction.js +109 -0
- package/src/setTitle.js +86 -0
- package/src/threadColors.js +120 -0
- package/src/unfriend.js +52 -0
- package/src/unsendMessage.js +49 -0
- package/src/uploadAttachment.js +96 -0
- package/test/data/N +1 -0
- package/test/data/shareAttach.js +146 -0
- package/test/data/test.txt +7 -0
- package/test/example-config.json +18 -0
- package/test/n +1 -0
- package/test/test-page.js +140 -0
- package/test/test.js +387 -0
- package/utils.js +1451 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"nonce":8017282298322646027,"last_updated":{"seconds":1686066430,"nanos":266829000}}
|
package/.replit
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
|
2
|
+
hidden = [".config", "package-lock.json"]
|
3
|
+
run = "npm run start"
|
4
|
+
|
5
|
+
[[hints]]
|
6
|
+
regex = "Error \\[ERR_REQUIRE_ESM\\]"
|
7
|
+
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
|
8
|
+
|
9
|
+
[nix]
|
10
|
+
channel = "stable-22_11"
|
11
|
+
|
12
|
+
[env]
|
13
|
+
XDG_CONFIG_HOME = "$REPL_HOME/.config"
|
14
|
+
PATH = "$REPL_HOME/.config/npm/node_global/bin:$REPL_HOME/node_modules/.bin"
|
15
|
+
npm_config_prefix = "$REPL_HOME/.config/npm/node_global"
|
16
|
+
|
17
|
+
[gitHubImport]
|
18
|
+
requiredFiles = [".replit", "replit.nix", ".config", "package.json", "package-lock.json"]
|
19
|
+
|
20
|
+
[packager]
|
21
|
+
language = "nodejs"
|
22
|
+
|
23
|
+
[packager.features]
|
24
|
+
packageSearch = true
|
25
|
+
guessImports = true
|
26
|
+
enabledForHosting = false
|
27
|
+
|
28
|
+
[unitTest]
|
29
|
+
language = "nodejs"
|
30
|
+
|
31
|
+
[debugger]
|
32
|
+
support = true
|
33
|
+
|
34
|
+
[debugger.interactive]
|
35
|
+
transport = "localhost:0"
|
36
|
+
startCommand = [ "dap-node" ]
|
37
|
+
|
38
|
+
[debugger.interactive.initializeMessage]
|
39
|
+
command = "initialize"
|
40
|
+
type = "request"
|
41
|
+
|
42
|
+
[debugger.interactive.initializeMessage.arguments]
|
43
|
+
clientID = "replit"
|
44
|
+
clientName = "replit.com"
|
45
|
+
columnsStartAt1 = true
|
46
|
+
linesStartAt1 = true
|
47
|
+
locale = "en-us"
|
48
|
+
pathFormat = "path"
|
49
|
+
supportsInvalidatedEvent = true
|
50
|
+
supportsProgressReporting = true
|
51
|
+
supportsRunInTerminalRequest = true
|
52
|
+
supportsVariablePaging = true
|
53
|
+
supportsVariableType = true
|
54
|
+
|
55
|
+
[debugger.interactive.launchMessage]
|
56
|
+
command = "launch"
|
57
|
+
type = "request"
|
58
|
+
|
59
|
+
[debugger.interactive.launchMessage.arguments]
|
60
|
+
args = []
|
61
|
+
console = "externalTerminal"
|
62
|
+
cwd = "."
|
63
|
+
environment = []
|
64
|
+
pauseForSourceMap = false
|
65
|
+
program = "./index.js"
|
66
|
+
request = "launch"
|
67
|
+
sourceMaps = true
|
68
|
+
stopOnEntry = false
|
69
|
+
type = "pwa-node"
|
70
|
+
|
71
|
+
[languages]
|
72
|
+
|
73
|
+
[languages.javascript]
|
74
|
+
pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.json}"
|
75
|
+
|
76
|
+
[languages.javascript.languageServer]
|
77
|
+
start = "typescript-language-server --stdio"
|
78
|
+
|
79
|
+
[deployment]
|
80
|
+
run = ["sh", "-c", "npm run start"]
|
package/CHANGELOG.md
ADDED