fix!: require eventSource in PostMessageTransport + add security tests (#208)
This commit is contained in:
parent
c7ef5f009b
commit
2411c71aa5
1 changed files with 433 additions and 2 deletions
|
|
@ -117,7 +117,10 @@ export function useApp({
|
|||
|
||||
async function connect() {
|
||||
try {
|
||||
const transport = new PostMessageTransport(window.parent);
|
||||
const transport = new PostMessageTransport(
|
||||
window.parent,
|
||||
window.parent,
|
||||
);
|
||||
const app = new App(appInfo, capabilities);
|
||||
|
||||
// Register handlers BEFORE connecting
|
||||
|
|
|
|||
Loading…
Reference in a new issue