@n4tzz/n4lyx 2.7.1
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/LICENSE +21 -0
- package/README.MD +690 -0
- package/WAProto/GenerateStatics.sh +15 -0
- package/WAProto/WAProto.proto +2995 -0
- package/WAProto/index.d.ts +44070 -0
- package/WAProto/index.js +127017 -0
- package/WAProto/p.html +1 -0
- package/engine-requirements.js +10 -0
- package/lib/Defaults/index.js +120 -0
- package/lib/Defaults/n4lyx-version.json +3 -0
- package/lib/Signal/Group/ciphertext-message.js +15 -0
- package/lib/Signal/Group/group-session-builder.js +64 -0
- package/lib/Signal/Group/group_cipher.js +96 -0
- package/lib/Signal/Group/index.js +57 -0
- package/lib/Signal/Group/keyhelper.js +55 -0
- package/lib/Signal/Group/queue-job.js +57 -0
- package/lib/Signal/Group/sender-chain-key.js +34 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +66 -0
- package/lib/Signal/Group/sender-key-message.js +69 -0
- package/lib/Signal/Group/sender-key-name.js +51 -0
- package/lib/Signal/Group/sender-key-record.js +53 -0
- package/lib/Signal/Group/sender-key-state.js +99 -0
- package/lib/Signal/Group/sender-message-key.js +29 -0
- package/lib/Signal/libsignal.js +174 -0
- package/lib/Socket/Client/index.js +18 -0
- package/lib/Socket/Client/types.js +13 -0
- package/lib/Socket/Client/websocket.js +72 -0
- package/lib/Socket/business.js +260 -0
- package/lib/Socket/chats.js +972 -0
- package/lib/Socket/groups.js +387 -0
- package/lib/Socket/index.js +10 -0
- package/lib/Socket/messages-recv.js +1104 -0
- package/lib/Socket/messages-send.js +889 -0
- package/lib/Socket/newsletter.js +250 -0
- package/lib/Socket/socket.js +646 -0
- package/lib/Socket/usync.js +70 -0
- package/lib/Store/index.js +8 -0
- package/lib/Store/make-in-memory-store.js +439 -0
- package/lib/Store/make-ordered-dictionary.js +81 -0
- package/lib/Store/object-repository.js +27 -0
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.js +4 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.js +27 -0
- package/lib/Types/LabelAssociation.js +9 -0
- package/lib/Types/Message.js +7 -0
- package/lib/Types/Newsletter.js +18 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.js +2 -0
- package/lib/Types/State.js +2 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.js +42 -0
- package/lib/Utils/auth-utils.js +199 -0
- package/lib/Utils/browser-utils.js +35 -0
- package/lib/Utils/business.js +234 -0
- package/lib/Utils/chat-utils.js +730 -0
- package/lib/Utils/crypto.js +193 -0
- package/lib/Utils/decode-wa-message.js +207 -0
- package/lib/Utils/event-buffer.js +518 -0
- package/lib/Utils/generics.js +467 -0
- package/lib/Utils/history.js +94 -0
- package/lib/Utils/index.js +35 -0
- package/lib/Utils/link-preview.js +126 -0
- package/lib/Utils/logger.js +7 -0
- package/lib/Utils/lt-hash.js +51 -0
- package/lib/Utils/make-mutex.js +43 -0
- package/lib/Utils/message-retry-manager.js +128 -0
- package/lib/Utils/messages-media.js +879 -0
- package/lib/Utils/messages.js +1071 -0
- package/lib/Utils/n4lyx-event-stream.js +63 -0
- package/lib/Utils/noise-handler.js +150 -0
- package/lib/Utils/process-message.js +404 -0
- package/lib/Utils/signal.js +153 -0
- package/lib/Utils/use-multi-file-auth-state.js +125 -0
- package/lib/Utils/validate-connection.js +229 -0
- package/lib/WABinary/constants.js +1303 -0
- package/lib/WABinary/decode.js +265 -0
- package/lib/WABinary/encode.js +250 -0
- package/lib/WABinary/generic-utils.js +110 -0
- package/lib/WABinary/index.js +21 -0
- package/lib/WABinary/jid-utils.js +85 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WAM/BinaryInfo.js +13 -0
- package/lib/WAM/constants.js +15350 -0
- package/lib/WAM/encode.js +155 -0
- package/lib/WAM/index.js +19 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +42 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +53 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +24 -0
- package/lib/WAUSync/Protocols/index.js +20 -0
- package/lib/WAUSync/USyncQuery.js +89 -0
- package/lib/WAUSync/USyncUser.js +26 -0
- package/lib/WAUSync/index.js +19 -0
- package/lib/index.js +102 -0
- package/package.json +77 -0
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@n4tzz/n4lyx",
|
|
3
|
+
"version": "2.7.1",
|
|
4
|
+
"description": "N4lyx - WhatsApp Web API Library powered by N4tzzOfficial",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n4lyx",
|
|
7
|
+
"whatsapp",
|
|
8
|
+
"whatsapp-api",
|
|
9
|
+
"whatsapp-web",
|
|
10
|
+
"whatsapp-bot",
|
|
11
|
+
"automation",
|
|
12
|
+
"multi-device",
|
|
13
|
+
"n4tzz"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/N4tzzOfficial/n4lyx",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/N4tzzOfficial/n4lyx.git"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"author": "N4tzzOfficial",
|
|
22
|
+
"main": "lib/index.js",
|
|
23
|
+
"types": "lib/index.d.ts",
|
|
24
|
+
"files": [
|
|
25
|
+
"lib/*",
|
|
26
|
+
"WAProto/*",
|
|
27
|
+
"engine-requirements.js"
|
|
28
|
+
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"preinstall": "node ./engine-requirements.js",
|
|
31
|
+
"build": "tsc",
|
|
32
|
+
"start": "node lib/index.js",
|
|
33
|
+
"test": "echo \"no test\""
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@adiwajshing/keyed-db": "^0.2.4",
|
|
37
|
+
"@cacheable/node-cache": "^1.4.0",
|
|
38
|
+
"@hapi/boom": "^9.1.3",
|
|
39
|
+
"async-mutex": "^0.5.0",
|
|
40
|
+
"axios": "^1.6.0",
|
|
41
|
+
"chalk": "^4.1.2",
|
|
42
|
+
"gradient-string": "^2.0.2",
|
|
43
|
+
"cache-manager": "^5.7.6",
|
|
44
|
+
"cheerio": "^1.0.0-rc.10",
|
|
45
|
+
"libphonenumber-js": "^1.10.20",
|
|
46
|
+
"libsignal": "github:N4tzzOfficial/libsignal-node",
|
|
47
|
+
"lodash": "^4.17.21",
|
|
48
|
+
"music-metadata": "^7.12.3",
|
|
49
|
+
"pino": "^9.6",
|
|
50
|
+
"protobufjs": "^6.11.3",
|
|
51
|
+
"uuid": "^10.0.0",
|
|
52
|
+
"ws": "^8.13.0"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"jimp": "^0.16.1",
|
|
56
|
+
"sharp": "^0.34.1",
|
|
57
|
+
"link-preview-js": "^3.0.0",
|
|
58
|
+
"qrcode-terminal": "^0.12.0"
|
|
59
|
+
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"jimp": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"sharp": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"link-preview-js": {
|
|
68
|
+
"optional": true
|
|
69
|
+
},
|
|
70
|
+
"qrcode-terminal": {
|
|
71
|
+
"optional": true
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=20.0.0"
|
|
76
|
+
}
|
|
77
|
+
}
|