@risacakep/risayap 0.0.0-stage → 7.0.0-rc25.7
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/CLARISSA-BAILEYS-RC25.md +168 -0
- package/LICENSE +21 -0
- package/MIGRASI-CLARISSA-BAILEYS-RC25.md +102 -0
- package/README.md +1399 -2
- package/THIRD_PARTY_NOTICES.md +49 -0
- package/WAProto/GenerateStatics.sh +3 -0
- package/WAProto/WAProto.proto +5526 -0
- package/WAProto/fix-imports.js +85 -0
- package/WAProto/index.d.ts +14130 -0
- package/WAProto/index.js +97990 -0
- package/engine-requirements.js +10 -0
- package/lib/Defaults/index.d.ts +75 -0
- package/lib/Defaults/index.d.ts.map +1 -0
- package/lib/Defaults/index.js +131 -0
- package/lib/Defaults/index.js.map +1 -0
- package/lib/Extensions/advanced.d.ts +247 -0
- package/lib/Extensions/advanced.d.ts.map +1 -0
- package/lib/Extensions/advanced.js +821 -0
- package/lib/Extensions/advanced.js.map +1 -0
- package/lib/Extensions/experimental.d.ts +378 -0
- package/lib/Extensions/experimental.d.ts.map +1 -0
- package/lib/Extensions/experimental.js +628 -0
- package/lib/Extensions/experimental.js.map +1 -0
- package/lib/MessageBuilder/index.d.ts +210 -0
- package/lib/MessageBuilder/index.d.ts.map +1 -0
- package/lib/MessageBuilder/index.js +676 -0
- package/lib/MessageBuilder/index.js.map +1 -0
- package/lib/Signal/Group/ciphertext-message.d.ts +10 -0
- package/lib/Signal/Group/ciphertext-message.d.ts.map +1 -0
- package/lib/Signal/Group/ciphertext-message.js +12 -0
- package/lib/Signal/Group/ciphertext-message.js.map +1 -0
- package/lib/Signal/Group/group-session-builder.d.ts +15 -0
- package/lib/Signal/Group/group-session-builder.d.ts.map +1 -0
- package/lib/Signal/Group/group-session-builder.js +30 -0
- package/lib/Signal/Group/group-session-builder.js.map +1 -0
- package/lib/Signal/Group/group_cipher.d.ts +17 -0
- package/lib/Signal/Group/group_cipher.d.ts.map +1 -0
- package/lib/Signal/Group/group_cipher.js +82 -0
- package/lib/Signal/Group/group_cipher.js.map +1 -0
- package/lib/Signal/Group/index.d.ts +12 -0
- package/lib/Signal/Group/index.d.ts.map +1 -0
- package/lib/Signal/Group/index.js +12 -0
- package/lib/Signal/Group/index.js.map +1 -0
- package/lib/Signal/Group/keyhelper.d.ts +11 -0
- package/lib/Signal/Group/keyhelper.d.ts.map +1 -0
- package/lib/Signal/Group/keyhelper.js +18 -0
- package/lib/Signal/Group/keyhelper.js.map +1 -0
- package/lib/Signal/Group/sender-chain-key.d.ts +14 -0
- package/lib/Signal/Group/sender-chain-key.d.ts.map +1 -0
- package/lib/Signal/Group/sender-chain-key.js +26 -0
- package/lib/Signal/Group/sender-chain-key.js.map +1 -0
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +17 -0
- package/lib/Signal/Group/sender-key-distribution-message.d.ts.map +1 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +63 -0
- package/lib/Signal/Group/sender-key-distribution-message.js.map +1 -0
- package/lib/Signal/Group/sender-key-message.d.ts +19 -0
- package/lib/Signal/Group/sender-key-message.d.ts.map +1 -0
- package/lib/Signal/Group/sender-key-message.js +66 -0
- package/lib/Signal/Group/sender-key-message.js.map +1 -0
- package/lib/Signal/Group/sender-key-name.d.ts +18 -0
- package/lib/Signal/Group/sender-key-name.d.ts.map +1 -0
- package/lib/Signal/Group/sender-key-name.js +48 -0
- package/lib/Signal/Group/sender-key-name.js.map +1 -0
- package/lib/Signal/Group/sender-key-record.d.ts +31 -0
- package/lib/Signal/Group/sender-key-record.d.ts.map +1 -0
- package/lib/Signal/Group/sender-key-record.js +41 -0
- package/lib/Signal/Group/sender-key-record.js.map +1 -0
- package/lib/Signal/Group/sender-key-state.d.ts +39 -0
- package/lib/Signal/Group/sender-key-state.d.ts.map +1 -0
- package/lib/Signal/Group/sender-key-state.js +84 -0
- package/lib/Signal/Group/sender-key-state.js.map +1 -0
- package/lib/Signal/Group/sender-message-key.d.ts +12 -0
- package/lib/Signal/Group/sender-message-key.d.ts.map +1 -0
- package/lib/Signal/Group/sender-message-key.js +26 -0
- package/lib/Signal/Group/sender-message-key.js.map +1 -0
- package/lib/Signal/libsignal.d.ts +5 -0
- package/lib/Signal/libsignal.d.ts.map +1 -0
- package/lib/Signal/libsignal.js +431 -0
- package/lib/Signal/libsignal.js.map +1 -0
- package/lib/Signal/lid-mapping.d.ts +23 -0
- package/lib/Signal/lid-mapping.d.ts.map +1 -0
- package/lib/Signal/lid-mapping.js +277 -0
- package/lib/Signal/lid-mapping.js.map +1 -0
- package/lib/Socket/Client/index.d.ts +3 -0
- package/lib/Socket/Client/index.d.ts.map +1 -0
- package/lib/Socket/Client/index.js +3 -0
- package/lib/Socket/Client/index.js.map +1 -0
- package/lib/Socket/Client/types.d.ts +16 -0
- package/lib/Socket/Client/types.d.ts.map +1 -0
- package/lib/Socket/Client/types.js +11 -0
- package/lib/Socket/Client/types.js.map +1 -0
- package/lib/Socket/Client/websocket.d.ts +13 -0
- package/lib/Socket/Client/websocket.d.ts.map +1 -0
- package/lib/Socket/Client/websocket.js +54 -0
- package/lib/Socket/Client/websocket.js.map +1 -0
- package/lib/Socket/business.d.ts +219 -0
- package/lib/Socket/business.d.ts.map +1 -0
- package/lib/Socket/business.js +379 -0
- package/lib/Socket/business.js.map +1 -0
- package/lib/Socket/chats.d.ts +127 -0
- package/lib/Socket/chats.d.ts.map +1 -0
- package/lib/Socket/chats.js +1198 -0
- package/lib/Socket/chats.js.map +1 -0
- package/lib/Socket/communities.d.ts +275 -0
- package/lib/Socket/communities.d.ts.map +1 -0
- package/lib/Socket/communities.js +431 -0
- package/lib/Socket/communities.js.map +1 -0
- package/lib/Socket/groups.d.ts +163 -0
- package/lib/Socket/groups.d.ts.map +1 -0
- package/lib/Socket/groups.js +347 -0
- package/lib/Socket/groups.js.map +1 -0
- package/lib/Socket/index.d.ts +262 -0
- package/lib/Socket/index.d.ts.map +1 -0
- package/lib/Socket/index.js +33 -0
- package/lib/Socket/index.js.map +1 -0
- package/lib/Socket/messages-recv.d.ts +205 -0
- package/lib/Socket/messages-recv.d.ts.map +1 -0
- package/lib/Socket/messages-recv.js +1772 -0
- package/lib/Socket/messages-recv.js.map +1 -0
- package/lib/Socket/messages-send.d.ts +201 -0
- package/lib/Socket/messages-send.d.ts.map +1 -0
- package/lib/Socket/messages-send.js +1205 -0
- package/lib/Socket/messages-send.js.map +1 -0
- package/lib/Socket/mex.d.ts +3 -0
- package/lib/Socket/mex.d.ts.map +1 -0
- package/lib/Socket/mex.js +42 -0
- package/lib/Socket/mex.js.map +1 -0
- package/lib/Socket/newsletter.d.ts +172 -0
- package/lib/Socket/newsletter.d.ts.map +1 -0
- package/lib/Socket/newsletter.js +181 -0
- package/lib/Socket/newsletter.js.map +1 -0
- package/lib/Socket/socket.d.ts +59 -0
- package/lib/Socket/socket.d.ts.map +1 -0
- package/lib/Socket/socket.js +1015 -0
- package/lib/Socket/socket.js.map +1 -0
- package/lib/Types/Auth.d.ts +117 -0
- package/lib/Types/Auth.d.ts.map +1 -0
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Auth.js.map +1 -0
- package/lib/Types/Bussines.d.ts +25 -0
- package/lib/Types/Bussines.d.ts.map +1 -0
- package/lib/Types/Bussines.js +2 -0
- package/lib/Types/Bussines.js.map +1 -0
- package/lib/Types/Call.d.ts +15 -0
- package/lib/Types/Call.d.ts.map +1 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Call.js.map +1 -0
- package/lib/Types/Chat.d.ts +124 -0
- package/lib/Types/Chat.d.ts.map +1 -0
- package/lib/Types/Chat.js +8 -0
- package/lib/Types/Chat.js.map +1 -0
- package/lib/Types/Contact.d.ts +26 -0
- package/lib/Types/Contact.d.ts.map +1 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Contact.js.map +1 -0
- package/lib/Types/Events.d.ts +256 -0
- package/lib/Types/Events.d.ts.map +1 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/Events.js.map +1 -0
- package/lib/Types/GroupMetadata.d.ts +71 -0
- package/lib/Types/GroupMetadata.d.ts.map +1 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/GroupMetadata.js.map +1 -0
- package/lib/Types/Label.d.ts +47 -0
- package/lib/Types/Label.d.ts.map +1 -0
- package/lib/Types/Label.js +25 -0
- package/lib/Types/Label.js.map +1 -0
- package/lib/Types/LabelAssociation.d.ts +30 -0
- package/lib/Types/LabelAssociation.d.ts.map +1 -0
- package/lib/Types/LabelAssociation.js +7 -0
- package/lib/Types/LabelAssociation.js.map +1 -0
- package/lib/Types/Message.d.ts +331 -0
- package/lib/Types/Message.d.ts.map +1 -0
- package/lib/Types/Message.js +11 -0
- package/lib/Types/Message.js.map +1 -0
- package/lib/Types/Mex.d.ts +141 -0
- package/lib/Types/Mex.d.ts.map +1 -0
- package/lib/Types/Mex.js +37 -0
- package/lib/Types/Mex.js.map +1 -0
- package/lib/Types/Product.d.ts +79 -0
- package/lib/Types/Product.d.ts.map +1 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Product.js.map +1 -0
- package/lib/Types/Signal.d.ts +87 -0
- package/lib/Types/Signal.d.ts.map +1 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Signal.js.map +1 -0
- package/lib/Types/Socket.d.ts +140 -0
- package/lib/Types/Socket.d.ts.map +1 -0
- package/lib/Types/Socket.js +3 -0
- package/lib/Types/Socket.js.map +1 -0
- package/lib/Types/State.d.ts +97 -0
- package/lib/Types/State.d.ts.map +1 -0
- package/lib/Types/State.js +56 -0
- package/lib/Types/State.js.map +1 -0
- package/lib/Types/USync.d.ts +26 -0
- package/lib/Types/USync.d.ts.map +1 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/USync.js.map +1 -0
- package/lib/Types/index.d.ts +66 -0
- package/lib/Types/index.d.ts.map +1 -0
- package/lib/Types/index.js +26 -0
- package/lib/Types/index.js.map +1 -0
- package/lib/Utils/auth-utils.d.ts +24 -0
- package/lib/Utils/auth-utils.d.ts.map +1 -0
- package/lib/Utils/auth-utils.js +302 -0
- package/lib/Utils/auth-utils.js.map +1 -0
- package/lib/Utils/browser-utils.d.ts +4 -0
- package/lib/Utils/browser-utils.d.ts.map +1 -0
- package/lib/Utils/browser-utils.js +29 -0
- package/lib/Utils/browser-utils.js.map +1 -0
- package/lib/Utils/business.d.ts +23 -0
- package/lib/Utils/business.d.ts.map +1 -0
- package/lib/Utils/business.js +231 -0
- package/lib/Utils/business.js.map +1 -0
- package/lib/Utils/chat-utils.d.ts +100 -0
- package/lib/Utils/chat-utils.d.ts.map +1 -0
- package/lib/Utils/chat-utils.js +872 -0
- package/lib/Utils/chat-utils.js.map +1 -0
- package/lib/Utils/companion-reg-client-utils.d.ts +50 -0
- package/lib/Utils/companion-reg-client-utils.d.ts.map +1 -0
- package/lib/Utils/companion-reg-client-utils.js +90 -0
- package/lib/Utils/companion-reg-client-utils.js.map +1 -0
- package/lib/Utils/crypto.d.ts +37 -0
- package/lib/Utils/crypto.d.ts.map +1 -0
- package/lib/Utils/crypto.js +118 -0
- package/lib/Utils/crypto.js.map +1 -0
- package/lib/Utils/decode-wa-message.d.ts +66 -0
- package/lib/Utils/decode-wa-message.d.ts.map +1 -0
- package/lib/Utils/decode-wa-message.js +317 -0
- package/lib/Utils/decode-wa-message.js.map +1 -0
- package/lib/Utils/event-buffer.d.ts +36 -0
- package/lib/Utils/event-buffer.d.ts.map +1 -0
- package/lib/Utils/event-buffer.js +622 -0
- package/lib/Utils/event-buffer.js.map +1 -0
- package/lib/Utils/generics.d.ts +92 -0
- package/lib/Utils/generics.d.ts.map +1 -0
- package/lib/Utils/generics.js +393 -0
- package/lib/Utils/generics.js.map +1 -0
- package/lib/Utils/history.d.ts +24 -0
- package/lib/Utils/history.d.ts.map +1 -0
- package/lib/Utils/history.js +134 -0
- package/lib/Utils/history.js.map +1 -0
- package/lib/Utils/identity-change-handler.d.ts +44 -0
- package/lib/Utils/identity-change-handler.d.ts.map +1 -0
- package/lib/Utils/identity-change-handler.js +50 -0
- package/lib/Utils/identity-change-handler.js.map +1 -0
- package/lib/Utils/index.d.ts +22 -0
- package/lib/Utils/index.d.ts.map +1 -0
- package/lib/Utils/index.js +22 -0
- package/lib/Utils/index.js.map +1 -0
- package/lib/Utils/link-preview.d.ts +21 -0
- package/lib/Utils/link-preview.d.ts.map +1 -0
- package/lib/Utils/link-preview.js +85 -0
- package/lib/Utils/link-preview.js.map +1 -0
- package/lib/Utils/logger.d.ts +12 -0
- package/lib/Utils/logger.d.ts.map +1 -0
- package/lib/Utils/logger.js +3 -0
- package/lib/Utils/logger.js.map +1 -0
- package/lib/Utils/lt-hash.d.ts +8 -0
- package/lib/Utils/lt-hash.d.ts.map +1 -0
- package/lib/Utils/lt-hash.js +8 -0
- package/lib/Utils/lt-hash.js.map +1 -0
- package/lib/Utils/make-mutex.d.ts +9 -0
- package/lib/Utils/make-mutex.d.ts.map +1 -0
- package/lib/Utils/make-mutex.js +33 -0
- package/lib/Utils/make-mutex.js.map +1 -0
- package/lib/Utils/message-retry-manager.d.ts +115 -0
- package/lib/Utils/message-retry-manager.d.ts.map +1 -0
- package/lib/Utils/message-retry-manager.js +265 -0
- package/lib/Utils/message-retry-manager.js.map +1 -0
- package/lib/Utils/messages-media.d.ts +135 -0
- package/lib/Utils/messages-media.d.ts.map +1 -0
- package/lib/Utils/messages-media.js +791 -0
- package/lib/Utils/messages-media.js.map +1 -0
- package/lib/Utils/messages.d.ts +91 -0
- package/lib/Utils/messages.d.ts.map +1 -0
- package/lib/Utils/messages.js +910 -0
- package/lib/Utils/messages.js.map +1 -0
- package/lib/Utils/noise-handler.d.ts +20 -0
- package/lib/Utils/noise-handler.d.ts.map +1 -0
- package/lib/Utils/noise-handler.js +201 -0
- package/lib/Utils/noise-handler.js.map +1 -0
- package/lib/Utils/offline-node-processor.d.ts +17 -0
- package/lib/Utils/offline-node-processor.d.ts.map +1 -0
- package/lib/Utils/offline-node-processor.js +40 -0
- package/lib/Utils/offline-node-processor.js.map +1 -0
- package/lib/Utils/pre-key-manager.d.ts +28 -0
- package/lib/Utils/pre-key-manager.d.ts.map +1 -0
- package/lib/Utils/pre-key-manager.js +106 -0
- package/lib/Utils/pre-key-manager.js.map +1 -0
- package/lib/Utils/process-message.d.ts +60 -0
- package/lib/Utils/process-message.d.ts.map +1 -0
- package/lib/Utils/process-message.js +630 -0
- package/lib/Utils/process-message.js.map +1 -0
- package/lib/Utils/reporting-utils.d.ts +11 -0
- package/lib/Utils/reporting-utils.d.ts.map +1 -0
- package/lib/Utils/reporting-utils.js +258 -0
- package/lib/Utils/reporting-utils.js.map +1 -0
- package/lib/Utils/signal.d.ts +47 -0
- package/lib/Utils/signal.d.ts.map +1 -0
- package/lib/Utils/signal.js +201 -0
- package/lib/Utils/signal.js.map +1 -0
- package/lib/Utils/stanza-ack.d.ts +11 -0
- package/lib/Utils/stanza-ack.d.ts.map +1 -0
- package/lib/Utils/stanza-ack.js +38 -0
- package/lib/Utils/stanza-ack.js.map +1 -0
- package/lib/Utils/sync-action-utils.d.ts +19 -0
- package/lib/Utils/sync-action-utils.d.ts.map +1 -0
- package/lib/Utils/sync-action-utils.js +49 -0
- package/lib/Utils/sync-action-utils.js.map +1 -0
- package/lib/Utils/tc-token-utils.d.ts +37 -0
- package/lib/Utils/tc-token-utils.d.ts.map +1 -0
- package/lib/Utils/tc-token-utils.js +164 -0
- package/lib/Utils/tc-token-utils.js.map +1 -0
- package/lib/Utils/terminal-welcome.d.ts +11 -0
- package/lib/Utils/terminal-welcome.d.ts.map +1 -0
- package/lib/Utils/terminal-welcome.js +215 -0
- package/lib/Utils/terminal-welcome.js.map +1 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +13 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts.map +1 -0
- package/lib/Utils/use-multi-file-auth-state.js +121 -0
- package/lib/Utils/use-multi-file-auth-state.js.map +1 -0
- package/lib/Utils/validate-connection.d.ts +11 -0
- package/lib/Utils/validate-connection.d.ts.map +1 -0
- package/lib/Utils/validate-connection.js +210 -0
- package/lib/Utils/validate-connection.js.map +1 -0
- package/lib/WABinary/constants.d.ts +28 -0
- package/lib/WABinary/constants.d.ts.map +1 -0
- package/lib/WABinary/constants.js +1301 -0
- package/lib/WABinary/constants.js.map +1 -0
- package/lib/WABinary/decode.d.ts +7 -0
- package/lib/WABinary/decode.d.ts.map +1 -0
- package/lib/WABinary/decode.js +262 -0
- package/lib/WABinary/decode.js.map +1 -0
- package/lib/WABinary/encode.d.ts +3 -0
- package/lib/WABinary/encode.d.ts.map +1 -0
- package/lib/WABinary/encode.js +220 -0
- package/lib/WABinary/encode.js.map +1 -0
- package/lib/WABinary/generic-utils.d.ts +31 -0
- package/lib/WABinary/generic-utils.d.ts.map +1 -0
- package/lib/WABinary/generic-utils.js +224 -0
- package/lib/WABinary/generic-utils.js.map +1 -0
- package/lib/WABinary/index.d.ts +6 -0
- package/lib/WABinary/index.d.ts.map +1 -0
- package/lib/WABinary/index.js +6 -0
- package/lib/WABinary/index.js.map +1 -0
- package/lib/WABinary/jid-utils.d.ts +48 -0
- package/lib/WABinary/jid-utils.d.ts.map +1 -0
- package/lib/WABinary/jid-utils.js +96 -0
- package/lib/WABinary/jid-utils.js.map +1 -0
- package/lib/WABinary/types.d.ts +19 -0
- package/lib/WABinary/types.d.ts.map +1 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WABinary/types.js.map +1 -0
- package/lib/WAM/BinaryInfo.d.ts +9 -0
- package/lib/WAM/BinaryInfo.d.ts.map +1 -0
- package/lib/WAM/BinaryInfo.js +10 -0
- package/lib/WAM/BinaryInfo.js.map +1 -0
- package/lib/WAM/constants.d.ts +40 -0
- package/lib/WAM/constants.d.ts.map +1 -0
- package/lib/WAM/constants.js +22853 -0
- package/lib/WAM/constants.js.map +1 -0
- package/lib/WAM/encode.d.ts +3 -0
- package/lib/WAM/encode.d.ts.map +1 -0
- package/lib/WAM/encode.js +150 -0
- package/lib/WAM/encode.js.map +1 -0
- package/lib/WAM/index.d.ts +4 -0
- package/lib/WAM/index.d.ts.map +1 -0
- package/lib/WAM/index.js +4 -0
- package/lib/WAM/index.js.map +1 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +10 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +52 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js.map +1 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +23 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +54 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js.map +1 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +13 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +27 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js.map +1 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +13 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +38 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js.map +1 -0
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.d.ts +10 -0
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +25 -0
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js.map +1 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +26 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +51 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js.map +1 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +10 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +29 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js.map +1 -0
- package/lib/WAUSync/Protocols/index.d.ts +6 -0
- package/lib/WAUSync/Protocols/index.d.ts.map +1 -0
- package/lib/WAUSync/Protocols/index.js +6 -0
- package/lib/WAUSync/Protocols/index.js.map +1 -0
- package/lib/WAUSync/USyncQuery.d.ts +30 -0
- package/lib/WAUSync/USyncQuery.d.ts.map +1 -0
- package/lib/WAUSync/USyncQuery.js +98 -0
- package/lib/WAUSync/USyncQuery.js.map +1 -0
- package/lib/WAUSync/USyncUser.d.ts +17 -0
- package/lib/WAUSync/USyncUser.d.ts.map +1 -0
- package/lib/WAUSync/USyncUser.js +31 -0
- package/lib/WAUSync/USyncUser.js.map +1 -0
- package/lib/WAUSync/index.d.ts +4 -0
- package/lib/WAUSync/index.d.ts.map +1 -0
- package/lib/WAUSync/index.js +4 -0
- package/lib/WAUSync/index.js.map +1 -0
- package/lib/extensions/clarissa-MessageBuilder.js +3257 -0
- package/lib/extensions/clarissa-ai-rich.js +658 -0
- package/lib/extensions/clarissa-carousel.js +275 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/package.json +147 -4
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Clarissa Baileys RC25 — Developer Guide
|
|
2
|
+
|
|
3
|
+
**Package:** `@risacakep/risayap`
|
|
4
|
+
**Inspected package version:** `7.0.0-rc25.4`
|
|
5
|
+
**Documentation:** <https://clarissa.github.io/clarissa-baileys-docs/>
|
|
6
|
+
**Status:** Release candidate; experimental APIs are not guaranteed to work across all WhatsApp clients or server-side capabilities.
|
|
7
|
+
|
|
8
|
+
Clarissa Baileys is an unofficial TypeScript toolkit based on the WhiskeySockets Baileys project, with additional Clarissa extensions. It is not affiliated with WhatsApp or Meta.
|
|
9
|
+
|
|
10
|
+
## 1. Installation
|
|
11
|
+
|
|
12
|
+
The project currently distributes its RC25 prereleases through the npm `next` dist-tag. Install that channel explicitly:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @risacakep/risayap@next
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
The `latest` dist-tag is maintained separately. Do not omit `@next` when you intend to install the RC25 prerelease channel.
|
|
19
|
+
|
|
20
|
+
Use Node.js 20 or newer, matching the compatibility target documented by this project. Keep your authentication data private and never commit session credentials to a public repository.
|
|
21
|
+
|
|
22
|
+
## 2. Basic connection pattern
|
|
23
|
+
|
|
24
|
+
The package exports `makeWASocket` as both the default export and a named export. Authentication helpers are re-exported from the package entry point.
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import makeWASocket, {
|
|
28
|
+
useMultiFileAuthState,
|
|
29
|
+
} from "@risacakep/risayap";
|
|
30
|
+
|
|
31
|
+
async function main() {
|
|
32
|
+
const { state, saveCreds } = await useMultiFileAuthState("./auth");
|
|
33
|
+
const socket = makeWASocket({ auth: state });
|
|
34
|
+
|
|
35
|
+
socket.ev.on("creds.update", saveCreds);
|
|
36
|
+
return socket;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
void main();
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
This is a minimal connection pattern, not a complete production deployment. Review the upstream Baileys guidance and the examples shipped with the source before deploying a long-running service. Add appropriate logging, reconnect handling, shutdown handling, and secure storage for credentials in your own application.
|
|
43
|
+
|
|
44
|
+
## 3. Package entry points and exports
|
|
45
|
+
|
|
46
|
+
The package metadata identifies `lib/index.js` as the JavaScript entry point and `lib/index.d.ts` as the TypeScript declaration entry point.
|
|
47
|
+
|
|
48
|
+
The root entry point exports the default and named `makeWASocket` factory, WAProto exports, shared utilities, types, defaults, and these Clarissa-facing modules:
|
|
49
|
+
|
|
50
|
+
- `MessageBuilder`
|
|
51
|
+
- Advanced extensions
|
|
52
|
+
- Experimental extensions
|
|
53
|
+
|
|
54
|
+
The root entry point also invokes the Clarissa terminal welcome display when it is imported.
|
|
55
|
+
|
|
56
|
+
## 4. MessageBuilder toolkit
|
|
57
|
+
|
|
58
|
+
The MessageBuilder module exports the following principal classes and helpers:
|
|
59
|
+
|
|
60
|
+
| Export | Purpose |
|
|
61
|
+
|:--|:--|
|
|
62
|
+
| `Button` | Button-oriented message builder |
|
|
63
|
+
| `ButtonV2` | Newer button builder interface |
|
|
64
|
+
| `Carousel` | Carousel message builder |
|
|
65
|
+
| `AIRich` | Rich/AI-oriented message builder |
|
|
66
|
+
| `Toolkit` | Deterministic helper utilities |
|
|
67
|
+
| `MessageBuilder` | Object grouping the builders and helper functions |
|
|
68
|
+
| `MB` | Alias for `MessageBuilder` |
|
|
69
|
+
| `checkNativeFlowButtons` | Native-flow button validation |
|
|
70
|
+
| `isWebSupportedNativeFlowButton` | Checks web-supported native-flow button names |
|
|
71
|
+
| `readRichMessage` | Reads rich-message content |
|
|
72
|
+
| `readSocialPreview` | Reads social-preview content |
|
|
73
|
+
|
|
74
|
+
The precise constructor options and supported payload shapes are defined by the installed TypeScript declarations. Consult those declarations rather than assuming that all interactive formats are accepted by every WhatsApp client.
|
|
75
|
+
|
|
76
|
+
## 5. Advanced extensions
|
|
77
|
+
|
|
78
|
+
The advanced module includes the following exported capabilities:
|
|
79
|
+
|
|
80
|
+
### Message and content helpers
|
|
81
|
+
|
|
82
|
+
- `unwrapMessage`
|
|
83
|
+
- `readRichMessage`
|
|
84
|
+
- `readSocialPreview`
|
|
85
|
+
- `normalizeUserJid`
|
|
86
|
+
- `buildButtonsMessage`
|
|
87
|
+
- `buildListMessage`
|
|
88
|
+
- `sendClassicMessage`
|
|
89
|
+
- `sendAlbum`
|
|
90
|
+
- `richLink`
|
|
91
|
+
- `inspectMessageContent`
|
|
92
|
+
|
|
93
|
+
### Socket and in-memory helpers
|
|
94
|
+
|
|
95
|
+
- `attachAdvancedSocketMethods`
|
|
96
|
+
- `makeInMemoryStore`
|
|
97
|
+
|
|
98
|
+
### Authentication adapters
|
|
99
|
+
|
|
100
|
+
- `useSingleFileAuthState`
|
|
101
|
+
- `useSqliteAuthState`
|
|
102
|
+
- `usePostgresAuthState`
|
|
103
|
+
- `useMySQLAuthState`
|
|
104
|
+
- `useMongoAuthState`
|
|
105
|
+
- `useRedisAuthState`
|
|
106
|
+
- `useCacheManagerAuthState`
|
|
107
|
+
- `useNekoDBAuth`
|
|
108
|
+
- `useAdapterAuthState`
|
|
109
|
+
- `makeCacheManagerAuthState`
|
|
110
|
+
|
|
111
|
+
Database-specific helpers expect compatible database clients, pools, or adapter objects supplied by the application. Install and configure the corresponding database driver separately when required; these adapters do not mean that every database server or driver is bundled with Clarissa.
|
|
112
|
+
|
|
113
|
+
### Media helpers
|
|
114
|
+
|
|
115
|
+
- `probeMedia`
|
|
116
|
+
- `convertToWhatsAppVideo`
|
|
117
|
+
- `convertToOpusAudio`
|
|
118
|
+
- `getVideoThumbnail`
|
|
119
|
+
- `resizeImage`
|
|
120
|
+
- `getMp4Duration`
|
|
121
|
+
|
|
122
|
+
Review the TypeScript declarations and your environment requirements before using media conversion helpers. Availability can depend on external media tooling and platform support.
|
|
123
|
+
|
|
124
|
+
## 6. Experimental extensions
|
|
125
|
+
|
|
126
|
+
The experimental module contains APIs for newer or less-established message structures and integrations. The RC25 changelog lists additions including:
|
|
127
|
+
|
|
128
|
+
- WebUI and A2UI message builders and socket helpers
|
|
129
|
+
- Rich Menu builders and helpers
|
|
130
|
+
- Image-poll message helpers
|
|
131
|
+
- Scheduled-message primitives and helpers
|
|
132
|
+
- Question, status, Add Yours, comment, and status-link-preview helpers
|
|
133
|
+
- Newsletter invitation helpers
|
|
134
|
+
- Scheduled-call message helpers
|
|
135
|
+
- Poll-add-option helpers
|
|
136
|
+
- An explicit VoIP client adapter contract
|
|
137
|
+
|
|
138
|
+
Some named exports visible in the source include `A2UI`, `buildWebuiMessage`, `sendInlineWebUI`, `sendA2UIWidget`, `buildRichMenuMessage`, `sendRichMenu`, `sendImagePoll`, `sendScheduledMessage`, `sendPollAddOption`, `sendNewsletterAdminInvite`, `sendNewsletterFollowerInvite`, and `makeVoipClient`.
|
|
139
|
+
|
|
140
|
+
**Experimental means experimental.** Server support, WhatsApp client versions, account eligibility, payload restrictions, and protocol changes may affect behavior. Test with a separate account and non-critical data. Do not promise delivery or universal compatibility for these message types.
|
|
141
|
+
|
|
142
|
+
The VoIP feature is exposed through an adapter contract; the VoIP engine is not bundled by this package. Applications must provide a compatible adapter/engine where required.
|
|
143
|
+
|
|
144
|
+
## 7. Source examples
|
|
145
|
+
|
|
146
|
+
The source repository contains:
|
|
147
|
+
|
|
148
|
+
- `Example/example.ts` — standard socket example
|
|
149
|
+
- `Example/experimental-features.ts` — examples of selected experimental APIs
|
|
150
|
+
|
|
151
|
+
Treat these files and the installed `.d.ts` declarations as the reference for exact call signatures. Example files in the source repository are not necessarily included in the published npm tarball.
|
|
152
|
+
|
|
153
|
+
## 8. Release and compatibility notes
|
|
154
|
+
|
|
155
|
+
- `7.0.0-rc25.4` is a prerelease, not a stable release.
|
|
156
|
+
- Install the RC25 channel with `@next` explicitly.
|
|
157
|
+
- Interactive and experimental protocol features may change between prereleases.
|
|
158
|
+
- Review `CHANGELOG.md` for release-by-release notes in the source repository.
|
|
159
|
+
- Keep authentication state secure and maintain backups before changing persistence adapters.
|
|
160
|
+
- Do not generate or modify WAProto files unless you intentionally maintain the protocol schema and understand the consequences.
|
|
161
|
+
|
|
162
|
+
## 9. Credits and disclaimer
|
|
163
|
+
|
|
164
|
+
Clarissa Baileys is derived from [WhiskeySockets/Baileys](https://github.com/WhiskeySockets/Baileys). The project retains the upstream MIT license notice in its `LICENSE` file. Preserve upstream copyright and license notices when redistributing applicable source portions.
|
|
165
|
+
|
|
166
|
+
This is an unofficial community project and is not affiliated with WhatsApp or Meta. WhatsApp is a trademark of its respective owner.
|
|
167
|
+
|
|
168
|
+
For project documentation, see <https://clarissa.github.io/clarissa-baileys-docs/>.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Rajeh Taher/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.
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Migration Guide — Clarissa Baileys RC25
|
|
2
|
+
|
|
3
|
+
This guide covers moving an application to the Clarissa Baileys RC25 prerelease channel. The inspected package version for this guide is `7.0.0-rc25.4`.
|
|
4
|
+
|
|
5
|
+
> RC25 is a prerelease. Review the changelog and validate your application in a controlled environment before upgrading production workloads.
|
|
6
|
+
|
|
7
|
+
## 1. Install the intended release channel
|
|
8
|
+
|
|
9
|
+
The project uses npm dist-tags to separate release channels. Install RC25 explicitly:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @risacakep/risayap@next
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Do not assume that `npm install @risacakep/risayap` selects RC25. The project may maintain a different version under the `latest` tag.
|
|
16
|
+
|
|
17
|
+
## 2. Update package imports deliberately
|
|
18
|
+
|
|
19
|
+
Use the Clarissa package name in application imports:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import makeWASocket, {
|
|
23
|
+
MessageBuilder,
|
|
24
|
+
A2UI,
|
|
25
|
+
sendImagePoll,
|
|
26
|
+
sendScheduledMessage,
|
|
27
|
+
} from "@risacakep/risayap";
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Only import symbols that your application actually uses. Check the installed `lib/index.d.ts` for the exact exported names and call signatures of the version you installed. Do not copy source-relative imports such as `../src` from repository examples into an installed application.
|
|
31
|
+
|
|
32
|
+
## 3. Preserve and protect authentication state
|
|
33
|
+
|
|
34
|
+
Before upgrading:
|
|
35
|
+
|
|
36
|
+
1. Stop the running client cleanly.
|
|
37
|
+
2. Make a private backup of the existing authentication directory or database.
|
|
38
|
+
3. Keep credentials out of source control, logs, screenshots, and public issue reports.
|
|
39
|
+
4. Upgrade the package without deleting the existing auth state.
|
|
40
|
+
5. Test reconnection with a controlled account before deploying the updated application.
|
|
41
|
+
|
|
42
|
+
Changing the package version does not itself require deleting or regenerating authentication credentials. Do not delete auth data as a generic troubleshooting step.
|
|
43
|
+
|
|
44
|
+
## 4. Review custom extensions separately
|
|
45
|
+
|
|
46
|
+
RC25 exposes additional functionality in three broad areas:
|
|
47
|
+
|
|
48
|
+
### MessageBuilder
|
|
49
|
+
|
|
50
|
+
The current source exports `Button`, `ButtonV2`, `Carousel`, `AIRich`, `Toolkit`, `MessageBuilder`, and `MB`, along with native-flow validation and rich-message reading helpers.
|
|
51
|
+
|
|
52
|
+
Review the declaration signatures for your exact builder usage. Do not assume a payload from one builder version is interchangeable with another.
|
|
53
|
+
|
|
54
|
+
### Advanced extensions
|
|
55
|
+
|
|
56
|
+
The advanced module includes album and classic interactive-message helpers, rich-link helpers, message readers, in-memory storage, authentication adapters, and media utilities.
|
|
57
|
+
|
|
58
|
+
If you use database-backed auth adapters, confirm that your application passes a compatible client, pool, or adapter. Database drivers and services may need to be installed and configured separately.
|
|
59
|
+
|
|
60
|
+
### Experimental extensions
|
|
61
|
+
|
|
62
|
+
RC25 includes WebUI/A2UI, Rich Menu, image poll, scheduled-message, modern status/question, newsletter, scheduled-call, and poll-add-option helpers. These are experimental and may be affected by protocol or client-side support changes.
|
|
63
|
+
|
|
64
|
+
Enable experimental functionality only where needed. Test it independently from your normal message flow and maintain a fallback path for unsupported clients.
|
|
65
|
+
|
|
66
|
+
## 5. VoIP adapter contract
|
|
67
|
+
|
|
68
|
+
The RC25 changelog describes an explicit VoIP adapter contract and states that the engine is not bundled. Applications that use this interface must supply and maintain a compatible adapter/engine. Do not treat the presence of `makeVoipClient` as proof that a working VoIP engine is installed.
|
|
69
|
+
|
|
70
|
+
## 6. Validate after the upgrade
|
|
71
|
+
|
|
72
|
+
Recommended application-level checks:
|
|
73
|
+
|
|
74
|
+
- Confirm that the application resolves `@risacakep/risayap` to the expected prerelease version.
|
|
75
|
+
- Confirm that the existing auth state can be loaded and credentials can be saved.
|
|
76
|
+
- Confirm basic connection and ordinary send/receive flows.
|
|
77
|
+
- Exercise each Clarissa extension used by the application independently.
|
|
78
|
+
- Test media helpers in the target operating environment.
|
|
79
|
+
- Test experimental features only with a separate or non-critical account.
|
|
80
|
+
- Monitor logs for protocol, authentication, or dependency errors.
|
|
81
|
+
|
|
82
|
+
Do not infer that every RC25 feature has been fully validated merely because it is exported. The RC25 changelog itself records that the source-level integration was not fully type-checked or runtime-tested at the time of that changelog entry.
|
|
83
|
+
|
|
84
|
+
## 7. Rollback
|
|
85
|
+
|
|
86
|
+
If the prerelease causes an application regression:
|
|
87
|
+
|
|
88
|
+
1. Stop the application.
|
|
89
|
+
2. Restore the previously recorded package version in your project manifest/lockfile.
|
|
90
|
+
3. Reinstall dependencies from that known-good lockfile.
|
|
91
|
+
4. Restore the auth-state backup only if the application has actually damaged or migrated it; do not overwrite a valid, current session without reason.
|
|
92
|
+
5. Re-test ordinary connection and messaging flows.
|
|
93
|
+
|
|
94
|
+
Record the exact previous package version before upgrading so rollback is deterministic.
|
|
95
|
+
|
|
96
|
+
## 8. Release notes and support references
|
|
97
|
+
|
|
98
|
+
- Project documentation: <https://clarissa.github.io/clarissa-baileys-docs/>
|
|
99
|
+
- npm package: <https://www.npmjs.com/package/@risacakep/risayap>
|
|
100
|
+
- Upstream project: <https://github.com/WhiskeySockets/Baileys>
|
|
101
|
+
|
|
102
|
+
For exact changes, consult the corresponding release entry in `CHANGELOG.md` in the source repository.
|