@faceio/fiojs 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ It’s super quick to get FACEIO Up & Running with just few lines of code. Follo
11
11
  > ## STEP 1 - IMPORT `fio.js` TO YOUR SITE
12
12
 
13
13
  ```js
14
- import faceIO from '@tobechanged/fio.js'
14
+ import faceIO from '@faceio/fiojs'
15
15
 
16
16
  const faceio = new faceIO('app-public-id') // Get the application Public ID at https://console.faceio.net.
17
17
  ```
@@ -23,7 +23,7 @@ const faceio = new faceIO('app-public-id') // Get the application Public ID at h
23
23
  > ## STEP 2 - INVOKE THE WIDGET
24
24
 
25
25
  ```js
26
- import faceIO from '@tobechanged/fio.js'
26
+ import faceIO from '@faceio/fiojs'
27
27
 
28
28
  const faceio = new faceIO('app-public-id'); // Get the application Public ID at https://console.faceio.net.
29
29
 
@@ -99,7 +99,7 @@ The table below lists all fields of the `userInfo` object returned to your web a
99
99
  > ### EXAMPLE
100
100
 
101
101
  ```js
102
- import faceIO from '@tobechanged/fio.js'
102
+ import faceIO from '@faceio/fiojs'
103
103
 
104
104
  const faceio = new faceIO('app-public-id'); // Get the application Public ID at https://console.faceio.net.
105
105
 
@@ -179,7 +179,7 @@ The table below lists all fields of the `userData` object returned to your web a
179
179
  > ### EXAMPLE
180
180
 
181
181
  ```js
182
- import faceIO from '@tobechanged/fio.js'
182
+ import faceIO from '@faceio/fiojs'
183
183
 
184
184
  const faceio = new faceIO('app-public-id'); // Get the application Public ID at https://console.faceio.net.
185
185
 
@@ -257,7 +257,7 @@ The table below lists all possible error codes that are returned from either the
257
257
  > ## REACTJS INTEGRATION BOILERPLATE
258
258
 
259
259
  ```js
260
- import faceIO from '@tobechanged/fio.js'
260
+ import faceIO from '@faceio/fiojs'
261
261
 
262
262
  const faceio = new faceIO('app-public-id');
263
263
 
@@ -304,4 +304,5 @@ async function authenticateUser() {
304
304
  console.log("Payload: " + JSON.stringify(userData.payload)) // {"whoami": 123456, "email": "john.doe@example.com"} from the enroll() example above
305
305
  }
306
306
 
307
- export default App;```
307
+ export default App;
308
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faceio/fiojs",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Facial Authentication for the Web",
5
5
  "main": "index.js",
6
6
  "scripts": {