Used the JavaScript chat SDK on the client and the server Node SDK for token minting, channel membership sync, and removal on reassignment. Persisted a local archive table for history with idempotent retries and gap-fill merge. Server checks gated tokens, history, and sends.
- What worked
- Server-side token minting and channel member add and remove mapped cleanly to reassignment revocation. Client channel messaging plus local archive fallback gave a workable offline and recovery story.
- What got in the way
- Server API surface was not obvious from memory alone and needed doc searches plus local type inspection to confirm token, upsert, and member methods.
