fix: support 2-part method names in Unix socket dispatch #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_fix_2part_dispatch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
dispatch_jsonrpc) now accepts both 2-part (Type.method) and 3-part (domain.Type.method) method namesProblem
The WASM SDK sends 2-part method names like
Contact.getandAuthService.get_challenge, butdispatch_jsonrpcrequired 3-part names (identity.Contact.get). This caused every RPC call from the Hero OS UI to fail with "Method not found".The Rust SDK was fixed in #2 to prefix methods with the domain, but browser/JS clients (WASM UI) don't have domain info and send 2-part names.
Test plan
cargo check -p hero_rpc_osispassesAuthService.get_challengeworks without domain prefixContact.getworks without domain prefix🤖 Generated with Claude Code