@onfido/api
Advanced tools
Comparing version 2.1.0 to 2.1.1
# Changelog | ||
## v2.1.1, 6 Jan 2022 | ||
- Add `validate_image_quality` to document upload request | ||
## v2.1.0, 24 June 2021 | ||
@@ -4,0 +8,0 @@ |
import axios from 'axios'; | ||
import { PassThrough, Readable } from 'stream'; | ||
var version = "2.1.0"; | ||
var version = "2.1.1"; | ||
@@ -6,0 +6,0 @@ class OnfidoError extends Error { |
@@ -10,3 +10,3 @@ 'use strict'; | ||
var version = "2.1.0"; | ||
var version = "2.1.1"; | ||
@@ -13,0 +13,0 @@ class OnfidoError extends Error { |
@@ -11,2 +11,3 @@ import { AxiosInstance } from "axios"; | ||
issuingCountry?: string | null; | ||
validateImageQuality?: boolean | null; | ||
}; | ||
@@ -13,0 +14,0 @@ export declare type Document = { |
{ | ||
"name": "@onfido/api", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Node.js library for the Onfido API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -7,3 +7,3 @@ # Onfido Node.js Library | ||
This library is only for use on the backend, as it uses Onfido API tokens which must be kept secret. If you do need to collect applicant data in the frontend of your application, we recommend that you use one of [the Onfido SDKs](https://developers.onfido.com/sdks/). | ||
This library is only for use on the backend, as it uses Onfido API tokens which must be kept secret. If you do need to collect applicant data in the frontend of your application, we recommend that you use the Onfido SDKs: [iOS](https://github.com/onfido/onfido-ios-sdk), [Android](https://github.com/onfido/onfido-android-sdk), [Web](https://github.com/onfido/onfido-sdk-ui), and [React Native](https://github.com/onfido/react-native-sdk). | ||
@@ -10,0 +10,0 @@ This version uses Onfido API v3.2. Refer to our [API versioning guide](https://developers.onfido.com/guide/api-versioning-policy#client-libraries) for details of which client library versions use which versions of the API. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
135528
1370