@onfido/api
Advanced tools
Comparing version 2.0.3 to 2.1.0
# Changelog | ||
## v2.1.0, 24 June 2021 | ||
- Updated to use API v3.2 | ||
## v2.0.2, 25 May 2021 | ||
@@ -4,0 +8,0 @@ |
import axios from 'axios'; | ||
import { PassThrough, Readable } from 'stream'; | ||
var version = "2.0.3"; | ||
var version = "2.1.0"; | ||
@@ -425,3 +425,3 @@ class OnfidoError extends Error { | ||
} | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.1/`; | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.2/`; | ||
this.axiosInstance = axios.create({ | ||
@@ -428,0 +428,0 @@ baseURL: unknownApiUrl || regionUrl, |
@@ -10,3 +10,3 @@ 'use strict'; | ||
var version = "2.0.3"; | ||
var version = "2.1.0"; | ||
@@ -431,3 +431,3 @@ class OnfidoError extends Error { | ||
} | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.1/`; | ||
const regionUrl = `https://api.${region.toLowerCase()}.onfido.com/v3.2/`; | ||
this.axiosInstance = axios.create({ | ||
@@ -434,0 +434,0 @@ baseURL: unknownApiUrl || regionUrl, |
{ | ||
"name": "@onfido/api", | ||
"version": "2.0.3", | ||
"version": "2.1.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.1. 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.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. | ||
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
135145
0