Skip to content

Commit f53aa05

Browse files
committed
Remove unnecessary whitespace in README.md for improved readability
1 parent a19ecc8 commit f53aa05

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default App;
100100
```
101101

102102
> ## `ENROLL()` - ENROLL NEW USER
103-
103+
104104
> ### SYNTAX
105105
106106
```js
@@ -119,7 +119,7 @@ console.log(userInfo)
119119
> ### PARAMETERS
120120
`enroll()` takes a **single, optional `parameters` object** with the properties to be configured. The table below lists all possible `properties` of the parameters object:
121121

122-
122+
123123

124124
| **Property Name** | **Type** | **Default Value** | **Description** |
125125
|--------------------|-----------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -133,7 +133,7 @@ console.log(userInfo)
133133
| `userConsent` | Boolean | false | **If you have already collected user consent before enrollment** you can **set this parameter** to true. In which case, the Terms of Use consent screen is not displayed for the end user being enrolled. **It is your responsibility to explicitly ask for consent before enrolling a new user**. |
134134
| `showAbortBtn` | Boolean | false | **Set to true if you want the abort button (close modal) to always appear during enrollment.** If the user explicitly aborts the enrollment process by clicking this button, the `fioErrCode.ABORTED_BY_USER` error will be raised. |
135135

136-
136+
137137

138138
> ### RETURN VALUE
139139
@@ -189,7 +189,7 @@ export default App;
189189
```
190190

191191
> ## `AUTHENTICATE()` - IDENTIFY/RECOGNIZE ENROLLED USERS
192-
192+
193193
> ### SYNTAX
194194
195195
```js
@@ -218,7 +218,7 @@ console.log(userInfo)
218218

219219
> ### RETURN VALUE
220220
221-
221+
222222

223223
**A Promise whose fulfillment handler receives a `userData` object when the user has successfully been identified**. On failure, the promise is rejected with one of the possible **error codes**.
224224

@@ -230,9 +230,9 @@ The table below lists all fields of the `userData` object returned to your web a
230230
| `facialId` | *UUID (String)* | **The Universally Unique Identifier assigned to this particular user**. |
231231

232232
> ## `RESTARTSESSION()` - REQUEST NEW USER SESSION
233-
233+
234234
> ### SYNTAX
235-
235+
236236
```js
237237
const boolean = await faceio.restartSession({})
238238
```
@@ -243,7 +243,7 @@ const boolean = await faceio.restartSession({})
243243

244244

245245
> ## ERROR CODES
246-
246+
247247
The table below lists all possible error codes that are returned from either the `enroll()` or the `authenticate()` methods when **their promises are rejected respectively**.
248248

249249
| **Error Code** | **Description** | **Effect on `enroll()` or `authenticate()`** |

0 commit comments

Comments
 (0)