-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 proto extract method / update protos to 2.300.x (breaking change, ready to merge) #894
base: master
Are you sure you want to change the base?
Conversation
Thanks for your contribution. The next step is to wait for review and approval to merge it to main repository The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it. To test this PR you can run the following command below:
|
will contribute here soon |
up |
This comment was marked as abuse.
This comment was marked as abuse.
up |
@vinikjkkjV can you resolve the conflits so we can merge this? |
i don't know if purp will merge, apparently it's not how he wants, and he didn't tell me what should be changed, I'm not going to resolve conflicts without being sure it will be merged |
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.
Up
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.
up
This comment was marked as abuse.
This comment was marked as abuse.
Up @purpshell |
up |
UP! |
up @purpshell |
up @purpshell |
How can I download the protobuff from WhatsApp Web to test this PR? @vinikjkkj |
we need this. it seems that the proto is outdated in baileys |
UP @purpshell |
UP @purpshell |
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.
I don't agree with this course of development. We'll be releasing the WhiskeySocket's ProtoCocktail proprietary protobuf harvesting tool very soon. (this will also be the method determined by whatsmeow and Cobalt as well)
861e056
to
af372f8
Compare
Proto
This update will change access to proto properties, example (
proto.Message
will beproto.WAE2E.Message
)Proto Extract
Modified proto-extract from tulir's whatsmeow method, this version generates protos with extracted javascript modules from whatsapp web, no need to install third-party modules, only
protobufjs-cli
Usage
Download WhatsApp Web javascript modules to
proto.js
file inproto-extract
folderInstall
protobufjs-cli
with yarn or npmOpen terminal shell in proto-extract folder
Run
generate.sh
fileThis script will generate all protos and all statics
.js and .ts
TODO