ndikzv1 26.0.12
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/WAProto/index.d.ts +55057 -0
- package/WAProto/index.js +169661 -0
- package/WASignalGroup/GroupProtocol.js +1697 -0
- package/WASignalGroup/ciphertext_message.js +16 -0
- package/WASignalGroup/group_cipher.js +120 -0
- package/WASignalGroup/group_session_builder.js +46 -0
- package/WASignalGroup/index.js +5 -0
- package/WASignalGroup/keyhelper.js +21 -0
- package/WASignalGroup/protobufs.js +3 -0
- package/WASignalGroup/queue_job.js +69 -0
- package/WASignalGroup/sender_chain_key.js +50 -0
- package/WASignalGroup/sender_key_distribution_message.js +78 -0
- package/WASignalGroup/sender_key_message.js +92 -0
- package/WASignalGroup/sender_key_name.js +70 -0
- package/WASignalGroup/sender_key_record.js +56 -0
- package/WASignalGroup/sender_key_state.js +129 -0
- package/WASignalGroup/sender_message_key.js +39 -0
- package/engine-requirements.js +10 -0
- package/lib/Defaults/baileys-version.json +3 -0
- package/lib/Defaults/index.d.ts +282 -0
- package/lib/Defaults/index.js +122 -0
- package/lib/Defaults/phonenumber-mcc.json +223 -0
- package/lib/Signal/libsignal.d.ts +3 -0
- package/lib/Signal/libsignal.js +161 -0
- package/lib/Socket/Client/abstract-socket-client.d.ts +15 -0
- package/lib/Socket/Client/abstract-socket-client.js +13 -0
- package/lib/Socket/Client/index.d.ts +3 -0
- package/lib/Socket/Client/index.js +19 -0
- package/lib/Socket/Client/mobile-socket-client.d.ts +12 -0
- package/lib/Socket/Client/mobile-socket-client.js +65 -0
- package/lib/Socket/Client/web-socket-client.d.ts +12 -0
- package/lib/Socket/Client/web-socket-client.js +62 -0
- package/lib/Socket/business.d.ts +172 -0
- package/lib/Socket/business.js +260 -0
- package/lib/Socket/chats.d.ts +83 -0
- package/lib/Socket/chats.js +871 -0
- package/lib/Socket/groups.d.ts +124 -0
- package/lib/Socket/groups.js +332 -0
- package/lib/Socket/index.d.ts +174 -0
- package/lib/Socket/index.js +10 -0
- package/lib/Socket/messages-recv.d.ts +161 -0
- package/lib/Socket/messages-recv.js +1046 -0
- package/lib/Socket/messages-send.d.ts +151 -0
- package/lib/Socket/messages-send.js +806 -0
- package/lib/Socket/newsletter.d.ts +136 -0
- package/lib/Socket/newsletter.js +250 -0
- package/lib/Socket/registration.d.ts +266 -0
- package/lib/Socket/registration.js +166 -0
- package/lib/Socket/socket.d.ts +42 -0
- package/lib/Socket/socket.js +640 -0
- package/lib/Socket/usync.d.ts +36 -0
- package/lib/Socket/usync.js +70 -0
- package/lib/Store/index.d.ts +2 -0
- package/lib/Store/index.js +8 -0
- package/lib/Store/make-in-memory-store.d.ts +118 -0
- package/lib/Store/make-in-memory-store.js +431 -0
- package/lib/Store/make-ordered-dictionary.d.ts +13 -0
- package/lib/Store/make-ordered-dictionary.js +81 -0
- package/lib/Store/object-repository.d.ts +10 -0
- package/lib/Store/object-repository.js +27 -0
- package/lib/Types/Auth.d.ts +109 -0
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Call.d.ts +13 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.d.ts +109 -0
- package/lib/Types/Chat.js +4 -0
- package/lib/Types/Contact.d.ts +23 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.d.ts +199 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.d.ts +64 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.d.ts +35 -0
- package/lib/Types/Label.js +27 -0
- package/lib/Types/LabelAssociation.d.ts +29 -0
- package/lib/Types/LabelAssociation.js +9 -0
- package/lib/Types/Message.d.ts +384 -0
- package/lib/Types/Message.js +7 -0
- package/lib/Types/Newsletter.d.ts +79 -0
- package/lib/Types/Newsletter.js +18 -0
- package/lib/Types/Product.d.ts +78 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.d.ts +57 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.d.ts +119 -0
- package/lib/Types/Socket.js +2 -0
- package/lib/Types/State.d.ts +27 -0
- package/lib/Types/State.js +2 -0
- package/lib/Types/USync.d.ts +25 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.d.ts +64 -0
- package/lib/Types/index.js +42 -0
- package/lib/Utils/auth-utils.d.ts +18 -0
- package/lib/Utils/auth-utils.js +206 -0
- package/lib/Utils/baileys-event-stream.d.ts +16 -0
- package/lib/Utils/baileys-event-stream.js +63 -0
- package/lib/Utils/business.d.ts +22 -0
- package/lib/Utils/business.js +234 -0
- package/lib/Utils/chat-utils.d.ts +70 -0
- package/lib/Utils/chat-utils.js +730 -0
- package/lib/Utils/crypto.d.ts +40 -0
- package/lib/Utils/crypto.js +193 -0
- package/lib/Utils/decode-wa-message.d.ts +36 -0
- package/lib/Utils/decode-wa-message.js +204 -0
- package/lib/Utils/event-buffer.d.ts +35 -0
- package/lib/Utils/event-buffer.js +520 -0
- package/lib/Utils/generics.d.ts +89 -0
- package/lib/Utils/generics.js +445 -0
- package/lib/Utils/history.d.ts +19 -0
- package/lib/Utils/history.js +94 -0
- package/lib/Utils/index.d.ts +17 -0
- package/lib/Utils/index.js +33 -0
- package/lib/Utils/link-preview.d.ts +21 -0
- package/lib/Utils/link-preview.js +126 -0
- package/lib/Utils/logger.d.ts +11 -0
- package/lib/Utils/logger.js +7 -0
- package/lib/Utils/lt-hash.d.ts +12 -0
- package/lib/Utils/lt-hash.js +51 -0
- package/lib/Utils/make-mutex.d.ts +7 -0
- package/lib/Utils/make-mutex.js +43 -0
- package/lib/Utils/messages-media.d.ts +120 -0
- package/lib/Utils/messages-media.js +879 -0
- package/lib/Utils/messages.d.ts +75 -0
- package/lib/Utils/messages.js +1022 -0
- package/lib/Utils/noise-handler.d.ts +20 -0
- package/lib/Utils/noise-handler.js +155 -0
- package/lib/Utils/process-message.d.ts +42 -0
- package/lib/Utils/process-message.js +372 -0
- package/lib/Utils/signal.d.ts +33 -0
- package/lib/Utils/signal.js +153 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +12 -0
- package/lib/Utils/use-multi-file-auth-state.js +125 -0
- package/lib/Utils/validate-connection.d.ts +11 -0
- package/lib/Utils/validate-connection.js +207 -0
- package/lib/WABinary/constants.d.ts +27 -0
- package/lib/WABinary/constants.js +1303 -0
- package/lib/WABinary/decode.d.ts +6 -0
- package/lib/WABinary/decode.js +265 -0
- package/lib/WABinary/encode.d.ts +2 -0
- package/lib/WABinary/encode.js +250 -0
- package/lib/WABinary/generic-utils.d.ts +14 -0
- package/lib/WABinary/generic-utils.js +110 -0
- package/lib/WABinary/index.d.ts +5 -0
- package/lib/WABinary/index.js +21 -0
- package/lib/WABinary/jid-utils.d.ts +36 -0
- package/lib/WABinary/jid-utils.js +83 -0
- package/lib/WABinary/types.d.ts +18 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WAM/BinaryInfo.d.ts +8 -0
- package/lib/WAM/BinaryInfo.js +13 -0
- package/lib/WAM/constants.d.ts +38 -0
- package/lib/WAM/constants.js +15350 -0
- package/lib/WAM/encode.d.ts +2 -0
- package/lib/WAM/encode.js +155 -0
- package/lib/WAM/index.d.ts +3 -0
- package/lib/WAM/index.js +19 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +9 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +22 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +42 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +25 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +53 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +8 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +24 -0
- package/lib/WAUSync/Protocols/index.d.ts +4 -0
- package/lib/WAUSync/Protocols/index.js +20 -0
- package/lib/WAUSync/USyncQuery.d.ts +28 -0
- package/lib/WAUSync/USyncQuery.js +89 -0
- package/lib/WAUSync/USyncUser.d.ts +12 -0
- package/lib/WAUSync/USyncUser.js +26 -0
- package/lib/WAUSync/index.d.ts +3 -0
- package/lib/WAUSync/index.js +19 -0
- package/lib/index.d.ts +13 -0
- package/lib/index.js +63 -0
- package/package.json +90 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare class USyncUser {
|
2
|
+
id: string;
|
3
|
+
lid: string;
|
4
|
+
phone: string;
|
5
|
+
type: string;
|
6
|
+
personaId: string;
|
7
|
+
withId(id: string): this;
|
8
|
+
withLid(lid: string): this;
|
9
|
+
withPhone(phone: string): this;
|
10
|
+
withType(type: string): this;
|
11
|
+
withPersonaId(personaId: string): this;
|
12
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.USyncUser = void 0;
|
4
|
+
class USyncUser {
|
5
|
+
withId(id) {
|
6
|
+
this.id = id;
|
7
|
+
return this;
|
8
|
+
}
|
9
|
+
withLid(lid) {
|
10
|
+
this.lid = lid;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
withPhone(phone) {
|
14
|
+
this.phone = phone;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
withType(type) {
|
18
|
+
this.type = type;
|
19
|
+
return this;
|
20
|
+
}
|
21
|
+
withPersonaId(personaId) {
|
22
|
+
this.personaId = personaId;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.USyncUser = USyncUser;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./Protocols"), exports);
|
18
|
+
__exportStar(require("./USyncQuery"), exports);
|
19
|
+
__exportStar(require("./USyncUser"), exports);
|
package/lib/index.d.ts
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
import { proto } from '../WAProto';
|
2
|
+
import makeWASocket from './Socket';
|
3
|
+
export * from '../WAProto';
|
4
|
+
export * from './Utils';
|
5
|
+
export * from './Types';
|
6
|
+
export * from './Store';
|
7
|
+
export * from './Defaults';
|
8
|
+
export * from './WABinary';
|
9
|
+
export * from './WAM';
|
10
|
+
export * from './WAUSync';
|
11
|
+
export type WASocket = ReturnType<typeof makeWASocket>;
|
12
|
+
export { makeWASocket, proto };
|
13
|
+
export default makeWASocket;
|
package/lib/index.js
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
"use strict";
|
2
|
+
console.log(`
|
3
|
+
\x1b[35m⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠉⠛⠿⣿⣯⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
4
|
+
\x1b[35m⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣠⣿⣿⣿⣿⣿⣿⡀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
5
|
+
\x1b[35m⣿⣿⣿⣿⣻⣿⣿⣿⣿⣿⣿⠀⣿⠁⠀⡆⢰⣥⠐⢴⢂⢷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
6
|
+
\x1b[35m⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⢰⠀⠀⠀⡀⠀⡯⠆⠀⠀⢀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
7
|
+
\x1b[35m⣿⣿⣿⣿⣿⣟⣿⣿⣿⣿⠀⠈⠀⠀⠎⠀⣾⠈⠘⠂⠅⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
8
|
+
\x1b[35m⣿⣿⣿⣿⣿⣯⣿⣿⣿⣿⠀⠸⠐⣿⣶⣟⠾⣤⣿⣶⣾⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
9
|
+
\x1b[35m⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⡟⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
10
|
+
\x1b[35m⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⡌⣿⣿⣿⣿⠁⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
11
|
+
\x1b[35m⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⢀⠿⣿⣿⣿⡿⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
12
|
+
\x1b[35m⣿⣿⣿⣿⣿⣿⣋⣶⣶⣶⣤⠲⠿⣿⣿⣿⡿⣿⣿⣶⡄⣀⣀⣈⡻⣿⣿⣿⣿⣿⣿⣿⣿\x1b[0m
|
13
|
+
\x1b[35m⣿⣿⣿⣿⡟⠈⠉⠉⠛⢩⢛⡶⣂⣅⢿⣷⣿⡿⣛⣛⡛⠫⠒⣶⠭⠻⠿⠙⣿⣿⣿⣿⣿\x1b[0m
|
14
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⠀⠀⠀⠈⠿⠛⠩⠬⠤⠤⠤⠤⠤⡄⣉⠀⠉⠤⣉⠻⠛⡙⠸⣿⣿⣿⣿\x1b[0m
|
15
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⠀⠀⠀⣠⣶⣿⣿⣿⣿⣿⣿⣿⡀⢲⣶⣾⣿⣿⣿⣶⣄⠈⣆⣿⣿⣿⣿\x1b[0m
|
16
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿\x1b[0m
|
17
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⣸⣿⣿⣴⡛⠻⡌⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣭⣂⣿⣿⣿\x1b[0m
|
18
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⣿⣿⡇⣷⣃⣾⠇⣿⣿⣿⣿⣿⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡤⣙⣿⣿\x1b[0m
|
19
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⣿⣿⣿⣷⣶⣶⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠻⠟⣿\x1b[0m
|
20
|
+
\x1b[35m⣿⣿⣿⡇⠀⠀⠀⠻⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁⣾⣾⣄⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⢰⣿\x1b[0m
|
21
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠙⠛⠛⠉⣠⣾⣿⣿⣟⣿⣿⣿⣶⣀⠻⠿⣿⣿⠿⢉⣿⣿⡟\x1b[0m
|
22
|
+
\x1b[35m⣿⣿⣿⣿⠀⠀⠀⠀⢀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠁⢈⠘⣿⣼⣿⠀\x1b[0m
|
23
|
+
\x1b[35m⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠛⠃⠀\x1b[0m
|
24
|
+
\x1b[35m⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀\x1b[0m
|
25
|
+
\x1b[35m⠀⠀⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀\x1b[0m
|
26
|
+
\x1b[35m⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀\x1b[0m
|
27
|
+
\x1b[35m⠀⠀⠀⣽⣿⣿⣿⣿⣿⣿⣿⣭⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣩⣿⣿⣿⣿⣿⠀⠀⠀\x1b[0m
|
28
|
+
\x1b[35m⠀⠀⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⢿⣿⣿⣿⣿⣿⣿⣿⠟⣾⣿⣿⣿⣿⣿⣿⣿⠂⠀\x1b[0m
|
29
|
+
\x1b[35m⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⢽⣿⣿⡍⣿⣿⡏⣿⣿⣿⣿⣿⣿⣿⣿⠟⠀⠀\x1b[0m
|
30
|
+
\x1b[35m⠀⠀⠀⠀⠀⠙⠛⢿⣿⣿⣿⣿⣿⣿⣿⣷⠹⣿⠀⣿⢡⣿⣿⣿⣿⣿⣿⠟⠉⠀⠀⠀⠀\x1b[0m
|
31
|
+
`);
|
32
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
33
|
+
if (k2 === undefined) k2 = k;
|
34
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
35
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
36
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
37
|
+
}
|
38
|
+
Object.defineProperty(o, k2, desc);
|
39
|
+
}) : (function(o, m, k, k2) {
|
40
|
+
if (k2 === undefined) k2 = k;
|
41
|
+
o[k2] = m[k];
|
42
|
+
}));
|
43
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
44
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
45
|
+
};
|
46
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
47
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
48
|
+
};
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
50
|
+
exports.proto = exports.makeWASocket = void 0;
|
51
|
+
const WAProto_1 = require("../WAProto");
|
52
|
+
Object.defineProperty(exports, "proto", { enumerable: true, get: function () { return WAProto_1.proto; } });
|
53
|
+
const Socket_1 = __importDefault(require("./Socket"));
|
54
|
+
exports.makeWASocket = Socket_1.default;
|
55
|
+
__exportStar(require("../WAProto"), exports);
|
56
|
+
__exportStar(require("./Utils"), exports);
|
57
|
+
__exportStar(require("./Types"), exports);
|
58
|
+
__exportStar(require("./Store"), exports);
|
59
|
+
__exportStar(require("./Defaults"), exports);
|
60
|
+
__exportStar(require("./WABinary"), exports);
|
61
|
+
__exportStar(require("./WAM"), exports);
|
62
|
+
__exportStar(require("./WAUSync"), exports);
|
63
|
+
exports.default = Socket_1.default;
|
package/package.json
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
{
|
2
|
+
"name": "ndikzv1",
|
3
|
+
"version": "26.0.12",
|
4
|
+
"description": "baileys Ndikz",
|
5
|
+
"keywords": [
|
6
|
+
"automation",
|
7
|
+
"whatsapp",
|
8
|
+
"baileys"
|
9
|
+
],
|
10
|
+
"license": "MIT",
|
11
|
+
"author": "Adhiraj Singh",
|
12
|
+
"main": "lib/index.js",
|
13
|
+
"types": "lib/index.d.ts",
|
14
|
+
"files": [
|
15
|
+
"lib/*",
|
16
|
+
"WAProto/*.ts",
|
17
|
+
"WAProto/*.js",
|
18
|
+
"WASignalGroup/*.js",
|
19
|
+
"engine-requirements.js"
|
20
|
+
],
|
21
|
+
"scripts": {
|
22
|
+
"preinstall": "node ./engine-requirements.js"
|
23
|
+
},
|
24
|
+
"dependencies": {
|
25
|
+
"@adiwajshing/keyed-db": "^0.2.4",
|
26
|
+
"@cacheable/node-cache": "^1.4.0",
|
27
|
+
"@hapi/boom": "^9.1.3",
|
28
|
+
"async-mutex": "^0.5.0",
|
29
|
+
"axios": "^1.6.0",
|
30
|
+
"cache-manager": "^5.7.6",
|
31
|
+
"libphonenumber-js": "^1.10.20",
|
32
|
+
"libsignal": "github:nstar-y/libsignal",
|
33
|
+
"lodash": "^4.17.21",
|
34
|
+
"music-metadata": "^7.12.3",
|
35
|
+
"pino": "^9.6",
|
36
|
+
"protobufjs": "^6.11.3",
|
37
|
+
"uuid": "^10.0.0",
|
38
|
+
"ws": "^8.13.0"
|
39
|
+
},
|
40
|
+
"devDependencies": {
|
41
|
+
"@adiwajshing/eslint-config": "github:adiwajshing/eslint-config",
|
42
|
+
"@types/got": "^9.6.11",
|
43
|
+
"@types/jest": "^27.5.1",
|
44
|
+
"@types/node": "^16.0.0",
|
45
|
+
"@types/sharp": "^0.29.4",
|
46
|
+
"@types/ws": "^8.0.0",
|
47
|
+
"conventional-changelog-cli": "^2.2.2",
|
48
|
+
"eslint": "^8.0.0",
|
49
|
+
"jest": "^27.0.6",
|
50
|
+
"jimp": "^0.16.1",
|
51
|
+
"json": "^11.0.0",
|
52
|
+
"link-preview-js": "^3.0.0",
|
53
|
+
"open": "^8.4.2",
|
54
|
+
"qrcode-terminal": "^0.12.0",
|
55
|
+
"release-it": "^15.10.3",
|
56
|
+
"sharp": "^0.34.1",
|
57
|
+
"ts-jest": "^27.0.3",
|
58
|
+
"ts-node": "^10.8.1",
|
59
|
+
"typedoc": "^0.27.9",
|
60
|
+
"typescript": "^5.8.2"
|
61
|
+
},
|
62
|
+
"peerDependencies": {
|
63
|
+
"audio-decode": "^2.1.3",
|
64
|
+
"jimp": "^0.16.1",
|
65
|
+
"link-preview-js": "^3.0.0",
|
66
|
+
"qrcode-terminal": "^0.12.0",
|
67
|
+
"sharp": "^0.34.1"
|
68
|
+
},
|
69
|
+
"peerDependenciesMeta": {
|
70
|
+
"audio-decode": {
|
71
|
+
"optional": true
|
72
|
+
},
|
73
|
+
"jimp": {
|
74
|
+
"optional": true
|
75
|
+
},
|
76
|
+
"link-preview-js": {
|
77
|
+
"optional": true
|
78
|
+
},
|
79
|
+
"qrcode-terminal": {
|
80
|
+
"optional": true
|
81
|
+
},
|
82
|
+
"sharp": {
|
83
|
+
"optional": true
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"packageManager": "yarn@1.22.19",
|
87
|
+
"engines": {
|
88
|
+
"node": ">=20.0.0"
|
89
|
+
}
|
90
|
+
}
|