Skip to content

Releases: toZyn/WAeys

v0.1.3

Choose a tag to compare

@toZyn toZyn released this 03 Aug 17:03

v0.1.3

Fix: remove broken duplicate link_code_companion_reg handler.

  • messages_recv.py replicated the pairing flow already handled by socket.py (_on_link_code_companion_reg).
  • Its copy awaited decipher_link_public_key, which is synchronous, raising 'bytes' object can't be awaited on every pairing notification.
  • Pairing completed anyway via socket.py, but the duplicate branch logged an error each time.
  • Removed the duplicate branch and the now-unused imports (base64, os, crypto helpers).

WAeys v0.1.2

Choose a tag to compare

@toZyn toZyn released this 03 Aug 05:58

Fixes

  • Pairing: decipher_link_public_key is now awaited when handling the link_code_companion_reg notification (fixes object of type 'coroutine' has no len() that crashed the 8-digit pairing flow).
  • advSecretKey is now persisted in base64 (consistent with socket.py and init_auth_creds), matching Baileys behavior.

Install

pip install --upgrade waeys

WAeys v0.1.1

Choose a tag to compare

@toZyn toZyn released this 03 Aug 04:40

Fixed

  • Wired the messages send/recv layers into make_socket: sendMessage, relayMessage, readMessages, sendMessageAck, handleMessage and the rest of the messages API are now exposed.
  • Added messageMutex, upsertMessage, fetchPrivacySettings, groupMetadata, groupToggleEphemeral to the base socket so the send layer can compose.
  • Added make_memory_key_store() to WAeys.Utils.auth_utils (documented in §3.1) and exported it from WAeys.Utils.
  • Introduced a SignalKeyStore wrapper so key stores support both store.get() and store['get'] without dict built-in shadowing (fixed the 'list' object can't be awaited tctoken error).
  • Fixed _on_socket_end handlers to accept the error argument and missing nonlocal declarations.
  • Fixed the user getter invocation when building the sendMessage message id.

WAeys v0.1.0

Choose a tag to compare

@toZyn toZyn released this 03 Aug 02:56

Initial release of WAeys — pure-Python port of Baileys (WhatsApp Web protocol client).

  • QR & pairing-code login
  • Session persistence
  • Text, media, interactive messages
  • Docs in EN/ES/PT