2022-05-04 20:12:44 +00:00
|
|
|
async function sendCommand(payload, method="invoke", background=false) {
|
2022-05-03 11:19:25 +00:00
|
|
|
const parent = window.parent
|
2022-05-04 20:12:44 +00:00
|
|
|
return await parent.sendCommand(payload, method, background)
|
2022-05-03 11:19:25 +00:00
|
|
|
}
|