fix: need to pass nonce with query
This commit is contained in:
parent
9244312141
commit
6fb7486368
|
@ -692,7 +692,7 @@ function newBootloaderQuery(method: string, data: any): Promise<any> {
|
|||
let nonce = nextNonce();
|
||||
queries[nonce] = { resolve: receiveResponse };
|
||||
getKernelIframe().contentWindow?.postMessage(
|
||||
{ method, data },
|
||||
{ method, data, nonce },
|
||||
kernelOrigin,
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue