-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API v3.1 additions, changes base URLs, adds tests, bumps version… (#37)
* Update to use API v3.1 and add new features * Make region required and change base URL for EU region * Bump version to 2.0.0 * Convert autofill address lines to camelCase Co-authored-by: Ciaran Lawlor <[email protected]>
- Loading branch information
Showing
23 changed files
with
173 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
12 | ||
15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nodejs 12.13.0 | ||
nodejs 15.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,53 @@ | ||
# Changelog | ||
|
||
## v2.0.0, 9 April 2021 | ||
|
||
- Updated to use API v3.1 | ||
- Region is now a required argument when constructing an `Onfido` instance. The region previously defaulted to `Region.EU` | ||
- Add support for downloading a check | ||
|
||
## v1.6.0, 8 March 2021 | ||
|
||
- Add `privacy_notices_read_consent_given` to the type for creating a chec | ||
|
||
## v1.5.4, 12 January 2021 | ||
|
||
- Updated dependencies. | ||
|
||
|
||
## v1.5.3, 3 December 2020 | ||
|
||
- Library should work now with `esModuleInterop: false` | ||
|
||
|
||
## v1.5.2, 3 September 2020 | ||
|
||
- Fix type declaration location for TypeScript users | ||
|
||
|
||
## v1.5.1, 20 August 2020 | ||
|
||
- Ensure consistent version in User-Agent | ||
|
||
|
||
## v1.5.0, 14 August 2020 | ||
|
||
- Add User Agent header | ||
|
||
|
||
## v1.4.0, 15 July 2020 | ||
|
||
- Add support for [Autofill endpoint](https://documentation.onfido.com/#autofill-beta) | ||
|
||
|
||
## v1.3.0, 30 June 2020 | ||
|
||
- Add support for `cross_device_url` when generating an SDK token | ||
|
||
|
||
## v1.2.0, 23 June 2020 | ||
|
||
- 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 to `CheckRequest` type | ||
|
||
|
||
## v1.1.0, 2 April 2020 | ||
|
||
- Improved typing of check and report objects. | ||
|
||
|
||
## v1.0.0, 23 January 2020 | ||
|
||
- The initial release of this library, which uses v3 of the Onfido API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.