dont find switcher on bare-mux init

This commit is contained in:
Percs 2024-04-06 15:25:40 -05:00
parent 78e5c42fbd
commit 94485fac51
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@mercuryworkshop/bare-mux",
"version": "1.0.5",
"version": "1.0.6",
"description": "",
"type": "module",
"scripts": {

View file

@ -1,7 +1,7 @@
import { BareTransport } from "./BareTypes";
import RemoteTransport from "./RemoteClient";
self.BCC_VERSION = "3.0.4";
self.BCC_VERSION = "3.0.6";
console.debug("BCC_VERSION: " + self.BCC_VERSION);
declare global {
@ -77,7 +77,6 @@ export function findSwitcher(): Switcher {
throw "unreachable";
}
findSwitcher();
export function SetTransport(name: string, ...config: any[]) {
let switcher = findSwitcher();