Skip to content

Use stable peer indices#11

Merged
tim4724 merged 1 commit into
mainfrom
stable-peer-indices
May 8, 2026
Merged

Use stable peer indices#11
tim4724 merged 1 commit into
mainfrom
stable-peer-indices

Conversation

@tim4724
Copy link
Copy Markdown
Owner

@tim4724 tim4724 commented May 8, 2026

Summary

  • replace public client IDs with stable numeric peer indices in room protocol
  • keep clientId server-side as the per-slot reconnect secret
  • update disconnect cleanup, targeted-send wording, tests, live tests, and README protocol docs

Tests

  • bun test server.test.ts

@tim4724 tim4724 force-pushed the stable-peer-indices branch from f860af8 to 06f0dc2 Compare May 8, 2026 19:08
@tim4724 tim4724 force-pushed the stable-peer-indices branch from 06f0dc2 to 6bc74cd Compare May 8, 2026 19:10
@tim4724 tim4724 merged commit 56230f6 into main May 8, 2026
2 checks passed
@tim4724 tim4724 deleted the stable-peer-indices branch May 8, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant