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(", ")});