chore: add temporary proto extract

This commit is contained in:
canove
2025-05-21 12:17:57 -03:00
parent bb9f8d5c61
commit 21e2fac339
9 changed files with 1575 additions and 5 deletions

10
proto-extract/README.md Normal file
View File

@@ -0,0 +1,10 @@
# Proto Extract
Derived initially from `whatseow`'s proto extract, this version generates a predictable diff friendly protobuf. It also does not rely on a hardcoded set of modules to look for but finds all proto modules on its own and extracts the proto from there.
Thanks to [wppconnect-team](https://github.com/wppconnect-team) for the script update to make it work with the latest version of whatsapp.
## Usage
1. Install dependencies with `yarn` (or `npm install`)
2. `yarn start`
3. The script will update `../WAProto/WAProto.proto` (except if something is broken)