@onfido/api
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -35,3 +35,3 @@ "use strict"; | ||
this.basePath = param.basePath || base_1.BASE_PATH.replace('.eu.', `.${Region[param.region || Region.EU].toLowerCase()}.`); | ||
this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': 'onfido-node/4.1.0' }) }); | ||
this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': 'onfido-node/4.2.0' }) }); | ||
this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed) | ||
@@ -38,0 +38,0 @@ } |
@@ -32,3 +32,3 @@ /* tslint:disable */ | ||
this.basePath = param.basePath || BASE_PATH.replace('.eu.', `.${Region[param.region || Region.EU].toLowerCase()}.`); | ||
this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': 'onfido-node/4.1.0' }) }); | ||
this.baseOptions = Object.assign(Object.assign({ timeout: 30000 }, param.baseOptions), { headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': 'onfido-node/4.2.0' }) }); | ||
this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed) | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "@onfido/api", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Node.js library for the Onfido API", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1500153
38169