A StreamTransport backed by the browser WebSocket global (read from
globalThis, mirroring ApprovalApiClient's globalThis.fetch default so a
non-browser host gets a clear error instead of a ReferenceError). Inject the
returned transport into useApprovalDashboard's stream option; the host
builds the ticket() thunk.
A StreamTransport backed by the browser
WebSocketglobal (read from globalThis, mirroring ApprovalApiClient's globalThis.fetch default so a non-browser host gets a clear error instead of a ReferenceError). Inject the returned transport into useApprovalDashboard'sstreamoption; the host builds the ticket() thunk.