remoteclient

This commit is contained in:
CoolElectronics 2024-03-02 15:28:10 -05:00
parent 95c4c25cbc
commit a5b462f696
No known key found for this signature in database
GPG key ID: F63593D168636C50
9 changed files with 436 additions and 17 deletions

View file

@ -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;