fix postmessage shit

This commit is contained in:
velzie 2024-08-02 22:44:16 -04:00
parent 6cccf1f412
commit d011d73a80
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
6 changed files with 44 additions and 36 deletions

View file

@ -46,7 +46,7 @@ export class ScramjetClient {
windowProxy: any;
locationProxy: any;
eventcallbacks: WeakMap<
eventcallbacks: Map<
any,
[
{
@ -55,7 +55,7 @@ export class ScramjetClient {
proxiedCallback: AnyFunction;
},
]
> = new WeakMap();
> = new Map();
constructor(public global: typeof globalThis) {
if ("document" in self) {