Domain: Realtime / Documentation
Tier: 🟢 Easy
Description:
Auth example sends 'Bearer eyJ…' but socketAuth passes handshake.auth.token straight to verifyToken — Bearer prefix fails handshake (websockets.md:21 vs socketAuth.ts:11–18). Status payload enum lists 4 of 9 statuses (socketEvents.ts:52–61). notification:new documented as joinable but has zero emitters and no join path (io.ts:86–92 only join_shipment/leave_shipment). Nit: .js ref should be .ts. Missing note: every emit also fans out to SSE (io.ts safeFanout calls).
Dependencies: None.
Acceptance Criteria:
Testing Requirements:
PR Checklist:
Domain: Realtime / Documentation
Tier: 🟢 Easy
Description:
Auth example sends
'Bearer eyJ…'but socketAuth passeshandshake.auth.tokenstraight to verifyToken — Bearer prefix fails handshake (websockets.md:21 vs socketAuth.ts:11–18). Status payload enum lists 4 of 9 statuses (socketEvents.ts:52–61).notification:newdocumented as joinable but has zero emitters and no join path (io.ts:86–92 only join_shipment/leave_shipment). Nit:.jsref should be.ts. Missing note: every emit also fans out to SSE (io.ts safeFanout calls).Dependencies: None.
Acceptance Criteria:
Testing Requirements:
PR Checklist:
docs/p3-15-websockets-update