// Welcome screen to Consent screenwelcome.on("form:welcome:ready", () => { consent.mount(appContainer);});// Consent screen to OCR componentconsent.on("form:consent:ready", async () => { ocr.mount(appContainer);});ocr.on("results", ({ document }) => { // Present the details of the document that were detected from the uploaded image or images. // Decide whether to proceed to the next stage of the onboarding process // depending on whether document verification was successful. console.log('ocr results'); if (document) { console.log(`document: ${JSON.stringify(document)}`); console.log(document.ocrResult.dateOfBirth); //oneSdkIndividual.submit(); biometrics.mount("#form"); } else { console.log("No document returned"); }});biometrics.on("results", ({checkStatus}) => { // Decide whether to proceed to the next stage of the onboarding process // depending on whether biometrics verification was successful. console.log('biometrics results'); if (checkStatus === 'COMPLETE') { console.log(checkStatus); } else { console.log("no biometrics returned"); }});// Initialize flowwelcome.mount(appContainer);