@onfido/api
Advanced tools
Comparing version 3.6.0 to 4.0.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/3.6.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.0.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/3.6.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.0.0' }) }); | ||
this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed) | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "@onfido/api", | ||
"version": "3.6.0", | ||
"version": "4.0.0", | ||
"description": "Node.js library for the Onfido API", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors", |
@@ -191,3 +191,3 @@ # Onfido Node.js Library | ||
This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.6.0); therefore all the contributions, except tests files, should target [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository. | ||
This library is automatically generated using [OpenAPI Generator](https://openapi-generator.tech) (version: 7.9.0); therefore all the contributions, except tests files, should target [Onfido OpenAPI specification repository](https://github.com/onfido/onfido-openapi-spec/tree/master) instead of this repository. | ||
@@ -194,0 +194,0 @@ For contributions to the tests instead, please follow the steps below: |
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
1480183
37705