docs: add WAIL to the PlatformType -> OtherWebClient mapping - #517
Conversation
whatsapp-rust#1293 regenerated the vendored proto and added a new DeviceProps.PlatformType::WAIL variant, which companion_reg.rs maps to OtherWebClient like the other non-browser platforms. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0161XuywK8NYtPdhrNredAXz
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe authentication documentation now states that ChangesAuthentication platform mapping
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
whatsapp-rust#1293 regenerated the vendored
whatsapp.protofrom a newer whatspec bundle and picked up a newDeviceProps.PlatformType::WAILvariant.companion_web_client_type_for_platform(wacore/src/companion_reg.rs) maps it toOtherWebClient, same as the other non-browser/non-attested platforms (iOS, AR/VR, Wear OS, the proto'sUNKNOWN).concepts/authentication.mdxdocuments that mapping function's arm-by-arm behavior for readers relying on the docs rather than the source, and its list of platforms collapsing toOtherWebClientwas now stale.Changes
concepts/authentication.mdx: addWAILto the list ofPlatformTypevariants that collapse toOtherWebClient, with the same one-line rationale given in the upstream PR (Android-letter attestation this crate can't produce, and'0'being server-rejected).Not included
whatspec-codegencrate that owns and verifies the vendored-artifact regeneration) — no other part of it is user-facing.AIRichResponseContentItemsMetadataoneof rename,EncryptMessageOutput.messageKeyremoval) and the newWA_WEB_VERSION/WA_WEB_VERSION_STRexports aren't referenced by any existing doc page, so there's nothing stale to fix there.Ref: oxidezap/whatsapp-rust#1293
Generated by Claude Code
Summary by cubic
Update authentication docs to include
WAILin thePlatformType -> OtherWebClientmapping used bycompanion_web_client_type_for_platform. This keeps the page in sync with the latestwhatsapp.protoupdate and matches how non-browser platforms are handled.Written for commit 8e83e60. Summary will update on new commits.
Summary by CodeRabbit
OtherWebClient.