diff --git a/src/audio-worklet/audio-worklet.ts b/src/audio-worklet/audio-worklet.ts index aed13bf..eb16bb4 100644 --- a/src/audio-worklet/audio-worklet.ts +++ b/src/audio-worklet/audio-worklet.ts @@ -55,7 +55,7 @@ function getErrorMessage(err: any, time: number) { // replace Proxy so that they can be detected from the bytebeat code // this is completely undetectable by the bytebeat code const proxies = new WeakSet(); -Proxy = Object.getPrototypeOf(Proxy).contructor = new Proxy(Proxy, { +Proxy = Object.getPrototypeOf(Proxy).constructor = new Proxy(Proxy, { construct(target, args) { // @ts-expect-error const newProxy = new target(...args);