Skip to content

Commit

Permalink
feat: sends message to parent page that verify has loaded (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
ganchoradkov authored Aug 9, 2023
1 parent 7de0851 commit d7ea55b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/http_server/index_js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ window.addEventListener("load", async () => {
window.location.reload()
}, 60_000)
})
// notify the SDK that the iframe is ready
window.parent.postMessage("verify_ready")
"#;

#[derive(Deserialize)]
Expand Down

0 comments on commit d7ea55b

Please sign in to comment.