* fixed: contact info retrieving
* fixed: block method
* fixed: isBlocked property is now changeble
* added inner function to compare between WWeb versions
The function compares the currently used WWeb version with the version that requires the code changes. Its purpose is to ensure the stable operation of the library across different WWeb versions.
* added: todo remove useOldImplementation
* improved inner function to compare WWeb versions
* inner function: added support for beta versions
* added support for business accounts
* module queries changed to strings
* fixed check for wweb beta versions
* updated to throw a custom error message
* minor changes in inner function
* feat: use specific whatsapp web version
* add constants to version updater
* configurable caches
* rename
* typings
* rm extraneous export
* missing from the rename
* rm version resolver
* match readme version
* use try-catch
* only persist if cache miss
* Initial commit
* Update index.d.ts
* The functions was returning a 'brief' chat data. With this, it will return full Chat model..
* Eslint suggested fixex
---------
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
* Update Injected.js
fix function queryWidExists
* Update Injected.js
support WA old version 2.2305.7
---------
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
* proposed fix
* Fixes
* Add condition for older versions of WA
* fix for old node version support
* fix: default to mdbackend = true
Co-authored-by: purpshell <rajeh@reforward.dev>
* index.js
* [authReady] - new BaseAuthStrategy function
* [RemoteAuth] - new Class RemoteAuth added
* Eslint Fixes
* Eslint Fixes
* Added types for RemoteAuth (mostly assumed types from PR message and src/authStrategies/RemoteAuth.js)
* [dependency updates] - added unzipper & archiver
* [Types] - Fixing typescript declarations
* Renaming Base Class Hook
* auth hook rename on client
* [Error Handling] - Delegate responsability to end users
* [Refactor] - deletemetadata code refactor
* [Refactor] - backupSyncIntervalMs renamed
* [Refactor] - Minor improvement on deleteMetadata
* [Refactor] - backupSyncIntervalMs rename on index.d.ts
* [Update] - Fix for Ubuntu crahsing on extractSession
* [Update] - Delegate responsability to stores of making sure the previous session is deleted strictly only after the new one is saved
* [Update] - Improve file paths handling & naming (reduce assumptions between RemoteAuth and stores)
* [Update] - Adding new event <REMOTE_SESSION_SAVED> on Constants.js
* [Update] - Adding new authHooks <destroy> & <disconnect>
* [Update] - Adding <destroy> & <disconnect> hooks on Client.js
* [Update] - Adding new features to index.d.ts
* [RemoteAuth] - New Features added to RemoteAuth Class
* [dependency updates] - added fs-extra
* [Cross Platform] - Windows is now compatible with RemoteAuth
* [optionalDependencies] - moved archiver, fs-extra & unzipper to optional dependencies on package.json
* [optionalDependencies] - adding validation for when optional dependencies are missing
* [Update] - Node Deprecation warining for rmdir changed for rm instead
Co-authored-by: h110m <nichtwitzig228@gmail.com>
* Fix models is undefined
* Feat models is undefined
* Feat models is undefined
* Fix loadEarlierMsgs
* use `getModelsArray()` to get models
* fix: correctly loadEarlierMsgs with ConversationMsgs module
Co-authored-by: Pedro Lopez <pedroslopez@me.com>
* Fix for issue#1356 - Cannot read properties of undefined reading getProfilePicFull
* use cross-compatible profilePicFind function
Co-authored-by: Joaquin Touris <joaquin@192.168.1.6>
Co-authored-by: Pedro Lopez <pedroslopez@me.com>