├── .github └── workflows │ └── node.js.yml ├── .gitignore ├── .vscode └── settings.json ├── etc ├── binary-sample │ ├── 1589356438-31 │ ├── 1589356438-32 │ ├── 1589356438-33 │ ├── 1589356438-34 │ ├── 1589356438-35 │ ├── 1589356438-36 │ ├── 1589356438-37 │ ├── 1589356438-38 │ ├── preempt-1589472058-318 │ ├── preempt-1589472058-319 │ └── sent-message.proto.bin ├── chrome-override │ └── web.whatsapp.com │ │ ├── actions-parser.js │ │ ├── app.js │ │ ├── app2.js │ │ ├── binsend-epoch.js │ │ ├── index.html │ │ └── vendor1~app.js ├── compile-proto.sh ├── wa-debug.md ├── whatsapp.proto └── whatsapp_pb.js ├── package.json ├── readme.md ├── src ├── index.ts ├── store.ts ├── utils.ts ├── whatsapp │ ├── binary │ │ ├── input-stream.ts │ │ ├── output-stream.ts │ │ ├── reader.ts │ │ ├── tags.ts │ │ └── writer.ts │ ├── client.ts │ ├── constant.ts │ ├── dictionary.ts │ ├── helper.ts │ ├── index.ts │ ├── interfaces.ts │ ├── secure.ts │ └── wa-socket.ts └── whatsapp_pb.d.ts ├── test ├── example.ts ├── example │ ├── autoreply.ts │ ├── checker.ts │ ├── events.ts │ ├── mark-read.ts │ ├── send-message.ts │ └── send-presence.ts ├── helper │ ├── path-helper.ts │ └── wa-helper.ts ├── test.ts └── test │ ├── protobuf.ts │ ├── readbin-message.ts │ ├── readbin-preempt.ts │ └── readbin-writenode.ts ├── tsconfig.base.json ├── tsconfig.dev.json ├── tsconfig.dist.json ├── tsconfig.json └── yarn.lock /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-31: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-31 -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-32 -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-33: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-33 -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-34: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-34 -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-35: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-35 -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-36: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-36 -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-37: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-37 -------------------------------------------------------------------------------- /etc/binary-sample/1589356438-38: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/1589356438-38 -------------------------------------------------------------------------------- /etc/binary-sample/preempt-1589472058-318: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/preempt-1589472058-318 -------------------------------------------------------------------------------- /etc/binary-sample/preempt-1589472058-319: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/preempt-1589472058-319 -------------------------------------------------------------------------------- /etc/binary-sample/sent-message.proto.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/binary-sample/sent-message.proto.bin -------------------------------------------------------------------------------- /etc/chrome-override/web.whatsapp.com/actions-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/chrome-override/web.whatsapp.com/actions-parser.js -------------------------------------------------------------------------------- /etc/chrome-override/web.whatsapp.com/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/chrome-override/web.whatsapp.com/app.js -------------------------------------------------------------------------------- /etc/chrome-override/web.whatsapp.com/app2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/chrome-override/web.whatsapp.com/app2.js -------------------------------------------------------------------------------- /etc/chrome-override/web.whatsapp.com/binsend-epoch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/chrome-override/web.whatsapp.com/binsend-epoch.js -------------------------------------------------------------------------------- /etc/chrome-override/web.whatsapp.com/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/chrome-override/web.whatsapp.com/index.html -------------------------------------------------------------------------------- /etc/chrome-override/web.whatsapp.com/vendor1~app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/chrome-override/web.whatsapp.com/vendor1~app.js -------------------------------------------------------------------------------- /etc/compile-proto.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/compile-proto.sh -------------------------------------------------------------------------------- /etc/wa-debug.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/wa-debug.md -------------------------------------------------------------------------------- /etc/whatsapp.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/whatsapp.proto -------------------------------------------------------------------------------- /etc/whatsapp_pb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/etc/whatsapp_pb.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/readme.md -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/store.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/utils.ts -------------------------------------------------------------------------------- /src/whatsapp/binary/input-stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/binary/input-stream.ts -------------------------------------------------------------------------------- /src/whatsapp/binary/output-stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/binary/output-stream.ts -------------------------------------------------------------------------------- /src/whatsapp/binary/reader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/binary/reader.ts -------------------------------------------------------------------------------- /src/whatsapp/binary/tags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/binary/tags.ts -------------------------------------------------------------------------------- /src/whatsapp/binary/writer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/binary/writer.ts -------------------------------------------------------------------------------- /src/whatsapp/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/client.ts -------------------------------------------------------------------------------- /src/whatsapp/constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/constant.ts -------------------------------------------------------------------------------- /src/whatsapp/dictionary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/dictionary.ts -------------------------------------------------------------------------------- /src/whatsapp/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/helper.ts -------------------------------------------------------------------------------- /src/whatsapp/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/index.ts -------------------------------------------------------------------------------- /src/whatsapp/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/interfaces.ts -------------------------------------------------------------------------------- /src/whatsapp/secure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/secure.ts -------------------------------------------------------------------------------- /src/whatsapp/wa-socket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp/wa-socket.ts -------------------------------------------------------------------------------- /src/whatsapp_pb.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/src/whatsapp_pb.d.ts -------------------------------------------------------------------------------- /test/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/example.ts -------------------------------------------------------------------------------- /test/example/autoreply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/example/autoreply.ts -------------------------------------------------------------------------------- /test/example/checker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/example/checker.ts -------------------------------------------------------------------------------- /test/example/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/example/events.ts -------------------------------------------------------------------------------- /test/example/mark-read.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/example/mark-read.ts -------------------------------------------------------------------------------- /test/example/send-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/example/send-message.ts -------------------------------------------------------------------------------- /test/example/send-presence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/example/send-presence.ts -------------------------------------------------------------------------------- /test/helper/path-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/helper/path-helper.ts -------------------------------------------------------------------------------- /test/helper/wa-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/helper/wa-helper.ts -------------------------------------------------------------------------------- /test/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/test.ts -------------------------------------------------------------------------------- /test/test/protobuf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/test/protobuf.ts -------------------------------------------------------------------------------- /test/test/readbin-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/test/readbin-message.ts -------------------------------------------------------------------------------- /test/test/readbin-preempt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/test/readbin-preempt.ts -------------------------------------------------------------------------------- /test/test/readbin-writenode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/test/test/readbin-writenode.ts -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/tsconfig.base.json -------------------------------------------------------------------------------- /tsconfig.dev.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/tsconfig.dev.json -------------------------------------------------------------------------------- /tsconfig.dist.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/tsconfig.dist.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ndunks/WaJs/HEAD/yarn.lock --------------------------------------------------------------------------------