mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-16 23:50:01 -04:00
dont find switcher on bare-mux init
This commit is contained in:
parent
78e5c42fbd
commit
94485fac51
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@mercuryworkshop/bare-mux",
|
"name": "@mercuryworkshop/bare-mux",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { BareTransport } from "./BareTypes";
|
import { BareTransport } from "./BareTypes";
|
||||||
import RemoteTransport from "./RemoteClient";
|
import RemoteTransport from "./RemoteClient";
|
||||||
|
|
||||||
self.BCC_VERSION = "3.0.4";
|
self.BCC_VERSION = "3.0.6";
|
||||||
console.debug("BCC_VERSION: " + self.BCC_VERSION);
|
console.debug("BCC_VERSION: " + self.BCC_VERSION);
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
@ -77,7 +77,6 @@ export function findSwitcher(): Switcher {
|
||||||
|
|
||||||
throw "unreachable";
|
throw "unreachable";
|
||||||
}
|
}
|
||||||
findSwitcher();
|
|
||||||
|
|
||||||
export function SetTransport(name: string, ...config: any[]) {
|
export function SetTransport(name: string, ...config: any[]) {
|
||||||
let switcher = findSwitcher();
|
let switcher = findSwitcher();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue