Skip to content

feat: Socket.IO client integration for persistent WS state updates - #139

Merged
N-thnI merged 8 commits into
Vero-protocol:mainfrom
Meet-hybrid:feat/socketio-client
Jun 24, 2026
Merged

feat: Socket.IO client integration for persistent WS state updates#139
N-thnI merged 8 commits into
Vero-protocol:mainfrom
Meet-hybrid:feat/socketio-client

Conversation

@Meet-hybrid

Copy link
Copy Markdown
Contributor

Description
Establish a persistent WebSocket connection to deliver real‑time state updates.

Problem
Users currently need to manually refresh pages to see changes.

Solution

Implemented a socket.io client in src/components/.

Event‑driven updates automatically refresh local state on incoming events.

Optimized performance by syncing with local state instead of full reloads.

Secure WebSocket handshake enforced.

Acceptance Criteria

State auto‑refreshes on events.

Verified via latency tests.

No manual refresh required.

Closes #27

@Meet-hybrid
Meet-hybrid force-pushed the feat/socketio-client branch from 4b15b39 to 70f3044 Compare June 22, 2026 21:54
@N-thnI

N-thnI commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

please ensure checks pass

…ilder mocks for SDK compat

- logger: pass Uint8Array directly to subtle.decrypt instead of extracting .buffer via bytesToArrayBuffer — cross-realm ArrayBuffer from jsdom is rejected by Node's webcrypto.subtle
- VoteButton: add missing mockUseNetwork variable, remove duplicate mock
- txBuilder: call .build() on SorobanDataBuilder, add results array with auth/xdr to match newer @stellar/stellar-sdk expectations
@N-thnI
N-thnI merged commit 6ae051a into Vero-protocol:main Jun 24, 2026
1 check passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jun 24, 2026
4 tasks
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.

feat: add real-time WebSocket manager

2 participants