Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 0636d43

Browse files
author
Engineering at Onfido
committed
New client release: 4.0.1
1 parent 0903f7b commit 0636d43

33 files changed

Lines changed: 46 additions & 33 deletions

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Onfido API is used to submit check requests.
66
This package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
77

88
- API version: 2.0.0
9-
- Package version: 4.0.0
9+
- Package version: 4.0.1
1010
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
1111

1212
## Installation
@@ -25,6 +25,19 @@ Alternatively, if you're using Yarn:
2525
yarn add onfido
2626
```
2727

28+
## Frontend JavaScript: warning
29+
30+
You must not use this project in your application's frontend because it uses
31+
API tokens. Instead, you can use the [Onfido Web SDK for frontend
32+
JavaScript](https://github.com/onfido/onfido-sdk-ui).
33+
34+
If you use this project in your frontend, malicious users could discover the
35+
tokens in your source code. You should only use this project in your backend
36+
code.
37+
38+
You can read more about API token security in the [Onfido API reference
39+
documentation](https://documentation.onfido.com/#authentication).
40+
2841
## Getting Started
2942

3043
Please follow the [installation](#installation) instruction and execute the following JS code:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "onfido",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "Client library for the Onfido API.",
55
"license": "MIT",
66
"main": "src/index.js",

src/ApiClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
/**
3434
* @module ApiClient
35-
* @version 4.0.0
35+
* @version 4.0.1
3636
*/
3737

3838
/**

src/api/DefaultApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/**
3434
* Default service.
3535
* @module api/DefaultApi
36-
* @version 4.0.0
36+
* @version 4.0.1
3737
*/
3838

3939
/**

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* </pre>
5454
* </p>
5555
* @module index
56-
* @version 4.0.0
56+
* @version 4.0.1
5757
*/
5858
var exports = {
5959
/**

src/model/Address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* The Address model module.
3737
* @module model/Address
38-
* @version 4.0.0
38+
* @version 4.0.1
3939
*/
4040

4141
/**

src/model/Applicant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* The Applicant model module.
3737
* @module model/Applicant
38-
* @version 4.0.0
38+
* @version 4.0.1
3939
*/
4040

4141
/**

src/model/ApplicantsList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* The ApplicantsList model module.
3737
* @module model/ApplicantsList
38-
* @version 4.0.0
38+
* @version 4.0.1
3939
*/
4040

4141
/**

src/model/Check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* The Check model module.
3737
* @module model/Check
38-
* @version 4.0.0
38+
* @version 4.0.1
3939
*/
4040

4141
/**

src/model/CheckCommon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/**
3636
* The CheckCommon model module.
3737
* @module model/CheckCommon
38-
* @version 4.0.0
38+
* @version 4.0.1
3939
*/
4040

4141
/**

0 commit comments

Comments
 (0)