@queenanya/baileys 7.5.3-0 → 8.0.0
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/package.json +13 -97
- package/LICENSE +0 -21
- package/README.md +0 -931
- package/WAProto/GenerateStatics.sh +0 -4
- package/WAProto/WAProto.proto +0 -3344
- package/WAProto/index.d.ts +0 -37016
- package/WAProto/index.js +0 -130281
- package/WASignalGroup/GroupProtocol.js +0 -1697
- package/WASignalGroup/ciphertext_message.js +0 -16
- package/WASignalGroup/group_cipher.js +0 -120
- package/WASignalGroup/group_session_builder.js +0 -46
- package/WASignalGroup/index.js +0 -5
- package/WASignalGroup/keyhelper.js +0 -21
- package/WASignalGroup/protobufs.js +0 -3
- package/WASignalGroup/queue_job.js +0 -69
- package/WASignalGroup/sender_chain_key.js +0 -50
- package/WASignalGroup/sender_key_distribution_message.js +0 -78
- package/WASignalGroup/sender_key_message.js +0 -92
- package/WASignalGroup/sender_key_name.js +0 -70
- package/WASignalGroup/sender_key_record.js +0 -56
- package/WASignalGroup/sender_key_state.js +0 -129
- package/WASignalGroup/sender_message_key.js +0 -39
- package/lib/Defaults/baileys-version.json +0 -3
- package/lib/Defaults/index.d.ts +0 -53
- package/lib/Defaults/index.js +0 -107
- package/lib/Signal/libsignal.d.ts +0 -3
- package/lib/Signal/libsignal.js +0 -152
- package/lib/Socket/Client/index.d.ts +0 -2
- package/lib/Socket/Client/index.js +0 -18
- package/lib/Socket/Client/types.d.ts +0 -17
- package/lib/Socket/Client/types.js +0 -13
- package/lib/Socket/Client/websocket.d.ts +0 -12
- package/lib/Socket/Client/websocket.js +0 -62
- package/lib/Socket/business.d.ts +0 -173
- package/lib/Socket/business.js +0 -260
- package/lib/Socket/chats.d.ts +0 -88
- package/lib/Socket/chats.js +0 -920
- package/lib/Socket/communities.d.ts +0 -216
- package/lib/Socket/communities.js +0 -354
- package/lib/Socket/groups.d.ts +0 -127
- package/lib/Socket/groups.js +0 -314
- package/lib/Socket/index.d.ts +0 -203
- package/lib/Socket/index.js +0 -10
- package/lib/Socket/messages-recv.d.ts +0 -160
- package/lib/Socket/messages-recv.js +0 -918
- package/lib/Socket/messages-send.d.ts +0 -153
- package/lib/Socket/messages-send.js +0 -794
- package/lib/Socket/newsletter.d.ts +0 -139
- package/lib/Socket/newsletter.js +0 -249
- package/lib/Socket/socket.d.ts +0 -45
- package/lib/Socket/socket.js +0 -616
- package/lib/Socket/usync.d.ts +0 -38
- package/lib/Socket/usync.js +0 -70
- package/lib/Store/index.d.ts +0 -3
- package/lib/Store/index.js +0 -10
- package/lib/Store/make-cache-manager-store.d.ts +0 -14
- package/lib/Store/make-cache-manager-store.js +0 -83
- package/lib/Store/make-in-memory-store.d.ts +0 -118
- package/lib/Store/make-in-memory-store.js +0 -420
- package/lib/Store/make-ordered-dictionary.d.ts +0 -13
- package/lib/Store/make-ordered-dictionary.js +0 -81
- package/lib/Store/object-repository.d.ts +0 -10
- package/lib/Store/object-repository.js +0 -27
- package/lib/Types/Auth.d.ts +0 -105
- package/lib/Types/Auth.js +0 -2
- package/lib/Types/Call.d.ts +0 -13
- package/lib/Types/Call.js +0 -2
- package/lib/Types/Chat.d.ts +0 -110
- package/lib/Types/Chat.js +0 -4
- package/lib/Types/Contact.d.ts +0 -24
- package/lib/Types/Contact.js +0 -2
- package/lib/Types/Events.d.ts +0 -199
- package/lib/Types/Events.js +0 -2
- package/lib/Types/GroupMetadata.d.ts +0 -56
- package/lib/Types/GroupMetadata.js +0 -2
- package/lib/Types/Label.d.ts +0 -46
- package/lib/Types/Label.js +0 -27
- package/lib/Types/LabelAssociation.d.ts +0 -29
- package/lib/Types/LabelAssociation.js +0 -9
- package/lib/Types/Message.d.ts +0 -280
- package/lib/Types/Message.js +0 -9
- package/lib/Types/Newsletter.d.ts +0 -79
- package/lib/Types/Newsletter.js +0 -18
- package/lib/Types/Product.d.ts +0 -78
- package/lib/Types/Product.js +0 -2
- package/lib/Types/Signal.d.ts +0 -57
- package/lib/Types/Signal.js +0 -2
- package/lib/Types/Socket.d.ts +0 -118
- package/lib/Types/Socket.js +0 -2
- package/lib/Types/State.d.ts +0 -27
- package/lib/Types/State.js +0 -2
- package/lib/Types/USync.d.ts +0 -25
- package/lib/Types/USync.js +0 -2
- package/lib/Types/index.d.ts +0 -65
- package/lib/Types/index.js +0 -42
- package/lib/Utils/auth-utils.d.ts +0 -18
- package/lib/Utils/auth-utils.js +0 -200
- package/lib/Utils/baileys-event-stream.d.ts +0 -16
- package/lib/Utils/baileys-event-stream.js +0 -63
- package/lib/Utils/business.d.ts +0 -22
- package/lib/Utils/business.js +0 -234
- package/lib/Utils/chat-utils.d.ts +0 -72
- package/lib/Utils/chat-utils.js +0 -756
- package/lib/Utils/crypto.d.ts +0 -42
- package/lib/Utils/crypto.js +0 -153
- package/lib/Utils/decode-wa-message.d.ts +0 -20
- package/lib/Utils/decode-wa-message.js +0 -218
- package/lib/Utils/event-buffer.d.ts +0 -35
- package/lib/Utils/event-buffer.js +0 -520
- package/lib/Utils/generics.d.ts +0 -119
- package/lib/Utils/generics.js +0 -468
- package/lib/Utils/history.d.ts +0 -19
- package/lib/Utils/history.js +0 -94
- package/lib/Utils/index.d.ts +0 -18
- package/lib/Utils/index.js +0 -34
- package/lib/Utils/link-preview.d.ts +0 -21
- package/lib/Utils/link-preview.js +0 -116
- package/lib/Utils/logger.d.ts +0 -2
- package/lib/Utils/logger.js +0 -7
- package/lib/Utils/lt-hash.d.ts +0 -12
- package/lib/Utils/lt-hash.js +0 -51
- package/lib/Utils/make-mutex.d.ts +0 -7
- package/lib/Utils/make-mutex.js +0 -44
- package/lib/Utils/messages-media.d.ts +0 -131
- package/lib/Utils/messages-media.js +0 -786
- package/lib/Utils/messages.d.ts +0 -78
- package/lib/Utils/messages.js +0 -767
- package/lib/Utils/noise-handler.d.ts +0 -21
- package/lib/Utils/noise-handler.js +0 -150
- package/lib/Utils/process-message.d.ts +0 -42
- package/lib/Utils/process-message.js +0 -355
- package/lib/Utils/signal.d.ts +0 -32
- package/lib/Utils/signal.js +0 -158
- package/lib/Utils/use-multi-file-auth-state.d.ts +0 -12
- package/lib/Utils/use-multi-file-auth-state.js +0 -94
- package/lib/Utils/use-single-file-auth-state.d.ts +0 -5
- package/lib/Utils/use-single-file-auth-state.js +0 -66
- package/lib/Utils/validate-connection.d.ts +0 -10
- package/lib/Utils/validate-connection.js +0 -171
- package/lib/WABinary/constants.d.ts +0 -27
- package/lib/WABinary/constants.js +0 -40
- package/lib/WABinary/decode.d.ts +0 -8
- package/lib/WABinary/decode.js +0 -254
- package/lib/WABinary/encode.d.ts +0 -2
- package/lib/WABinary/encode.js +0 -230
- package/lib/WABinary/generic-utils.d.ts +0 -16
- package/lib/WABinary/generic-utils.js +0 -110
- package/lib/WABinary/index.d.ts +0 -5
- package/lib/WABinary/index.js +0 -21
- package/lib/WABinary/jid-utils.d.ts +0 -31
- package/lib/WABinary/jid-utils.js +0 -62
- package/lib/WABinary/types.d.ts +0 -18
- package/lib/WABinary/types.js +0 -2
- package/lib/WAM/BinaryInfo.d.ts +0 -18
- package/lib/WAM/BinaryInfo.js +0 -13
- package/lib/WAM/constants.d.ts +0 -39
- package/lib/WAM/constants.js +0 -15350
- package/lib/WAM/encode.d.ts +0 -4
- package/lib/WAM/encode.js +0 -155
- package/lib/WAM/index.d.ts +0 -3
- package/lib/WAM/index.js +0 -19
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +0 -9
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +0 -32
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +0 -22
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +0 -57
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +0 -12
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -30
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +0 -12
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +0 -42
- package/lib/WAUSync/Protocols/index.d.ts +0 -4
- package/lib/WAUSync/Protocols/index.js +0 -20
- package/lib/WAUSync/USyncQuery.d.ts +0 -26
- package/lib/WAUSync/USyncQuery.js +0 -79
- package/lib/WAUSync/USyncUser.d.ts +0 -10
- package/lib/WAUSync/USyncUser.js +0 -22
- package/lib/WAUSync/index.d.ts +0 -3
- package/lib/WAUSync/index.js +0 -19
- package/lib/index.d.ts +0 -12
- package/lib/index.js +0 -31
package/package.json
CHANGED
|
@@ -1,104 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@queenanya/baileys",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"whatsapp-api",
|
|
9
|
-
"whatsapp-web",
|
|
10
|
-
"whatsapp-chat",
|
|
11
|
-
"whatsapp-group",
|
|
12
|
-
"automation",
|
|
13
|
-
"multi-device"
|
|
14
|
-
],
|
|
15
|
-
"homepage": "https://github.com/QueenAnya/Bail",
|
|
16
|
-
"repository": {
|
|
17
|
-
"url": "git@github.com:QueenAnya/Bail.git"
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"author": "Adhiraj Singh",
|
|
21
|
-
"main": "lib/index.js",
|
|
22
|
-
"types": "lib/index.d.ts",
|
|
23
|
-
"files": [
|
|
24
|
-
"lib/*",
|
|
25
|
-
"WAProto/*",
|
|
26
|
-
"WASignalGroup/*.js"
|
|
27
|
-
],
|
|
3
|
+
"version": "8.0.0",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"author": "@PikaBotZ",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"description": "Whatsapp API for anya boy",
|
|
28
8
|
"dependencies": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"futoin-hkdf": "^1.5.3",
|
|
37
|
-
"jimp": "^0.22.12",
|
|
38
|
-
"json": "^11.0.0",
|
|
39
|
-
"libphonenumber-js": "^1.11.4",
|
|
40
|
-
"libsignal": "npm:@queenanya/libsignal@latest",
|
|
41
|
-
"lodash": "^4.17.21",
|
|
42
|
-
"music-metadata": "^7.12.3",
|
|
43
|
-
"node-cache": "^5.1.2",
|
|
44
|
-
"pino": "^9.3.0",
|
|
45
|
-
"protobufjs": "^7.3.2",
|
|
46
|
-
"release-it": "^17.6.0",
|
|
47
|
-
"uuid": "^10.0.0",
|
|
48
|
-
"ws": "^8.18.0"
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@types/got": "^9.6.12",
|
|
52
|
-
"@types/jest": "^29.5.12",
|
|
53
|
-
"@types/node": "^20.14.10",
|
|
54
|
-
"@types/sharp": "^0.31.1",
|
|
55
|
-
"@types/ws": "^8.5.11",
|
|
56
|
-
"conventional-changelog-cli": "^5.0.0",
|
|
57
|
-
"eslint": "^9.7.0",
|
|
58
|
-
"jest": "^29.7.0",
|
|
59
|
-
"json": "^11.0.0",
|
|
60
|
-
"link-preview-js": "^3.0.5",
|
|
61
|
-
"open": "^10.1.0",
|
|
62
|
-
"qrcode-terminal": "^0.12.0",
|
|
63
|
-
"release-it": "^17.6.0",
|
|
64
|
-
"sharp": "^0.33.4",
|
|
65
|
-
"ts-jest": "^29.2.2",
|
|
66
|
-
"ts-node": "^10.9.2",
|
|
67
|
-
"typedoc": "^0.24.7",
|
|
68
|
-
"typescript": "^4.6.4"
|
|
69
|
-
},
|
|
70
|
-
"peerDependencies": {
|
|
71
|
-
"jimp": "^0.22.12",
|
|
72
|
-
"link-preview-js": "^3.0.0",
|
|
73
|
-
"qrcode-terminal": "^0.12.0",
|
|
74
|
-
"sharp": "^0.32.6"
|
|
75
|
-
},
|
|
76
|
-
"peerDependenciesMeta": {
|
|
77
|
-
"jimp": {
|
|
78
|
-
"optional": true
|
|
79
|
-
},
|
|
80
|
-
"link-preview-js": {
|
|
81
|
-
"optional": true
|
|
82
|
-
},
|
|
83
|
-
"qrcode-terminal": {
|
|
84
|
-
"optional": true
|
|
85
|
-
},
|
|
86
|
-
"sharp": {
|
|
87
|
-
"optional": true
|
|
88
|
-
}
|
|
9
|
+
"baileys": "npm:baileys-anya",
|
|
10
|
+
"baileys-anya": "*",
|
|
11
|
+
"baileys-elite": "npm:baileys-anya",
|
|
12
|
+
"baileys-duplicated": "npm:baileys-anya",
|
|
13
|
+
"@fizzxydev/baileys-pro": "npm:baileys-anya",
|
|
14
|
+
"@queenanya/baileys": "npm:baileys-anya",
|
|
15
|
+
"@whiskeysockets/baileys": "npm:baileys-anya"
|
|
89
16
|
},
|
|
90
17
|
"scripts": {
|
|
91
|
-
"
|
|
92
|
-
"build:docs": "typedoc",
|
|
93
|
-
"build:tsc": "tsc",
|
|
94
|
-
"changelog:last": "conventional-changelog -p angular -r 2",
|
|
95
|
-
"changelog:preview": "conventional-changelog -p angular -u",
|
|
96
|
-
"changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
97
|
-
"example": "node --inspect -r ts-node/register Example/example.ts",
|
|
98
|
-
"gen:protobuf": "sh WAProto/GenerateStatics.sh",
|
|
99
|
-
"lint": "eslint src --ext .js,.ts",
|
|
100
|
-
"lint:fix": "yarn lint --fix",
|
|
101
|
-
"release": "release-it",
|
|
102
|
-
"test": "jest"
|
|
18
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
103
19
|
}
|
|
104
20
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 WhiskeySockets
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|