Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const options = {
url: signUrl,
allowCancel: true,
debug: true,
skipDomainVerification: true,
messageListener(evt) {
console.log(evt);
}
};
// Set the redirect URL, if defined by the user.
if (redirectUrlElement.value.length) {
options.redirectUrl = redirectUrlElement.value;
}
HelloSign.open(options);
}