fix proxy detection bug in audioworklet
was a minor typo, not sure why typescript didn't catch it
This commit is contained in:
parent
f35f6cf769
commit
26ae64b723
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue