feat: replace async crypto with sync Rust WASM for app state sync (#2315)

* feat: replace async crypto with sync Rust WASM for app state sync

* fix: remove unecessary buffer copying

* fix: update whatsapp-rust-bridge to version 0.5.2 and refactor async calls to sync. HKDF and MD5 in rust
This commit is contained in:
João Lucas
2026-02-05 11:06:47 -03:00
committed by GitHub
parent fa2a837a4a
commit b5c174111f
12 changed files with 97 additions and 181 deletions
+8
View File
@@ -3025,6 +3025,7 @@ __metadata:
typedoc: "npm:^0.27.9"
typedoc-plugin-markdown: "npm:4.4.2"
typescript: "npm:^5.8.2"
whatsapp-rust-bridge: "npm:0.5.2"
ws: "npm:^8.13.0"
peerDependencies:
audio-decode: ^2.1.3
@@ -10184,6 +10185,13 @@ __metadata:
languageName: node
linkType: hard
"whatsapp-rust-bridge@npm:0.5.2":
version: 0.5.2
resolution: "whatsapp-rust-bridge@npm:0.5.2"
checksum: 10c0/022bff4659398144afe6834c279a9fc617a7cbc9177212874150ff2b39019044d2833af85d8ad8d5a40887ad84e7584edead15333e3acce58f989ef7cfd1e6f9
languageName: node
linkType: hard
"whatwg-url@npm:^5.0.0":
version: 5.0.0
resolution: "whatwg-url@npm:5.0.0"