fix postmessage proxy

This commit is contained in:
velzie 2024-08-02 13:47:15 -04:00
parent a29e8c42a3
commit b8334993ae
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
5 changed files with 34 additions and 8 deletions

View file

@ -1,8 +1,8 @@
import { isworker } from "../..";
import { iswindow, isworker } from "../..";
import { ScramjetClient } from "../../client";
import { BareClient } from "../../shared";
const bare = new BareClient();
const bare = iswindow && new BareClient();
export default function (client: ScramjetClient, self: typeof globalThis) {
// r58 please fix