From d3e26603d1dfd28abdc3ce57c0b256866b17cad5 Mon Sep 17 00:00:00 2001 From: Toshit Chawda Date: Sun, 7 Jul 2024 16:38:51 -0700 Subject: [PATCH] Revert "capitalize SetTransport" This reverts commit 34ac32b3caef2c06dbb1e96518c4ccc567a6572c. --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index b5d278c..5c07e21 100644 --- a/src/client.ts +++ b/src/client.ts @@ -107,7 +107,7 @@ export class BareMuxConnection { this.worker = new WorkerConnection(workerPath); } - async SetTransport(path: string, options: any[]) { + async setTransport(path: string, options: any[]) { await this.setManualTransport(` const { default: BareTransport } = await import("${path}"); return new BareTransport(${options.map(x => JSON.stringify(x)).join(", ")});