From 94485fac5112f4411f363d35c8a8624dfbefdeb6 Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Sat, 6 Apr 2024 15:25:40 -0500 Subject: [PATCH] dont find switcher on bare-mux init --- package.json | 2 +- src/Switcher.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 228a76a..8620259 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mercuryworkshop/bare-mux", - "version": "1.0.5", + "version": "1.0.6", "description": "", "type": "module", "scripts": { diff --git a/src/Switcher.ts b/src/Switcher.ts index 4e1d079..81ad7e0 100644 --- a/src/Switcher.ts +++ b/src/Switcher.ts @@ -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();