Skip to content

update driver to work with the new gateway#267

Open
Gioee wants to merge 14 commits into
mainfrom
mt-gateway-driver
Open

update driver to work with the new gateway#267
Gioee wants to merge 14 commits into
mainfrom
mt-gateway-driver

Conversation

@Gioee
Copy link
Copy Markdown
Member

@Gioee Gioee commented May 15, 2026

No description provided.

@Gioee Gioee requested a review from danielebriggi May 15, 2026 15:01
@Gioee Gioee self-assigned this May 15, 2026
Comment thread src/drivers/types.ts
Comment thread src/drivers/connection-ws.ts Outdated
Comment thread src/drivers/connection-ws.ts Outdated
Daniele Briggi and others added 6 commits May 22, 2026 15:57
socket.io-parser 4.2.6 rejects binary packets with more than 10 attachments by default. SQLite Cloud rowsets with BLOB values can exceed that count, causing the browser websocket driver to fail with a parser error before the binary payloads are delivered.

Add socket.io-parser as an explicit dependency and pass a custom parser to socket.io-client. The custom decoder raises maxAttachments while preserving the standard encoder and normal Socket.IO transport negotiation.

Add a focused unit assertion for the websocket connection options so the parser override remains wired into future builds.
Add a minimal Vite + TypeScript example that queries SQLite Cloud over
WebSocket from the browser. Uses a generic runQuery helper and consumes the driver from a locally packed tarball via npm run sync-driver, documented in the README.
@Gioee Gioee requested a review from danielebriggi May 26, 2026 06:15
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.

4 participants