Skip to main content
Defined in: core/provider.ts:689 Payload of the 'connection' event: the new state, the auth artifact while authenticating (a QR string or a pairing code) and the reason when the connection closes.

Properties

state

Defined in: core/provider.ts:690

authPayload?

Defined in: core/provider.ts:696 Opaque, provider-rendered auth artifact for the UI layer: a QR string, an OAuth URL, a pairing code, or undefined (token auth). Core never interprets it — it forwards it to the host.

reason?

Defined in: core/provider.ts:697

retryAfterMs?

Defined in: core/provider.ts:699 Advisory reconnect delay (ms) when reason === ‘rateLimited’.

detail?

Defined in: core/provider.ts:700

code?

message?