- Updated to use API v3.2
- Add
environments
to Webhook object
- Add
sub_result
to trigger sandbox pre-determined responses for Document report sub-results - Add
consider
array functionality for sandbox pre-determined responses
- Updated to use API v3.1
- Region is now a required argument when constructing an
Onfido
instance. The region previously defaulted toRegion.EU
- Add support for downloading a check
- Add
privacy_notices_read_consent_given
to the type for creating a chec
- Updated dependencies.
- Library should work now with
esModuleInterop: false
- Fix type declaration location for TypeScript users
- Ensure consistent version in User-Agent
- Add User Agent header
- Add support for Autofill endpoint
- Add support for
cross_device_url
when generating an SDK token
- Allow specifying the filepath and content type explicitly for file upload
- Add support for the Canada region (api.ca.onfido.com)
- Add missing
document_ids
field toCheckRequest
type
- Improved typing of check and report objects.
- The initial release of this library, which uses v3 of the Onfido API