@onfido/api
Advanced tools
Comparing version 2.1.2 to 2.2.0
# Changelog | ||
## v2.2.0, 02 March 2022 | ||
- Updated to use API v3.3 | ||
## v2.1.2, 17 Feb 2022 | ||
@@ -4,0 +8,0 @@ |
import axios from 'axios'; | ||
import { PassThrough, Readable } from 'stream'; | ||
var version = "2.1.2"; | ||
var version = "2.2.0"; | ||
@@ -425,3 +425,3 @@ class OnfidoError extends Error { | ||
} | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.2/`; | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.3/`; | ||
this.axiosInstance = axios.create({ | ||
@@ -428,0 +428,0 @@ baseURL: unknownApiUrl || regionUrl, |
@@ -10,3 +10,3 @@ 'use strict'; | ||
var version = "2.1.2"; | ||
var version = "2.2.0"; | ||
@@ -431,3 +431,3 @@ class OnfidoError extends Error { | ||
} | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.2/`; | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.3/`; | ||
this.axiosInstance = axios.create({ | ||
@@ -434,0 +434,0 @@ baseURL: unknownApiUrl || regionUrl, |
{ | ||
"name": "@onfido/api", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "Node.js library for the Onfido API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ # Onfido Node.js Library | ||
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. | ||
This version uses Onfido API v3.3. 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. | ||
@@ -12,0 +12,0 @@ ## Installation |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135661