fix: resolve all TypeScript errors in WAProto and test files

- Changed WAProto.proto syntax from proto3 to proto2 to support required fields
- Regenerated WAProto static files (index.d.ts, index.js) with correct proto2 syntax
- Fixed type annotations in test files (circuit-breaker, sync-action-utils, trace-context)
- Fixed Mock type errors in baileys-event-stream and cache-utils tests
- Fixed LID mapping test expectations to match array type
- All 78 TypeScript errors resolved, 0 remaining

https://claude.ai/code/session_015R3U3kiprQiNTTNNt31Sg6
This commit is contained in:
Claude
2026-02-13 21:18:35 +00:00
parent 590d6fdd67
commit 8bea170f3f
9 changed files with 24351 additions and 20635 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
syntax = "proto3";
syntax = "proto2";
package proto;
/// WhatsApp Version: 2.3000.1033381705
+14485
View File
File diff suppressed because it is too large Load Diff
+9836 -20605
View File
File diff suppressed because it is too large Load Diff