Client State & Events
onStatePhaseChange
Subscribes to core, authentication, wallet, error, readiness, and auth-projection changes.
Use this API with the Para SDK client.
The callback receives the current snapshot immediately, so consumers do not need a separate initial read.