-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Injected.js #2827
Update Injected.js #2827
Conversation
add for detecting WAWEB version 2.3000
remove console.log for debuging
Hi, it stopped giving the error: _node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34 TypeError: Cannot read properties of null (reading '1')_ And the error started: node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push') |
What version of whatsapp web does it give and at which step? |
711b8a7
to
c3c0f96
Compare
make sure u use this wwebjs/moduleRaid |
This fixes connection errors and the client starts ok, but I get this error when sending message: |
Boys and girls, The problem was resolved perfectly due to these resolutions: • In src/util/constants.js to replace: • And #2827 Thank you all for the attention! |
Just adding the parameter to webVersion with value '2.2411.2' is working fine on my end. If I don't pass the parameter, I get TypeError: Cannot read properties of null (reading '1') error. |
I still receiving even after updating the injected.js and moduleraid scripts
|
can you please describe how you fixed it |
Hello a new error arose following your step please help |
where exactly did you pass the parameter when I set the webVersion in client parameter it does not change the version please help |
HEY, Muito Obrigado!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
relies on client revision and patched moduleRaid (moduleRaid is to be gone soon)
It's Works, Thanks |
obsolete, follow main PR. |
PR Details
Add change to support WAWEB 2.3000 on injected.js and LocalWebCache.js
A bit different version from #2825 - it doesn't have long lines with all conditions inlined and uses
ModuleFinder
classes which we can create when there's new not supported changes in modulesDescription
follow the WAWEB 2.3000 change on the function structure, and keep it useable with the old WAWEB version
Related Issue
Motivation and Context
How Has This Been Tested
Types of changes
Checklist