mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-16 07:30:01 -04:00
remoteclient
This commit is contained in:
parent
95c4c25cbc
commit
a5b462f696
9 changed files with 436 additions and 17 deletions
|
@ -1,6 +1,7 @@
|
|||
import { BareTransport } from "./BareTypes";
|
||||
import RemoteTransport from "./RemoteClient";
|
||||
|
||||
self.BCC_VERSION = "3.0.2";
|
||||
self.BCC_VERSION = "3.0.4";
|
||||
console.warn("BCC_VERSION: " + self.BCC_VERSION);
|
||||
|
||||
declare global {
|
||||
|
@ -31,7 +32,7 @@ class Switcher {
|
|||
console.log(type, data, "ServiceWorker" in globalThis);
|
||||
switch (type) {
|
||||
case "setremote":
|
||||
// this.active = new RemoteClient
|
||||
this.active = new RemoteTransport
|
||||
break;
|
||||
case "set":
|
||||
const { name, config } = data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue