start phase 1

This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-02-26 13:20:36 -08:00
1 parent 6954d1b91c
commit fefea0bdf6
16 files changed
+625 -4904

No files matched your search

+1 -4
View File
@@ -53,10 +53,7 @@ export class WsTransport {
throw new Error("Request method is required");
}
const id = String(this.nextId++);
const body =
params !== undefined
? { _tag: method, ...(params as Record<string, unknown>) }
: { _tag: method };
const body = params != null ? { ...params, _tag: method } : { _tag: method };
const message: WsRequestEnvelope = { id, body };
return new Promise<T>((resolve, reject) => {