Skip to content

feat!: run on the standard WebSocket with no runtime dependencies - #3

Merged
cristian-duciuc merged 1 commit into
mainfrom
feat/plain-js
Nov 12, 2026
Merged

cristian-duciuc merged 1 commit into
mainfrom
feat/plain-js

Conversation

@cristian-duciuc

Copy link
Copy Markdown
Collaborator

Replace ws, node:events and Buffer with the global WebSocket, a small typed event emitter and TextEncoder, so InputKit runs on any runtime with a standard WebSocket.

BREAKING CHANGE: InputClient no longer extends Node's EventEmitter; it supports on, once, off and emit only. Node.js 22.4 or later is required.

Replace ws, node:events and Buffer with the global WebSocket, a small
typed event emitter and TextEncoder, so InputKit runs on any runtime
with a standard WebSocket.

BREAKING CHANGE: InputClient no longer extends Node's EventEmitter; it
supports on, once, off and emit only. Node.js 22.4 or later is required.
@cristian-duciuc
cristian-duciuc merged commit 5c06791 into main Nov 12, 2026
3 checks passed
@cristian-duciuc
cristian-duciuc deleted the feat/plain-js branch November 12, 2026 23:25
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