feat: new compliance options

This commit is contained in:
Taranto 2020-09-14 23:25:35 +01:00 committed by Josh Harvey
parent ccf7eacfad
commit f2080c32e9
23 changed files with 161 additions and 121 deletions

View file

@ -8,13 +8,9 @@ const customer = {
idCardData: {firstName, lastName, dateOfBirth}
}
const config = {
sanctionsVerificationActive: true
}
const deviceId = 'test-device'
ofac.load()
.then(() => compliance.validationPatch(deviceId, config, customer))
.then(() => compliance.validationPatch(deviceId, true, customer))
.then(console.log)
.catch(err => console.log(err))