Revert "capitalize SetTransport"

This reverts commit 34ac32b3ca.
This commit is contained in:
Toshit Chawda 2024-07-07 16:38:51 -07:00
parent 34ac32b3ca
commit d3e26603d1
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D

View file

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